diff mbox series

[bug#73311,v2,1/1] gnu: Add libliftoff.

Message ID fa3cbf5056cf9580ef2e2d8aaf711c1e27115aef.1727012997.git.steve@futurile.net
State New
Headers show
Series Add libliftoff | expand

Commit Message

Steve George Sept. 22, 2024, 2:07 p.m. UTC
From: The Man <squishypinkelephant@gmail.com>

* gnu/packages/freedesktop.scm (libliftoff): New variable.

Reviewed-by: Steve George <steve@futurile.net>

Change-Id: I19eda24aea4327bcd72a7e15ec0784ef1e302783
---
 gnu/packages/freedesktop.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 993bb84ec6..2a78895a20 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -354,6 +354,30 @@  (define-public libglib-testing
     (home-page "https://gitlab.gnome.org/pwithnall/libglib-testing")
     (license license:lgpl2.1+)))
 
+(define-public libliftoff
+  (package
+    (name "libliftoff")
+    (version "0.5.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.freedesktop.org/emersion/libliftoff")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "163g8ndsbma7acy2k9mrnvlpb7yi4431hgkx1gygkafgwpq1ii1x"))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config))
+    (inputs (list libdrm))
+    (home-page "https://gitlab.freedesktop.org/emersion/libliftoff")
+    (synopsis "Lightweight KMS plane library for compositors")
+    (description "Libliftoff eases the use of
+@acronym{KMS, Kernel Mode Setting} planes from userspace.  Users create
+\"virtual planes\" called layers, set KMS properties on them, and libliftoff
+will pick hardware planes for these layers if possible.")
+    (license license:expat)))
+
 (define-public malcontent
   (package
     (name "malcontent")