2018-03-06 23:47:18 +11:00
|
|
|
# Description: A library that handles input devices for display servers
|
2020-06-17 19:38:34 -05:00
|
|
|
# URL: https://wayland.freedesktop.org/libinput/doc/latest/index.html
|
2018-03-06 23:47:18 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: eudev-32 libinput mtdev-32 xorg-libevdev-32
|
2018-03-06 23:47:18 +11:00
|
|
|
|
|
|
|
name=libinput-32
|
2023-08-26 10:22:35 +02:00
|
|
|
version=1.24.0
|
2018-03-06 23:47:18 +11:00
|
|
|
release=1
|
2022-02-21 12:59:35 +01:00
|
|
|
source=(https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/libinput-$version.tar.bz2)
|
2018-03-06 23:47:18 +11:00
|
|
|
|
|
|
|
build() {
|
2020-11-07 19:35:52 +11:00
|
|
|
meson setup build ${name%-*}-$version \
|
|
|
|
--prefix=/usr \
|
2018-03-06 23:47:18 +11:00
|
|
|
--libdir=/usr/lib32 \
|
2020-11-07 19:35:52 +11:00
|
|
|
--libexecdir=/usr/lib32 \
|
|
|
|
--buildtype=plain \
|
|
|
|
-D debug-gui=false \
|
|
|
|
-D documentation=false \
|
|
|
|
-D tests=false \
|
|
|
|
-D libwacom=false \
|
2021-01-03 01:19:32 +11:00
|
|
|
-D udev-dir=/lib/udev \
|
|
|
|
-D zshcompletiondir=no
|
2018-03-06 23:47:18 +11:00
|
|
|
|
2020-11-07 19:35:52 +11:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-03-06 23:47:18 +11:00
|
|
|
|
2021-02-27 12:54:34 +11:00
|
|
|
rm -r $PKG/etc $PKG/lib $PKG/usr/{bin,include,lib32/libinput,share}
|
2018-03-06 23:47:18 +11:00
|
|
|
}
|