From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 20/26] gnu: kde-frameworks: Add kwayland. Date: Mon, 8 Aug 2016 13:54:18 +0200 Message-ID: <20160808115424.13372-21-david@craven.ch> References: <20160808115424.13372-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWj9M-00011y-EA for guix-devel@gnu.org; Mon, 08 Aug 2016 07:55:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWj9L-0002yG-AD for guix-devel@gnu.org; Mon, 08 Aug 2016 07:55:20 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:46800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWj9K-0002ii-27 for guix-devel@gnu.org; Mon, 08 Aug 2016 07:55:19 -0400 In-Reply-To: <20160808115424.13372-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Craven * gnu/packages/kde-frameworks.scm (kwayland): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 5975df5..ef285ba 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -694,6 +694,44 @@ data being plotted. KPlotWidget automatically converts everything to screen pixel units.") (license license:lgpl2.1+))) +(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 require weston to run + ; weston requires wayland flags in mesa + #:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "XDG_RUNTIME_DIR" "/tmp")))))) + (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 (package (name "kwindowsystem") -- 2.9.0