36 lines
1015 B
Bash
36 lines
1015 B
Bash
# Template file for 'libinput'
|
|
pkgname=libinput
|
|
version=1.22.0
|
|
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"
|
|
short_desc="Provides handling input devices in Wayland compositors and X"
|
|
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
|
license="MIT"
|
|
homepage="https://www.freedesktop.org/wiki/Software/libinput"
|
|
distfiles="https://gitlab.freedesktop.org/libinput/libinput/-/archive/${version}/libinput-${version}.tar.gz"
|
|
checksum=ebbe5a966cf2a12f59666adbfb505cafca58635b96239bbcdf04a09dc4cd0d7b
|
|
|
|
if [ "$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
|
|
}
|
|
}
|