mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 23:30:05 -07:00
26 lines
532 B
Bash
Executable File
26 lines
532 B
Bash
Executable File
#!/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 \
|
|
--mandir=/usr/share/man \
|
|
--libexecdir=/usr/lib \
|
|
-Ddebug-gui=false \
|
|
-Ddocumentation=false \
|
|
-Dtests=false \
|
|
-Dlibwacom=false \
|
|
-Dudev="${udev:=true}" \
|
|
-Dtools="$udev" \
|
|
. output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|