guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/45: gnu: Add kwayland-server.


From: guix-commits
Subject: 05/45: gnu: Add kwayland-server.
Date: Sun, 31 Jan 2021 10:27:19 -0500 (EST)

htgoebel pushed a commit to branch wip-kde-plasma
in repository guix.

commit 3ce6ca6a35dd7fa5b197d660fc4bfa621ac6071d
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sat Oct 24 19:50:39 2020 +0200

    gnu: Add kwayland-server.
    
    * gnu/packages/kde-plasma.scm (kwayland-server): New variable.
---
 gnu/packages/kde-plasma.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index f1250bc..ea3e864 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -295,6 +295,47 @@ NetBSD, OpenBSD, Solaris and Tru64 with varying degrees of 
completion.")
 Wayland")
     (license license:lgpl3+))) ; KDE e.V.
 
+(define-public kwayland-server
+  (package
+    (name "kwayland-server")
+    (version "5.19.5")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://kde/stable/plasma/" version
+                          "/kwayland-server-" version ".tar.xz"))
+      (sha256
+       (base32 "06jlr24f3vhla8rjyygd7r51byksfv46apnh3bylslgxd2grrzah"))))
+    (build-system qt-build-system)
+    (arguments
+     `(#:tests? #f  ;; TODO: seem to require a running wayland server
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'workaround-https://bugs.kde.org/428295
+           (lambda _
+             (mkdir-p (string-append %output "/include/KF5")))))))
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)
+       ("qtwayland" ,qtwayland)
+       ("wayland" ,wayland))) ;; required for the tests
+    (inputs
+     `(("kwayland" ,kwayland)
+       ("kwindowsystem" ,kwindowsystem)
+       ("plasma-wayland-protocols" ,plasma-wayland-protocols)
+       ("qtbase" ,qtbase)
+       ("wayland-protocols" ,wayland-protocols)))
+    (home-page "https://invent.kde.org/plasma/kwayland-server";)
+    (synopsis "Wayland Server Components built on KDE Frameworks")
+    (description "This package provides two libraries: KWayland::Client and
+KWaylandServer.  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, e.g.  two arguments
+of int are represented by a QPoint or a QSize.")
+    (license license:lgpl2.1))) ; KDE e.V.
+
 (define-public libkscreen
   (package
     (name "libkscreen")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]