blob: 283928b09373ff989dc978718b96b91e18c7652c (
plain)
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
33
34
35
36
37
38
39
|
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=libwacom
pkgver=2.4.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 libgudev-dev meson py3-libevdev py3-udev py3-pytest"
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 ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
c0f7464ab8c23ce7738624b5793c6d3a9b9c33afe8e1fba12de6ed05ac475ec28aa1b897ce6ee5a4b50d1178ac6090f79b6b7ff0c4166b28d85b85d9ec263b8c libwacom-2.4.0.tar.gz
50cf7a2bf288f6d27148e264f36df1463b9e22186a8c227803c644bfe4393bb0b8e6b5e922083116b269e88b0974de353905ab93f1727474c3404d83412482da 0001-udevadm.patch
"
|