summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-06-08 20:21:16 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-06-15 11:11:56 +0300
commitbc8ede015021e5dcffd55e2eb6c6a6299d87e997 (patch)
tree4c32e3e2040071bbf5fe06e17796778bd99707aa
parent15378f93b995ed9457ac85825846568d3222ab82 (diff)
downloadguix-bc8ede015021e5dcffd55e2eb6c6a6299d87e997.tar.gz
gnu: Add qtwayland.
* gnu/packages/qt.scm (qtwayland): New variable.
-rw-r--r--gnu/packages/qt.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 70e6f71fe5..8b84730569 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -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")