blob: af3b70f0e9151e82ecc21ff4c5a72df067efd259 (
plain)
1 # Description: A library that handles input devices for display servers
2 # URL: https://wayland.freedesktop.org/libinput/doc/latest/index.html
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: eudev-32 libinput mtdev-32 xorg-libevdev-32
5
6 name=libinput-32
7 version=1.22.0
8 release=1
9 source=(https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/libinput-$version.tar.bz2)
10
11 build() {
12 meson setup build ${name%-*}-$version \
13 --prefix=/usr \
14 --libdir=/usr/lib32 \
15 --libexecdir=/usr/lib32 \
16 --buildtype=plain \
17 -D debug-gui=false \
18 -D documentation=false \
19 -D tests=false \
20 -D libwacom=false \
21 -D udev-dir=/lib/udev \
22 -D zshcompletiondir=no
23
24 meson compile -C build -j ${JOBS:-1}
25 DESTDIR=$PKG meson install -C build
26
27 rm -r $PKG/etc $PKG/lib $PKG/usr/{bin,include,lib32/libinput,share}
28 }
|