# Template file for 'libwacom' pkgname=libwacom version=2.10.0 revision=1 build_style=meson configure_args="-Ddocumentation=disabled" hostmakedepends="pkg-config" makedepends="libgudev-devel libxml2-devel libevdev-devel" checkdepends="python3-pytest python3-libevdev python3-pyudev" short_desc="Library to identify wacom tablets" maintainer="Orphaned " license="MIT" homepage="https://github.com/linuxwacom/libwacom" changelog="https://raw.githubusercontent.com/linuxwacom/libwacom/master/NEWS" distfiles="https://github.com/linuxwacom/libwacom/releases/download/libwacom-${version}/libwacom-${version}.tar.xz" checksum=3f8ef37de78ac3d08af1bdcb5d5828ec8284dcb7154bbec4995238728914aa0e if [ -z "$CROSS_BUILD" ] && [ "${XBPS_CHECK_PKGS}" ]; then configure_args+=" -Dtests=enabled" else configure_args+=" -Dtests=disabled" fi post_install() { vlicense COPYING } libwacom-devel_package() { depends="libgudev-devel ${sourcepkg}>=${version}_${revision} libevdev-devel" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } }