compat-32/libinput-32/Pkgfile

29 lines
846 B
Plaintext
Raw Normal View History

# 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
2019-08-27 13:48:19 +02:00
# Depends on: eudev-32 libinput mtdev-32 xorg-libevdev-32
name=libinput-32
2022-11-20 16:17:58 +01:00
version=1.22.0
release=1
2022-02-21 12:59:35 +01:00
source=(https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/libinput-$version.tar.bz2)
build() {
2020-11-07 09:35:52 +01:00
meson setup build ${name%-*}-$version \
--prefix=/usr \
--libdir=/usr/lib32 \
2020-11-07 09:35:52 +01:00
--libexecdir=/usr/lib32 \
--buildtype=plain \
-D debug-gui=false \
-D documentation=false \
-D tests=false \
-D libwacom=false \
2021-01-02 15:19:32 +01:00
-D udev-dir=/lib/udev \
-D zshcompletiondir=no
2020-11-07 09:35:52 +01:00
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
2021-02-27 02:54:34 +01:00
rm -r $PKG/etc $PKG/lib $PKG/usr/{bin,include,lib32/libinput,share}
}