guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: Add qtlocation.


From: guix-commits
Subject: 04/05: gnu: Add qtlocation.
Date: Wed, 10 Jul 2024 11:50:35 -0400 (EDT)

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

commit f3f6e7247e73614d1a1e88ce86aad43dd84a479b
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Jul 10 23:32:09 2024 +0800

    gnu: Add qtlocation.
    
    * gnu/packages/qt.scm (qtlocation): New variable.
    
    Change-Id: I270399ee01718c5ea3e76a81ecdd81d14bc608fc
---
 gnu/packages/qt.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 3fcb4ff6b7..842f0a5d90 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2312,6 +2312,32 @@ Server Protocol (LSP) for Qt.")
     (description "The Qt Location module provides an interface for location,
 positioning and geolocation plugins.")))
 
+(define-public qtlocation
+  (package
+    (inherit qtsvg)
+    (name "qtlocation")
+    (version "6.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (qt-url name version))
+              (sha256
+               (base32
+                "1l81z3zq1zg015l6qxx4yzssdspw689m9bpzxp23yshaych2kd6p"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments qtsvg)
+       ((#:tests? _ #f) #f)             ; TODO: Enable the tests
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (add-before 'check 'pre-check
+              (lambda _
+                (setenv "HOME" "/tmp")))))))
+    (native-inputs (list perl))
+    (inputs (list icu4c openssl qtbase zlib qtdeclarative qtpositioning
+                  libxkbcommon))
+    (synopsis "Qt Location and Positioning modules")
+    (description "The Qt Location module provides an interface for location,
+positioning and geolocation plugins.")))
+
 (define-public qtlottie
   (package
     (name "qtlottie")



reply via email to

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