79.12. libaccounts-glib-1.27.git20250603
Accounts database library for GLib — accounts, providers and services that applications share
1.27.git20250603-1 · LGPL-2.1-only · 0.1 SBU · 532.9 KiB, 37 files · 41_system, 186 of 1047 · ports/core/auth/libaccounts-glib
Homepage: https://gitlab.com/accounts-sso/libaccounts-glib
libaccounts-glib is the accounts database of the accounts-sso framework: a per-user SQLite store of online accounts, and the XML files under /usr/share/accounts that describe each provider, service, service type and application. It ships the ag-tool and ag-backup commands, the GObject introspection data and the Vala bindings. libaccounts-qt wraps it for Qt, and KDE’s kaccounts stack is built on both.
Depends on: meson, ninja, pkgconf, glib, libxml2, sqlite, gobject-introspection, glib-introspection, vala.
Required by (1): libaccounts-qt.
Sources: libaccounts-glib-1.27.git20250603.tar.gz (115.3 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libaccounts-glib'
build.sh:
meson setup build \
--prefix=/usr --libdir=lib \
--buildtype=release \
-Dtests=false \
-Ddocs=false \
-Dintrospection=true
meson compile -C build
DESTDIR=$PKG meson install -C build
-Dtests=false— no test suite, which requires thecheckunit-test library; it is not a port.-Ddocs=false— no gtk-doc API reference.-Dintrospection=true— theAccounts-1.0GIR and typelib, through gobject-introspection and the GLib GIRs of glib-introspection, and thelibaccounts-glibVala API throughvapigenfrom vala. Upstream’s default, named.
Programs: ag-backup, ag-tool.
Libraries: libaccounts-glib.so.
Directories: /usr/include/libaccounts-glib, /usr/share/licenses/libaccounts-glib, /usr/share/xml/accounts.
The source is a commit snapshot of upstream’s master, the commit that added the introspection, docs and tests options. No release carries them: 1.27 builds its test suite unconditionally, so its configure requires the check library. The version is 1.27 and the commit’s date.
The database lives in $XDG_CONFIG_HOME/libaccounts-glib/accounts.db; nothing is installed for it. The com.google.code.AccountsSSO.Accounts.Manager D-Bus interface file goes to /usr/share/dbus-1/interfaces for consumers that generate code from it; the library does not own a bus name.