35 lines
974 B
Bash
35 lines
974 B
Bash
# Template file for 'libinput'
|
|
pkgname=libinput
|
|
version=1.13.0
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Ddebug-gui=false -Ddocumentation=false
|
|
-Dtests=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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://www.freedesktop.org/wiki/Software/libinput"
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=eb27c95d35c8fc9c7b96b9f0b2de5a043c47eb5f4b2868f353ab1bd0be0b616d
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -Dtests=true"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libinput-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|