void-packages/srcpkgs/libwacom/template
2020-11-06 09:54:40 -05:00

30 lines
987 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=1.6
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="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=701cb23ee3f2ad4eb5183ef1421dfff3e5b7622e5d3bb6fcd599190a7d77aea8
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"
}
}