guix-devel
[Top][All Lists]
Advanced

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

[PATCH 1/2] gnu: Add wlc.


From: Tomáš Čech
Subject: [PATCH 1/2] gnu: Add wlc.
Date: Thu, 25 Aug 2016 21:10:44 +0200

* gnu/packages/freedesktop.scm(wlc): New variable.
* gnu/packages/patches/wlc-implement-wlc_view_get_pid.patch: Add it
* gnu/local.mk: Add entry for patch above.
---
 gnu/packages/freedesktop.scm | 41 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 67f1e1a..07a6e0b 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -27,10 +27,14 @@
   #: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 python)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages pth)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages autotools)
@@ -51,7 +55,8 @@
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages polkit)
-  #:use-module (gnu packages databases))
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages xdisorg))
 
 (define-public xdg-utils
   (package
@@ -647,3 +652,37 @@ different sorts of messages in different formats.")
 useful for both applications which need colour management and applications that
 wish to perform colour calibration.")
     (license license:lgpl2.1+)))
+
+(define-public wlc
+  (package
+    (name "wlc")
+    (version "0.0.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/Cloudef/"; name "/releases/download/v"
+                    version "/" name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "0dmiklis820qzin74f16bmbz1jkjy93r5mix8cqbcqpb9f7qxahp"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libinput" ,libinput)
+       ("libx11" ,libx11)
+       ("libxkbcommon" ,libxkbcommon)
+       ("mesa" ,mesa)
+       ("pixman" ,pixman)
+       ("pth" ,pth)
+       ("wayland" ,wayland)
+       ("xcb-util-image" ,xcb-util-image)
+       ("xcb-util-wm" ,xcb-util-wm)
+       ("xproto" ,xproto)
+       ("zlib" ,zlib)))
+    (synopsis "Wayland Compositor Library")
+    (home-page "https://github.com/Cloudef/wlc";)
+    (description
+     "This is wayland compositor library used by several projects like sway,
+orbment or Guile-WM.")
+    (license license:x11)))
-- 
2.9.2




reply via email to

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