2019-08-26 10:21:13 +02:00
|
|
|
# Description: library that handles input devices for display servers
|
2021-02-24 12:12:40 +01:00
|
|
|
# URL: https://www.freedesktop.org/wiki/Software/libinput/
|
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
|
|
# Depends on: eudev meson mtdev ninja xorg-libevdev
|
2015-12-03 18:06:25 +01:00
|
|
|
|
|
|
|
name=libinput
|
2021-04-30 12:27:19 +02:00
|
|
|
version=1.17.2
|
2017-07-21 09:19:55 +02:00
|
|
|
release=1
|
2020-02-07 13:30:16 +01:00
|
|
|
source=(https://www.freedesktop.org/software/$name/$name-$version.tar.xz)
|
2015-12-03 18:06:25 +01:00
|
|
|
|
|
|
|
build() {
|
2020-11-03 15:25:13 +01:00
|
|
|
meson setup build $name-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--buildtype=plain \
|
|
|
|
-D debug-gui=false \
|
|
|
|
-D documentation=false \
|
|
|
|
-D tests=false \
|
|
|
|
-D libwacom=false \
|
|
|
|
-D udev-dir=/lib/udev \
|
|
|
|
-D zshcompletiondir=no
|
2016-06-17 11:16:48 +02:00
|
|
|
|
2020-11-03 15:25:13 +01:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2015-12-03 18:06:25 +01:00
|
|
|
}
|