aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwacom/APKBUILD
blob: ce9f70c9c18c490b241cc3afc8274c7cdb600cfe (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
32
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=libwacom
pkgver=1.7
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
	py3-udev py3-libevdev"
checkdepends="bash findutils diffutils py3-pytest"
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="0cdd34c54a4477ffb763c4a291f0a6b33d2df6b1d237332b116e792685201a63a50c3ec98b84e9dc7c0b97c9e407c3531cd67c0af5a8398b5bbf8be6ca103066  libwacom-1.7.tar.bz2
9fab4bc66f6cef27b3a4a332b9bf143bae665b41833b66882edc2d1bf4bece5c9fcb87f77e5337a3b4055d8961801622226cbb5647bc5db8e05af6f2da7d28b0  disable-tests.patch"