forked from alnux/repo
26 lines
627 B
Text
26 lines
627 B
Text
|
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
|