39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'libinput'
|
|
pkgname=libinput
|
|
version=1.17.2
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="$(vopt_bool debug_gui debug-gui) -Ddocumentation=false -Dtests=false"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel
|
|
$(vopt_if debug_gui gtk+3-devel)"
|
|
checkdepends="valgrind check-devel"
|
|
short_desc="Provides handling input devices in Wayland compositors and X"
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://www.freedesktop.org/wiki/Software/libinput"
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=b822263086b6588b9a9a153be97dea409f63927fb67b9a241748e76f222a5be1
|
|
|
|
build_options="debug_gui"
|
|
desc_option_debug_gui="Build with debug GUI (GTK+3)"
|
|
|
|
CFLAGS="-UNDEBUG"
|
|
|
|
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
|
|
}
|
|
}
|