diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-24 02:19:13 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-24 02:19:13 +0300 |
commit | 0eef68494c1c54690eb4dcd0f7d53be62059bb40 (patch) | |
tree | 555393e0df2278db319fd517a6dbfbcec5f07969 /xorg/libinput/build | |
parent | af7843442df43d8b3f3eb78d58f114096430446f (diff) | |
download | repository-0eef68494c1c54690eb4dcd0f7d53be62059bb40.tar.gz |
libinput: optional udev
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 |