guix-commits
[Top][All Lists]
Advanced

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

175/178: gnu: Add grantlee-qt6.


From: guix-commits
Subject: 175/178: gnu: Add grantlee-qt6.
Date: Mon, 17 Jun 2024 12:13:58 -0400 (EDT)

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

commit 7e97b9e2443759632e6e1f4e33bd85fbadb0d049
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 0b06e54f75..887b12594f 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]