diff options
Diffstat (limited to 'xorg/libinput/build')
-rwxr-xr-x | xorg/libinput/build | 8 |
1 files changed, 8 insertions, 0 deletions
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 |