36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'libwacom'
|
|
pkgname=libwacom
|
|
version=2.6.0
|
|
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="Mohammed Anas <triallax@tutanota.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/libwacom-${version}/libwacom-${version}.tar.xz"
|
|
checksum=2376cca99475235b75053a2cfbc7ed40fd8763d5a516941a664870ff1f3aa98f
|
|
|
|
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"
|
|
}
|
|
}
|