diff options
author | Liliana Marie Prikler <[email protected]> | 2024-09-08 20:47:15 +0200 |
---|---|---|
committer | Liliana Marie Prikler <[email protected]> | 2025-03-02 20:31:32 +0100 |
commit | 585ab06ed3395e2ba2801db26b7f7515916e5ab8 (patch) | |
tree | f5e2e35470fdf15eae5d3c587ef8c1a377352bd6 /gnu/packages/freedesktop.scm | |
parent | cdf4908c47f5bec8cd6914a4c843fb7242fcb9ec (diff) |
gnu: Add libei.
* gnu/packages/freedesktop.scm (libei): New variable.
Co-authored-by: Vivien Kraus <[email protected]>
Reviewed-by: Maxim Cournoyer <[email protected]>
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r-- | gnu/packages/freedesktop.scm | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 95d3742074..76507486fc 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -786,6 +786,58 @@ other applications that need to directly deal with input devices.") "-Ddebug-gui=false" ;requires gtk+@3 ,flags)))))) +(define-public libei + (package + (name "libei") + (version "1.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/libinput/libei.git") + (commit version))) + (sha256 + (base32 + "0idbl20ax060s7m435rszfv7c0bvpinjvq45qbqwvcvp0hg8r9y8")) + (snippet + #~(begin + (use-modules (guix build utils)) + ;; Unbundle munit, we provide it as input. + (substitute* "test/meson.build" + (("subproject\\('munit'") + "# subproject('munit'") + ((", fallback: \\['munit', 'munit_dep'\\]") + "")) + (delete-file-recursively "subprojects"))))) + (build-system meson-build-system) + (arguments + (list + #:configure-flags #~'("-Ddocumentation=api" ;protocol requires hugo + "-Dsd-bus-provider=libelogind"))) + (inputs + (list elogind libevdev libxkbcommon)) + (propagated-inputs + ;; liboeffis-1.0.pc requires.private libelogind + (list elogind)) + (native-inputs + (list doxygen + libxml2 + munit + pkg-config + python + python-attrs + python-black + python-dbusmock + python-jinja2 + python-pytest + python-structlog + valgrind/interactive)) + (home-page "https://libinput.pages.freedesktop.org/libei/") + (synopsis "Emulated Input protocol implementation") + (description + "Libei provides a client and server implementation of the @acronym{EI, +Emulated Input} protocol for Wayland compositors.") + (license license:x11))) + (define-public libxdg-basedir (package (name "libxdg-basedir") |