gnu: Add qtwayland.
authorEfraim Flashner <efraim@flashner.co.il>
Wed, 8 Jun 2016 17:21:16 +0000 (20:21 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 15 Jun 2016 08:11:56 +0000 (11:11 +0300)
* gnu/packages/qt.scm (qtwayland): New variable.

gnu/packages/qt.scm

index 70e6f71..8b84730 100644 (file)
@@ -35,6 +35,7 @@
   #:use-module (gnu packages databases)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnuzilla)
@@ -625,6 +626,37 @@ developers using C++ or QML, a CSS & JavaScript like language.")
        ("pulseaudio" ,pulseaudio)
        ("qtbase" ,qtbase)))))
 
+(define-public qtwayland
+  (package (inherit qtsvg)
+    (name "qtwayland")
+    (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
+               "1jgghjfrg0wwyfzfwgwhagwxz9k936ylv3w2l9bwlpql8rgm8d11"))))
+    (native-inputs
+     `(("glib" ,glib)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)
+       ("qtdeclarative" ,qtdeclarative)))
+    (inputs
+     `(("fontconfig" ,fontconfig)
+       ("freetype" ,freetype)
+       ("libx11" ,libx11)
+       ("libxcomposite" ,libxcomposite)
+       ("libxext" ,libxext)
+       ("libxkbcommon" ,libxkbcommon)
+       ("libxrender" ,libxrender)
+       ("mesa" ,mesa)
+       ("mtdev" ,mtdev)
+       ("qtbase" ,qtbase)
+       ("wayland" ,wayland)))))
+
 (define-public qjson
   (package
     (name "qjson")