guix_mirror_bot pushed a commit to branch master
in repository guix.

commit d3aa1a72ee4bf53992074eee8e45f2c1845e2a81
Author: jgart <[email protected]>
AuthorDate: Fri Dec 5 13:08:20 2025 -0600

    gnu: Add lisgd.
    
    * gnu/packages/freedesktop.scm (lisgd): New variable.
    
    Change-Id: I3ebee227ff08c500380739613b36b7ebc81c7deb
    Signed-off-by: jgart <[email protected]>
---
 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 <[email protected]>
 ;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2025 wvlab <[email protected]>
+;;; Copyright © 2025 jgart <[email protected]>
 ;;;
 ;;; 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")

Reply via email to