guix-commits
[Top][All Lists]
Advanced

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

449/465: gnu: Add qtlocation.


From: guix-commits
Subject: 449/465: gnu: Add qtlocation.
Date: Tue, 16 Jul 2024 11:03:58 -0400 (EDT)

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

commit 31876540a2489f5ea3688249d398d9253443db57
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 9853a7470d..8a1e2278a4 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2314,6 +2314,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]