31 lines
730 B
Plaintext
31 lines
730 B
Plaintext
# Description: A library that handles input devices for display servers
|
|
# URL: http://wayland.freedesktop.org/libinput/doc/latest/index.html
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
# Depends on: mtdev xorg-libevdev meson ninja
|
|
|
|
name=libinput
|
|
version=1.10.2
|
|
release=1
|
|
source=(http://www.freedesktop.org/software/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
meson build \
|
|
--prefix /usr \
|
|
--libexecdir /usr/lib \
|
|
--buildtype release \
|
|
-Ddebug-gui=false \
|
|
-Ddocumentation=false \
|
|
-Dtests=false \
|
|
-Dlibwacom=false \
|
|
-Dudev-dir=/lib/udev
|
|
|
|
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
|
|
|
|
install -d $PKG/etc/udev
|
|
mv $PKG/lib/udev/hwdb.d $PKG/etc/udev
|
|
|
|
chmod -R g-w $PKG
|
|
}
|