From 0eef68494c1c54690eb4dcd0f7d53be62059bb40 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 24 May 2020 02:19:13 +0300 Subject: libinput: optional udev --- xorg/libinput/build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xorg/libinput/build') diff --git a/xorg/libinput/build b/xorg/libinput/build index 279e27fc..eb7b6771 100755 --- a/xorg/libinput/build +++ b/xorg/libinput/build @@ -1,7 +1,13 @@ #!/bin/sh -e +patch -p1 < libinput-optional-udev.patch + export DESTDIR="$1" +# Meson build has no support for automatically using +# udev if available. This simply does the same. +kiss l eudev >/dev/null 2>&1 || udev=false + meson \ --prefix=/usr \ --sysconfdir=/etc \ @@ -10,6 +16,8 @@ meson \ -Ddocumentation=false \ -Dtests=false \ -Dlibwacom=false \ + -Dudev="${udev:=true}" \ + -Dtools="$udev" \ . output ninja -C output -- cgit v1.2.3