38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'libinput'
|
|
# keep in sync with libinput-debug-gui
|
|
pkgname=libinput
|
|
version=1.26.2
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Db_ndebug=false -Ddebug-gui=false"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel"
|
|
checkdepends="valgrind check-devel python3-pytest"
|
|
short_desc="Provides handling input devices in Wayland compositors and X"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.freedesktop.org/wiki/Software/libinput"
|
|
changelog="https://gitlab.freedesktop.org/libinput/libinput/-/releases"
|
|
distfiles="https://gitlab.freedesktop.org/libinput/libinput/-/archive/${version}/libinput-${version}.tar.gz"
|
|
checksum=5c1c4150f217fea1db2d1fd88e2607b2f1928cfde65c34da65a9f24dcfd69464
|
|
|
|
if [ -z "$CROSS_BUILD" ] && [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -Dtests=true"
|
|
else
|
|
configure_args+=" -Dtests=false"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libinput-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|