summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2025-12-05 13:08:20 -0600
committerjgart <jgart@dismail.de>2026-01-28 14:11:08 -0500
commitd3aa1a72ee4bf53992074eee8e45f2c1845e2a81 (patch)
treed3eb64a2eb7a8f5adf92f2eaeeac81b65c06a7e9
parentd4c83934a4ebf45622a49642a0fbd619b39efd60 (diff)
gnu: Add lisgd.
* gnu/packages/freedesktop.scm (lisgd): New variable. Change-Id: I3ebee227ff08c500380739613b36b7ebc81c7deb Signed-off-by: jgart <jgart@dismail.de>
-rw-r--r--gnu/packages/freedesktop.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 1f5f30a98fa..3c4e28525ba 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2024, 2025 dan <i@dan.games>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 wvlab <me@wvlab.xyz>
+;;; Copyright © 2025 jgart <jgart@dismail.de>
;;;
;;; 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")