void-packages/srcpkgs/libwacom/template
2021-12-17 00:25:56 +01:00

35 lines
1 KiB
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=1.12
revision=1
build_style=meson
build_helper="qemu"
configure_args="-Ddocumentation=disabled"
hostmakedepends="pkg-config"
makedepends="libgudev-devel libxml2-devel"
checkdepends="python3-pytest python3-libevdev python3-pyudev"
short_desc="Library to identify wacom tablets"
maintainer="skmpz <dem.procopiou@gmail.com>"
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/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
checksum=290450d604f78bbd956eddb69f79f8d56f8ed1a5ccbb5e88e22fa84fa2fceb4f
if [ -z "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -Dtests=disabled"
fi
post_install() {
vlicense COPYING
}
libwacom-devel_package() {
depends="libgudev-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}