summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-06-06 21:50:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-06-15 11:11:56 +0300
commit15378f93b995ed9457ac85825846568d3222ab82 (patch)
tree6ac33cc1610b38813538fa4911d3a510730ccc08
parent3474767cbd46102e3398a421e63223eace009a67 (diff)
downloadguix-15378f93b995ed9457ac85825846568d3222ab82.tar.gz
gnu: Add qtmultimedia.
* gnu/packages/qt.scm (qtmultimedia): New variable.
-rw-r--r--gnu/packages/qt.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 81334a3f78..70e6f71fe5 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -601,6 +601,30 @@ developers using C++ or QML, a CSS & JavaScript like language.")
        ("qtdeclarative" ,qtdeclarative)))
     (inputs `(("qtbase" ,qtbase)))))
 
+(define-public qtmultimedia
+  (package (inherit qtsvg)
+    (name "qtmultimedia")
+    (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
+               "058523c2qra3d8fq46ygcndnkrbwlh316zy28s2cr5pjr5gmnjyj"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python-2)
+       ("qtdeclarative" ,qtdeclarative)))
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("mesa" ,mesa)
+       ("pulseaudio" ,pulseaudio)
+       ("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")