# Contributor: Ivan Tham # Maintainer: Patrycja Rosa pkgname=libwacom pkgver=2.10.0 pkgrel=0 pkgdesc="Library to help implement Wacom tablet settings" url="https://github.com/linuxwacom/libwacom/wiki" arch="all" license="MIT" depends="eudev" makedepends=" glib-dev libevdev-dev libgudev-dev meson py3-libevdev py3-pytest py3-udev " checkdepends="bash findutils diffutils libxml2-dev" subpackages="$pkgname-dev $pkgname-doc" install="$pkgname.post-install $pkgname.post-upgrade" source="https://github.com/linuxwacom/libwacom/archive/libwacom-$pkgver/libwacom-$pkgver.tar.gz 0001-udevadm.patch " builddir="$srcdir/libwacom-libwacom-$pkgver" build() { abuild-meson \ -Dtests="$(options_has !check && echo disabled || echo enabled)" \ -Dudev-dir="/lib/udev" \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 45bf65d5ac500214b638593e058cf2259d0c0ca955fc279d777054de9145ecc25121408a77486e2588c142d4308da8664571f305f9f4e900eefd0e5a4a695cff libwacom-2.10.0.tar.gz f1dd2376782584a71e84fedb83f6c3633e8b27977c6f65b3dc9db20dd0c8b761df44645d40049aef005f6ee6d7ce7496f5971306b9af778c36e59a4823235869 0001-udevadm.patch "