aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwacom/APKBUILD
blob: 620f9d5a38cd5ae35659671721bdae9c6e27daa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=libwacom
pkgver=1.6
pkgrel=0
pkgdesc="Library to help implement Wacom tablet settings"
url="https://github.com/linuxwacom/libwacom/wiki"
arch="all !s390x !mips !mips64" # 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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="2aeba01535092b26301ec9b675932bf88f8150c513274449341143a641ee942977ed3b0d35cf1d2513da056701ca0d75eff9fd44830c5a00764e37fcbfb2c051  libwacom-1.6.tar.bz2
dd5a2b9b4a1e999a7b91da01d8a2f0127d98ccb50802f4286737007341dd16fe25a99db2484e592edecc6d0edeb93953030831ac15909dbfb9cbfd3063a02e40  disable-tests.patch"