Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

316.3. kio-gdrive-26.08.2

gdrive:/ KIO worker for Google Drive, with a share plugin and file properties page

26.08.2-1 · GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-3.0-or-later AND LGPL-2.1-or-later AND CC0-1.0 · 0.5 SBU · 573.3 KiB, 16 files · 44_apps, 261 of 422 · ports/core/kde/kio-gdrive

Homepage: https://invent.kde.org/network/kio-gdrive

kio-gdrive is the gdrive:/ KIO worker. Dolphin and every other KIO program browse, open, upload to and delete from a Google Drive account through it. It also installs a Purpose share plugin that uploads a file to Drive, a context menu action that copies a file’s Drive link, and a file properties page with Drive’s own metadata.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, kdoctools, ki18n, kio, libkgapi, purpose, qtkeychain.

Required by (1): kde-gear-core.

Sources: kio-gdrive-26.08.2.tar.xz (83.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kio-gdrive'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_KAccounts6=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Purpose=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Directories: /usr/share/doc/HTML/en/kioworker6/gdrive, /usr/share/licenses/kio-gdrive, /usr/share/purpose.

The Drive API calls go through libkgapi, a requirement of the configure. This is a network service: nothing reaches Google until the user opens gdrive:/ and signs in.

kdoctools_install(po) still builds the handbook in every translated language; kpkg’s language rule removes /usr/share/doc/HTML/<lang>/ from the package.