guix-devel
[Top][All Lists]
Advanced

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

[PATCH 2/3] gnu: Add wlc.


From: contact . ng0
Subject: [PATCH 2/3] gnu: Add wlc.
Date: Tue, 31 Jan 2017 20:07:14 +0000

From: ng0 <address@hidden>

* gnu/packages/wm.scm (wlc): New variable.
---
 gnu/packages/wm.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index aec1ed139..8d3c1ca6b 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -40,9 +40,11 @@
   #:use-module (guix build-system python)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages haskell)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages base)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pth)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xdisorg)
@@ -665,3 +667,54 @@ all of them.  Currently supported window managers include:
       (description
        "Collection of C utilities")
       (license license:zlib))))
+
+(define-public wlc
+  (package
+    (name "wlc")
+    (version "0.0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/Cloudef/wlc/archive/v";
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1b7pz2jcff49bbw5iw38hnhdqsaazx665qjgqhnprxw8b9w4mgf5"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags (list "-DCMAKE_BUILD_TYPE=Upstream"
+                               "-DWLC_BUILD_EXAMPLES=OFF"
+                               "-DWLC_BUILD_TESTS=OFF")))
+    (inputs
+     `(("pixman" ,pixman)
+       ("wayland" ,wayland)
+       ("libxkbcommon" ,libxkbcommon)
+       ("eudev" ,eudev)
+       ("libdrm" ,libdrm)
+       ("libinput" ,libinput)
+       ("libx11" ,libx11) ; x11-xcb, xfixes
+       ("libxcb" ,libxcb)
+       ("libxkbcommon" ,libxkbcommon)
+       ("xkeyboard-config" ,xkeyboard-config)
+       ("libxfixes" ,libxfixes)
+       ("pth" ,pth)
+       ("libxcomposite" ,libxcomposite)
+       ("mesa" ,mesa) ; libgbm, libegl, libglesv2
+       ("dbus" ,dbus)
+       ("xcb-util-image" ,xcb-util-image)
+       ("xcb-util-wm" ,xcb-util-wm)
+       ("xproxo" ,xproto)
+       ("xorg-server-xwayland" ,xorg-server-xwayland)
+       ("zlib" ,zlib)
+       ("elogind" ,elogind)
+       ("chck" ,chck)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("wayland-protocols" ,wayland-protocols)))
+    (home-page "https://github.com/Cloudef/wlc";)
+    (synopsis "Helper library for Wayland compositors")
+    (description
+     "Wlc is a Wayland compositor library.")
+    (license (list license:expat
+                   license:zlib))))
-- 
2.11.0




reply via email to

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