gnu: Add qtlocation.
authorEfraim Flashner <efraim@flashner.co.il>
Fri, 10 Jun 2016 04:49:43 +0000 (07:49 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 15 Jun 2016 08:11:56 +0000 (11:11 +0300)
* gnu/packages/qt.scm (qtlocation): New variable.

gnu/packages/qt.scm

index 706307d..7f169c0 100644 (file)
@@ -692,6 +692,26 @@ developers using C++ or QML, a CSS & JavaScript like language.")
        ("qtwebsockets" ,qtwebsockets)))
     (inputs `(("qtbase" ,qtbase)))))
 
+(define-public qtlocation
+  (package (inherit qtsvg)
+    (name "qtlocation")
+    (version "5.6.1")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://download.qt.io/official_releases/qt/"
+                                 (version-major+minor version) "/" version
+                                 "/submodules/" name "-opensource-src-"
+                                 version ".tar.xz"))
+             (sha256
+              (base32
+               "0qahs7a2n3l4h0bl8bnwci9mzy1vra3zncnzr40csic9ys67ddfk"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("qtdeclarative" ,qtdeclarative)
+       ;("qtquickcontrols" ,qtquickcontrols)
+       ("qtserialport" ,qtserialport)))
+    (inputs `(("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")