aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-22 22:43:47 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-12 20:55:45 -0400
commit5d26c2e658114cf4b8e61437a07db17e0595255b (patch)
treed769436551789cf91c407449edd2963ce005e246 /gnu/packages
parenta412817d84b78461a23855bb65d5b73bc712c3f5 (diff)
downloadguix-5d26c2e658114cf4b8e61437a07db17e0595255b.tar.gz
guix-5d26c2e658114cf4b8e61437a07db17e0595255b.zip
gnu: libwacom: Update to 2.4.0.
* gnu/packages/xdisorg.scm (libwacom): Update to 2.4.0. [source]: Change archive extension from bz2 to xz. [build-system]: Switch to meson. [configure-flags]: Adjust for meson. [phases]: New field. [native-inputs]: Add python-evdev, python-libevdev, python-pytest and python-pyudev. [inputs]: Move libgudev to... [propagated-inputs]: ... here.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/xdisorg.scm31
1 files changed, 21 insertions, 10 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 26905b1416..d7e6f8467d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1344,28 +1344,39 @@ Escape key when Left Control is pressed and released on its own.")
(define-public libwacom
(package
(name "libwacom")
- (version "1.10")
+ (version "2.4.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/linuxwacom/libwacom/releases/download/"
- "libwacom-" version "/libwacom-" version ".tar.bz2"))
+ "libwacom-" version "/libwacom-" version ".tar.xz"))
(sha256
(base32
- "14aj4ss1chxxgaprs9sfriia2ch9wj9rqay0ndkzk1m7jx2qrjgn"))))
- (build-system glib-or-gtk-build-system)
+ "056l5dndd8654bmwlxxhvx8082s7pp9bg0wm68zb56iz3rv25l6h"))))
+ (build-system meson-build-system)
(arguments
- `(#:configure-flags '("--disable-static")))
+ (list
+ #:configure-flags #~(list "--default-library=shared")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ ;; Do not attempt to run systemd-specific commands.
+ (substitute* "test/test_udev_rules.py"
+ (("(systemd-hwdb|systemctl)")
+ "true")))))))
(native-inputs
(list pkg-config
;; For tests.
- python))
+ python
+ python-evdev
+ python-libevdev
+ python-pytest
+ python-pyudev))
(inputs
- (list gtk+ libgudev eudev libxml2))
+ (list gtk+ eudev libxml2))
(propagated-inputs
- ;; libwacom includes header files that include GLib, and libinput uses
- ;; those header files.
- (list glib))
+ ;; libwacom.pc 'Requires' these:
+ (list glib libgudev))
(home-page "https://linuxwacom.github.io/")
(synopsis "Helper library for Wacom tablet settings")
(description