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

227.7. kaccounts-providers-26.08.2

Online account providers for KAccounts — Google, ownCloud and Nextcloud

26.08.2-1 · GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND CC0-1.0 · 0.4 SBU · 310.2 KiB, 26 files · 43_toolkits, 71 of 344 · ports/core/auth/kaccounts-providers

Homepage: https://invent.kde.org/network/kaccounts-providers

kaccounts-providers holds the provider and service definitions, and the setup pages, that KAccounts offers in System Settings → Online Accounts: Google, ownCloud and Nextcloud. A provider describes how to sign in to an account; a service names what a program may use it for, such as storage or contacts.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtwebengine, ki18n, kio, kpackage, kaccounts-integration, qcoro, signon-plugin-oauth2, signon-ui.

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

Sources: kaccounts-providers-26.08.2.tar.xz (68.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kaccounts-providers'

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_REQUIRE_FIND_PACKAGE_Qt6WebEngineQuick=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Directories: /etc/signon-ui, /usr/lib/qt6/plugins/kaccounts/ui, /usr/share/accounts, /usr/share/kpackage, /usr/share/licenses/kaccounts-providers.

The definitions are written with kaccounts_add_provider() and kaccounts_add_service() from kaccounts-integration, a requirement, which install them where libaccounts-glib reads them. qcoro is required for the Nextcloud page’s asynchronous calls.

Signing in to Google goes through signond’s OAuth 2 plugin, signon-plugin-oauth2, and signond shows the provider’s web page through signon-ui; both are in depends for run time, since without either a Google account cannot be added. The webkit-options.d files the package installs under /etc/signon-ui are signon-ui’s per-site settings.