# Contributor: Ivan Tham # Maintainer: Ivan Tham pkgname=libwacom pkgver=1.3 pkgrel=0 pkgdesc="Library to help implement Wacom tablet settings" url="https://github.com/linuxwacom/libwacom/wiki" arch="all !s390x" # librsvg license="MIT" makedepends="librsvg-dev gtk+2.0-dev glib-dev libgudev-dev libxml2-dev meson" checkdepends="bash findutils diffutils" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/linuxwacom/libwacom/releases/download/libwacom-$pkgver/libwacom-$pkgver.tar.bz2 disable-tests.patch " build() { meson \ --prefix=/usr \ --buildtype=plain \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="beb92051d1a2be5079518b9f254e5621bf7c13ab92f811d5a1b7d19eb0ecddb28d94db0e1724b379be8970b0de0e7d3eb4d3c15b4aeedacc623357e10740355c libwacom-1.3.tar.bz2 62f4e02e013a8c1e70bcde9dd9b582461cba9f011cea3fd5b63215a239e0efefe5999f6e7e46b467ebf7402ce613670c37180d89e1fe97bab082706010481e36 disable-tests.patch"