diff mbox

[05/14] gnu: Add qtdeclarative.

Message ID 20160610121025.6632-6-efraim@flashner.co.il
State New
Headers show

Commit Message

Efraim Flashner June 10, 2016, 12:10 p.m. UTC
* gnu/packages/qt.scm (qtdeclarative): New variable.
---
 gnu/packages/qt.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 4ff5562..3f10c68 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -516,6 +516,24 @@  developers using C++ or QML, a CSS & JavaScript like language.")
                   (install-file "bin/xmlpatterns" bin)
                   (install-file "bin/xmlpatternsvalidator" bin))))))))))
 
+(define-public qtdeclarative
+  (package (inherit qtsvg)
+    (name "qtdeclarative")
+    (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
+               "1d2217kxk85kpi7ls08b41hqzy26hvch8m4cgzq6km5sqi5zvz0j"))))
+    (inputs
+     `(("qtsvg" ,qtsvg)
+       ("qtxmlpatterns" ,qtxmlpatterns)
+       ,@(package-inputs qtsvg)))))
+
 (define-public qjson
   (package
     (name "qjson")