diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-01-23 15:05:23 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:30:41 +0100 |
| commit | 14a04f0d782244e2e91540447695236d30fa5589 (patch) | |
| tree | 3c5f6b10ecfa03864312ad0d44330a9e950afe4a /gnu | |
| parent | 02d6246c3d5317fef35c337f1a816d2a4de7eef9 (diff) | |
gnu: libaccounts-qt6: Disinherit from libaccounts-qt.
* gnu/packages/qt.scm (libaccounts-qt6): Copy fields from libaccounts-qt
instead of inheriting.
Change-Id: Ia22b9ec8c231233ddfb0554e6c664005d0f773de
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/qt.scm | 44 |
1 files changed, 37 insertions, 7 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 40b8bc5fa2f..ae79a0eee94 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -6212,14 +6212,44 @@ credentials and service-specific settings.") (define-public libaccounts-qt6 (package - (inherit libaccounts-qt) (name "libaccounts-qt6") - (native-inputs (modify-inputs (package-native-inputs libaccounts-qt) - (replace "qtbase" qtbase) - (replace "qttools" qttools))) - (inputs (modify-inputs (package-inputs libaccounts-qt) - (replace "signond" signond-qt6))) - (synopsis "Qt6 bindings for libaccounts-glib"))) + (version "1.17") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/accounts-sso/libaccounts-qt") + (commit (string-append "VERSION_" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0859nsksgfrj6ynj74awj1fr6slwcjavs989xc7mbgpvi87n1xlq")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;TODO + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "tests/tst_libaccounts.pro" + (("QMAKE_RPATHDIR = \\$\\$\\{QMAKE_LIBDIR\\}") + (string-append "QMAKE_RPATHDIR =" + #$output "/lib"))) + (invoke "qmake" + (string-append "PREFIX=" #$output) + (string-append "LIBDIR=" #$output "/lib"))))))) + ;; * SignOnQt5 (required version >= 8.55), D-Bus service which performs + ;; user authentication on behalf of its clients, + ;; <https://gitlab.com/accounts-sso/signond> + (native-inputs (list doxygen pkg-config qtbase qttools)) + (inputs (list glib signond-qt6 libaccounts-glib)) + (home-page "https://accounts-sso.gitlab.io/") + (synopsis "Qt6 bindings for libaccounts-glib") + (description + "Accounts SSO is a framework for application developers who +wish to acquire, use and store web account details and credentials. It +handles the authentication process of an account and securely stores the +credentials and service-specific settings.") + (license license:lgpl2.1+))) (define-public libsignon-glib (package |
