guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/465: gnu: Add qtkeychain-qt6.


From: guix-commits
Subject: 02/465: gnu: Add qtkeychain-qt6.
Date: Wed, 17 Jul 2024 23:01:10 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit 250f32e761e5eb4de4ac59b3562325d23dbbdc89
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri Jul 5 23:06:17 2024 +0800

    gnu: Add qtkeychain-qt6.
    
    * gnu/packages/qt.scm (qtkeychain-qt6): New variable.
    
    Change-Id: I58ca736fbde8c24fabda88950b756c14e22bb1a5
---
 gnu/packages/qt.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]