blob: 031306280efe222264760e79e5d444f0bc8363c6 (
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
|
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=piper
pkgver=0.7
pkgrel=0
pkgdesc="GTK+ application to configure gaming mice using ratbag"
url="https://github.com/libratbag/piper"
arch="noarch"
license="GPL-2.0-only"
depends="python3 py3-evdev py3-cairo py3-lxml py3-gobject3 ratbag"
makedepends="meson gettext glib-dev"
checkdepends="appstream py3-flake8 bash"
subpackages="$pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/libratbag/piper/archive/refs/tags/$pkgver.tar.gz
0001-only-use-gettext.patch"
build() {
abuild-meson \
-Druntime-dependency-checks=false \
. 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="
fcbc30a4954ea6b0aa67c66052eab1e6b2d3039c927eeddcfc8b03d00f1c91e8f0ae80788ba0e4f053a612b03f594e74fd119dd11f52dd47608c99602e7e4940 piper-0.7.tar.gz
467fa4fb887f647ab806439bfd21de95ebb2c0a8f88d63a9c8a779817e184322b1870b582680bd4c55f21ac66f17a176ade0b66f0dab525d3eecb20eab59dc9d 0001-only-use-gettext.patch
"
|