repo/libinput/build
2021-08-28 10:05:07 +02:00

21 lines
530 B
Text
Executable file

export CFLAGS="-Wno-unused-command-line-argument $CFLAGS"
export PKG_CONFIG_PATH="$PWD/usr/lib/pkgconfig"
export CFLAGS="$CFLAGS -I$PWD/usr/include -L$PWD/usr/lib"
export CFLAGS="$CFLAGS -I$PWD/usr/include/libevdev-1.0"
export DESTDIR="$1"
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--libexecdir=/usr/lib \
-Ddefault_library=both \
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
. output
ninja -C output
ninja -C output install