guix-commits
[Top][All Lists]
Advanced

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

175/347: gnu: Add grantlee-qt6.


From: guix-commits
Subject: 175/347: gnu: Add grantlee-qt6.
Date: Fri, 28 Jun 2024 09:58:54 -0400 (EDT)

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

commit 7814094867a683bd74edfd1612bb847e5e245bc4
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue May 7 15:54:24 2024 +0800

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

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index ef2aff29a9..9ba7e281e9 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

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