From ed3b58ab849803bcd7a6274a773e4b003c806053 Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 21 Apr 2024 16:29:29 +0800 Subject: gnu: Add libliftoff. * gnu/packages/freedesktop.scm (libliftoff): New variable. Change-Id: Ia66bb09db6b09c63fbc6223f58d6a0ebf6f4c546 --- gnu/packages/freedesktop.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 339297c087..d0c14e8077 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2023 Alex Devaure ;;; Copyright © 2023 Bruno Victal ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -3234,3 +3235,25 @@ notifies the user using any notification daemon implementing "Waypipe is a proxy for Wayland clients, with the aim of supporting behavior like @samp{ssh -X}.") (license license:expat))) + +(define-public libliftoff + (package + (name "libliftoff") + (version "0.4.1") + (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 "1ikjp638d655ycaqkdnzhb12d29kkbb3a46lqhbhsfc8vsqj3z1l")))) + (build-system meson-build-system) + (inputs (list libdrm)) + (native-inputs (list pkg-config)) + (home-page "https://gitlab.freedesktop.org/emersion/libliftoff") + (synopsis "Lightweight KMS plane library") + (description "libliftoff eases the use of KMS planes from userspace +without standing in your way. 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))) -- cgit v1.2.3