2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/libinput/build
Dylan Araps 1151d1fd05
libinput: 1.16.0
Also swapped to requiring udev or libudev-zero instead of patching
out udev. Changes will be made to the Wiki, etc to reflect this.
2020-08-06 12:50:54 +03:00

24 lines
420 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
pkg-config --exists libudev || {
printf 'udev (or libudev-zero) is required\n'
exit 1
}
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--libexecdir=/usr/lib \
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
-Dudev="${udev:=true}" \
. output
ninja -C output
ninja -C output install