mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-23 06:26:17 +00:00
Also swapped to requiring udev or libudev-zero instead of patching out udev. Changes will be made to the Wiki, etc to reflect this.
24 lines
420 B
Bash
Executable File
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
|