void-packages/srcpkgs/libwacom/template
2020-03-22 00:16:32 +01:00

30 lines
987 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=1.2
revision=1
build_style=meson
build_helper="qemu"
configure_args="-Ddocumentation=disabled -Dexe_wrapper=qemu-${XBPS_TARGET_QEMU_MACHINE}-static"
hostmakedepends="pkg-config"
makedepends="gtk+-devel libgudev-devel librsvg-devel libxml2-devel"
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/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
checksum=c204cfdee2159d124a4f5ecc8970bbd72f9adf5ad7fd94b66798f93db1f863c3
post_install() {
vlicense COPYING
}
libwacom-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}