2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-07 08:22:28 +00:00
repo/extra/libinput/build

25 lines
504 B
Plaintext
Raw Normal View History

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