From f412e14ddb7d0f3b2a1052ab2e597cfe54bd5c16 Mon Sep 17 00:00:00 2001 From: The Man Date: Sun, 22 Sep 2024 15:07:07 +0100 Subject: gnu: Add libliftoff. * gnu/packages/freedesktop.scm (libliftoff): New variable. Change-Id: I19eda24aea4327bcd72a7e15ec0784ef1e302783 Reviewed-by: Steve George Signed-off-by: Andreas Enge --- gnu/packages/freedesktop.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 664adf0cb2..9cc6c8171b 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -356,6 +356,30 @@ tests.") (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") -- cgit v1.2.3