29 lines
846 B
Plaintext
29 lines
846 B
Plaintext
# Description: A library that handles input devices for display servers
|
|
# URL: https://wayland.freedesktop.org/libinput/doc/latest/index.html
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: eudev-32 libinput mtdev-32 xorg-libevdev-32
|
|
|
|
name=libinput-32
|
|
version=1.27.1
|
|
release=1
|
|
source=(https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/libinput-$version.tar.bz2)
|
|
|
|
build() {
|
|
meson setup build ${name%-*}-$version \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--libexecdir=/usr/lib32 \
|
|
--buildtype=plain \
|
|
-D debug-gui=false \
|
|
-D documentation=false \
|
|
-D tests=false \
|
|
-D libwacom=false \
|
|
-D udev-dir=/lib/udev \
|
|
-D zshcompletiondir=no
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/etc $PKG/lib $PKG/usr/{bin,include,lib32/libinput,share}
|
|
}
|