38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'libwacom'
|
|
pkgname=libwacom
|
|
version=2.12.1
|
|
revision=2
|
|
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 <orphan@voidlinux.org>"
|
|
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=5b047a28d20b01dd744e194c56c1ba5db54b5d6ee3a8b2d820a1ad6e33d85572
|
|
|
|
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"
|
|
}
|
|
}
|