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

commit 4edf6c4b31f723eda9e7e07a067b752790d073cd
Author: Zheng Junjie <zhengjun...@iscas.ac.cn>
AuthorDate: Fri Jul 5 23:15:15 2024 +0800

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

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 2faa8f22a5..b92b8d1ff3 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -432,6 +432,18 @@ other text such as code.  The syntax uses the syntax of 
the Django template
 system, and the core design of Django is reused in Grantlee.")
     (license license:lgpl2.1+)))
 
+(define-public grantlee-qt6
+  (package
+    (inherit grantlee)
+    (name "grantlee-qt6")
+    (inputs (modify-inputs (package-inputs grantlee)
+              (replace "qtbase" qtbase)
+              (replace "qtdeclarative" qtdeclarative)
+              (delete "qtscript")))
+    (arguments (substitute-keyword-arguments (package-arguments grantlee)
+                 ((#:configure-flags flags #~'())
+                  #~(cons* "-DGRANTLEE_BUILD_WITH_QT6=ON" #$flags))))))
+
 (define (qt-url component version)
   "Return a mirror URL for the Qt5 COMPONENT at VERSION."
   ;; We can't use a mirror:// scheme because these URLs are not exact copies:

Reply via email to