37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Template file for 'libwacom'
|
|
pkgname=libwacom
|
|
version=2.8.0
|
|
revision=1
|
|
build_style=meson
|
|
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=bb04b12c8688d0ff6a108d47a38d2057d572c4d7227d78138abd5fd0ba59f215
|
|
|
|
if [ "${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}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|