From 1f2e06014890e7ac94558f0595f2b699711cdde2 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 10 Mar 2019 21:53:00 +0100 Subject: gnu: Add waylandpp. * gnu/packages/freedesktop.scm (waylandpp): New public variable. --- gnu/packages/freedesktop.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index d90e75352e..4750450f68 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2016, 2017 Efraim Flashner ;;; Copyright © 2016 Kei Kebreau ;;; Copyright © 2017, 2018 Mark H Weaver -;;; Copyright © 2017, 2018 Marius Bakke +;;; Copyright © 2017, 2018, 2019 Marius Bakke ;;; Copyright © 2017, 2018 Rutger Helling ;;; Copyright © 2017 Brendan Tildesley ;;; Copyright © 2018 Tobias Geerinckx-Rice @@ -36,6 +36,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) @@ -452,6 +453,33 @@ applications, X servers (rootless or fullscreen) or other display servers.") (home-page "https://wayland.freedesktop.org") (license license:expat))) +(define-public waylandpp + (package + (name "waylandpp") + (version "0.2.5") + (home-page "https://github.com/NilsBrause/waylandpp") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (sha256 + (base32 + "16h57hzd688664qcyznzhjp3hxipdkzgv46x82yhkww24av8b55n")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;no tests + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("mesa" ,mesa) + ("pugixml" ,pugixml))) + (propagated-inputs + `(;; In Requires of the .pc files. + ("wayland" ,wayland))) + (synopsis "Wayland C++ bindings") + (description + "This package provides C++ bindings for the Wayland display protocol.") + (license license:bsd-2))) + (define-public weston (package (name "weston") -- cgit 1.4.1