28 lines
818 B
Plaintext
28 lines
818 B
Plaintext
# Description: library that handles input devices for display servers
|
|
# URL: https://www.freedesktop.org/wiki/Software/libinput/
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
# Depends on: eudev meson mtdev ninja xorg-libevdev
|
|
|
|
name=libinput
|
|
version=1.19.0
|
|
release=1
|
|
source=(https://www.freedesktop.org/software/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst zsh && \
|
|
PKGMK_LIBINPUT+=' -D zshcompletiondir=/usr/share/zsh/site-functions' || \
|
|
PKGMK_LIBINPUT+=' -D zshcompletiondir=no'
|
|
meson setup build $name-$version $PKGMK_LIBINPUT \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--buildtype=plain \
|
|
-D udev-dir=/lib/udev \
|
|
-D debug-gui=false \
|
|
-D documentation=false \
|
|
-D tests=false \
|
|
-D libwacom=false
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|