227.1. libaccounts-qt-1.17
Accounts database library for Qt 6 — the Qt interface to libaccounts-glib
1.17-1 · LGPL-2.1-only · 0.4 SBU · 215.7 KiB, 29 files · 43_toolkits, 16 of 344 · ports/core/auth/libaccounts-qt
Homepage: https://gitlab.com/accounts-sso/libaccounts-qt
libaccounts-qt is the Qt binding of libaccounts-glib: Accounts::Manager, Account, Provider, Service and AccountService as Qt classes. It is built against Qt 6 and installs libaccounts-qt6, its headers under /usr/include/accounts-qt6 and the AccountsQt6 CMake package that KDE’s kaccounts-integration finds.
Depends on: pkgconf, qt6-qtbase, glib, libaccounts-glib.
Required by (2): kaccounts-integration, signon-ui.
Sources: libaccounts-qt-1.17.tar.gz (63.9 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 libaccounts-qt'
build.sh:
qmake6 CONFIG+=release QMAKE_CFLAGS_RELEASE="$CFLAGS" QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS" \
QMAKE_LFLAGS_RELEASE="$LDFLAGS" PREFIX=/usr LIBDIR=/usr/lib \
-after "SUBDIRS -= tests" "INSTALLS -= documentation"
make
make INSTALL_ROOT=$PKG install
-after "SUBDIRS -= tests" "INSTALLS -= documentation"— assignments qmake applies after reading the project files. The first drops thetestssubdirectory, whoseaccountstestprogram would otherwise be built and installed into/usr/bin; the second drops the documentation target, which runs doxygen duringmake install.
Libraries: libaccounts-qt6.so.
Directories: /usr/include/accounts-qt6, /usr/lib/cmake/AccountsQt6, /usr/share/licenses/libaccounts-qt.
The library name, the pkg-config file and the CMake package all carry QT_MAJOR_VERSION, so the release builds for Qt 6 under qmake6 with no patch.