repo/libinput/build

26 lines
627 B
Text
Raw Normal View History

2021-08-27 17:39:18 +03:00
wget https://github.com/wayland-project/libinput/archive/1.18.1.tar.gz
tar -xf 1.18.1
cd 1.18.1
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