gnu: libaccounts-qt6: Disinherit from libaccounts-qt.

* gnu/packages/qt.scm (libaccounts-qt6): Copy fields from libaccounts-qt
instead of inheriting.

Change-Id: Ia22b9ec8c231233ddfb0554e6c664005d0f773de
This commit is contained in:
Andreas Enge 2026-01-23 15:05:23 +01:00
parent e9f0424879
commit 620e9d349b
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -6212,14 +6212,44 @@ credentials and service-specific settings.")
(define-public libaccounts-qt6 (define-public libaccounts-qt6
(package (package
(inherit libaccounts-qt)
(name "libaccounts-qt6") (name "libaccounts-qt6")
(native-inputs (modify-inputs (package-native-inputs libaccounts-qt) (version "1.17")
(replace "qtbase" qtbase) (source (origin
(replace "qttools" qttools))) (method git-fetch)
(inputs (modify-inputs (package-inputs libaccounts-qt) (uri (git-reference
(replace "signond" signond-qt6))) (url "https://gitlab.com/accounts-sso/libaccounts-qt")
(synopsis "Qt6 bindings for libaccounts-glib"))) (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 (define-public libsignon-glib
(package (package