diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-02-23 17:55:41 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-23 18:03:52 +0100 |
| commit | 502c83b8242f71672df7d21adbbda45460b54ba2 (patch) | |
| tree | 6e2cb7b8172669a26634b022d0d451f900375c15 /gnu | |
| parent | d0f3ea5a9919de30e00b56052d082da74f442395 (diff) | |
gnu: signond-qt6: Disinherit from signond.
* gnu/packages/qt.scm (signond-qt6)[inherit]: Remove field.
[build-system, inputs, home-page, synopsis, description, license]: Copy
from signond.
[native-inputs, arguments]: Copy from signond and incorporate changes.
Change-Id: If8851f7c9860a29b7bfc3cb51530b371943a58d7
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/qt.scm | 44 |
1 files changed, 38 insertions, 6 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index aac822be157..4deb8c8128c 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -6442,7 +6442,6 @@ authentication on behalf of its clients.") (let ((commit "c8ad98249af541514ff7a81634d3295e712f1a39") (revision "0")) (package - (inherit signond) (name "signond-qt6") (version (git-version "8.61" revision commit)) (source (origin @@ -6454,12 +6453,45 @@ authentication on behalf of its clients.") (sha256 (base32 "13cgdf6hhi2z3c8sax79dwi7450n8h228kpyl2w5lx0xglb2savq")))) - (native-inputs (modify-inputs (package-native-inputs signond) - (replace "qttools" qttools))) + (build-system qt-build-system) + (native-inputs (list doxygen pkg-config qttools)) + (inputs (list dbus glib libaccounts-glib)) (arguments - (substitute-keyword-arguments (package-arguments signond) - ((#:qtbase _ #f) - qtbase)))))) + (list #:qtbase qtbase + #:tests? #f ; Figure out how to run tests + #:modules '((guix build qt-build-system) + ((guix build gnu-build-system) #:prefix gnu:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "src/signond/signond.pro" + (("/etc/") + (string-append #$output "/etc/"))) + (substitute* + '("tests/extensions/extensions.pri" + "tests/signond-tests/mock-ac-plugin/plugin.pro" + "tests/signond-tests/identity-tool.pro" + "tests/signond-tests/mock-ac-plugin/identity-ac-helper.pro" + "tests/libsignon-qt-tests/libsignon-qt-tests.pro" + "tests/signond-tests/signond-tests.pri") + (("QMAKE_RPATHDIR = \\$\\$\\{QMAKE_LIBDIR\\}") + (string-append "QMAKE_RPATHDIR = " + #$output "/lib:" + #$output "/lib/signon"))) + (invoke "qmake" + (string-append "PREFIX=" #$output) + (string-append "LIBDIR=" #$output "/lib") + (string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," + #$output "/lib -Wl,-rpath,")))) + (replace 'build (assoc-ref gnu:%standard-phases 'build)) + (replace 'install (assoc-ref gnu:%standard-phases 'install))))) + (home-page "https://accounts-sso.gitlab.io/signond/index.html") + (synopsis "Perform user authentication over D-Bus") + (description "This package provides a D-Bus service which performs user +authentication on behalf of its clients.") + (license license:lgpl2.1+)))) (define-public clazy (package |
