blob: 9a520c7a4a52f2d637962346596bf804f216715f (
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.17.0
8 release=1
9 source=(https://www.freedesktop.org/software/${name%-*}/${name%-*}-$version.tar.xz)
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 }
|