Patchwork [25/31] gnu: kde-frameworks: Add kwayland.

login
register
mail settings
Submitter David Craven
Date Aug. 1, 2016, 6:13 p.m.
Message ID <20160801181342.16203-26-david@craven.ch>
Download mbox | patch
Permalink /patch/14203/
State New
Headers show

Comments

David Craven - Aug. 1, 2016, 6:13 p.m.
From: Hartmut Goebel <h.goebel@crazy-compilers.com>

* gnu/packages/kde-frameworks.scm (kwayland): New variable.

Co-authored-by: David Craven <david@craven.ch>
---
 gnu/packages/kde-frameworks.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Patch

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index ef1ebe2..2666232 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -612,6 +612,38 @@  data being plotted.  KPlotWidget automatically converts everything to screen
 pixel units.")
     (license license:lgpl3+)))
 
+(define-public kwayland
+  (package
+    (name "kwayland")
+    (version "5.24.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://kde/stable/frameworks/"
+                            (version-major+minor version) "/"
+                            name "-" version ".tar.xz"))
+        (sha256
+         (base32
+          "1h5anbqrxcl1s8kx1l53vcsfr8ifamcjqd47dk8a7lwr1ga6myq2"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("wayland" ,wayland)))
+    (arguments
+     `(#:tests? #f)) ; FIXME: tests freeze.
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "Qt-style API to interact with the wayland client and server")
+    (description "As the names suggest they implement a Client respectively a
+Server API for the Wayland protocol.  The API is Qt-styled removing the needs to
+interact with a for a Qt developer uncomfortable low-level C-API.  For example
+the callback mechanism from the Wayland API is replaced by signals, data types
+are adjusted to be what a Qt developer expects - two arguments of int are
+represented by a QPoint or a QSize.")
+    (license license:lgpl2.1+)))
+
 (define-public kwindowsystem
 ;;; TODO qtx11extras isn't found
   (package