# Note: depends on zlib
# Note: depends on libevdev
# Note: depends on pkg-config
# Note: depends on mtdev
# Note: depends on systemd or udev
# Note: depends on meson
# Note: depends on ninja
wget -c https://www.freedesktop.org/software/libinput/libinput-1.16.1.tar.xz
tar -xJf libinput-1.16.1.tar.xz
cd libinput-1.16.1
mkdir -p build
cd build
meson .. --prefix="/usr"  ||  meson .. --prefix="/usr" -Dlibwacom=false -Ddebug-gui=false  ||  meson .. --prefix="/usr" -Dlibwacom=false -Ddebug-gui=false -Ddocumentation=false
ninja
ninja install # as root