From d3aa1a72ee4bf53992074eee8e45f2c1845e2a81 Mon Sep 17 00:00:00 2001 From: jgart Date: Fri, 5 Dec 2025 13:08:20 -0600 Subject: [PATCH] gnu: Add lisgd. * gnu/packages/freedesktop.scm (lisgd): New variable. Change-Id: I3ebee227ff08c500380739613b36b7ebc81c7deb Signed-off-by: jgart --- gnu/packages/freedesktop.scm | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 1f5f30a98f..3c4e28525b 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2024, 2025 dan ;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; Copyright © 2025 wvlab +;;; Copyright © 2025 jgart ;;; ;;; This file is part of GNU Guix. ;;; @@ -328,6 +329,45 @@ some of the freedesktop.org specifications.") will pick hardware planes for these layers if possible.") (license license:expat))) +(define-public lisgd + (package + (name "lisgd") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~mil/lisgd") + (commit version))) + (sha256 + (base32 + "0rkm6d3jn0i1fwf5qj47hv8w9aax5fijhccnc6f6v59q3aj5jd4n")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; There are no tests. + #:make-flags + #~(list + (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" %output) + (string-append "CPPFLAGS=" + "-DWITH_WAYLAND " + "-I" #$libinput "/include " + "-I" #$wayland "/include") + (string-append "LDFLAGS=" + "-L" #$libinput "/lib " + "-L" #$wayland "/lib")) + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) ; There is no configure script. + (inputs (list libinput libx11 wayland)) + (home-page "https://git.sr.ht/~mil/lisgd") + (synopsis "Bind gestures via libinput touch events") + (description "Bind gestures on touchscreens and unsupported gesture +devices via libinput touch events.") + (license (list license:expat license:x11)))) + (define-public malcontent (package (name "malcontent")