aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-05 23:06:17 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:44:57 +0800
commit250f32e761e5eb4de4ac59b3562325d23dbbdc89 (patch)
treef2fe9e18d37cc6c6881dfc423511fefa8dda2258
parent9dfa552d5eba9a0d9f716a0bbb1cf002fb0d4b7d (diff)
downloadguix-250f32e761e5eb4de4ac59b3562325d23dbbdc89.tar.gz
guix-250f32e761e5eb4de4ac59b3562325d23dbbdc89.zip
gnu: Add qtkeychain-qt6.
* gnu/packages/qt.scm (qtkeychain-qt6): New variable. Change-Id: I58ca736fbde8c24fabda88950b756c14e22bb1a5
-rw-r--r--gnu/packages/qt.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 1074c29063..450245cc6d 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -4350,6 +4350,29 @@ This package provides the Python bindings.")))
securely. It will not store any data unencrypted unless explicitly requested.")
(license license:bsd-3)))
+(define-public qtkeychain-qt6
+ (package
+ (inherit qtkeychain)
+ (name "qtkeychain-qt6")
+ (native-inputs
+ (modify-inputs (package-native-inputs qtkeychain)
+ (replace "qttools" qttools)))
+ (inputs
+ (modify-inputs (package-inputs qtkeychain)
+ (replace "qtbase" qtbase)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments qtkeychain)
+ ((#:configure-flags flags #~(list))
+ #~(cons "-DBUILD_WITH_QT6=ON" #$flags))
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'set-qt-trans-dir
+ (lambda _
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("\\$\\{qt_translations_dir\\}")
+ "${CMAKE_INSTALL_PREFIX}/share/qt6/translations")))))))))))
+
(define-public qtsolutions
(let ((commit "9568abd142d581b67b86a5f63d823a34b0612702")
(revision "53"))