repo/extra/libinput/build

23 lines
462 B
Plaintext
Raw Normal View History

2019-06-28 01:07:46 -06:00
#!/bin/sh -e
2019-10-07 15:07:48 -06:00
export DESTDIR="$1"
2020-01-19 07:28:48 -07:00
# 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
2019-06-28 01:07:46 -06:00
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
2020-01-19 07:28:48 -07:00
-Dudev="${udev:=true}" \
-Dtools="$udev" \
2019-06-28 01:07:46 -06:00
. output
ninja -C output
2019-10-07 15:07:48 -06:00
ninja -C output install