summaryrefslogtreecommitdiff
path: root/community/libinputsynth/APKBUILD
blob: 56b979b98f1ce5ac1b29786a4c1f1d806dad7434 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libinputsynth
pkgver=0.15.0
pkgrel=0
pkgdesc="Synthesize keyboard and mouse input on X11 and Wayland with various backends"
url="https://gitlab.freedesktop.org/xrdesktop/xrdesktop"
arch="all"
license="MIT"
depends_dev="
	gobject-introspection-dev
	xdotool-dev
	"
makedepends="$depends_dev
	gtk-doc
	meson
	"
source="https://gitlab.freedesktop.org/xrdesktop/libinputsynth/-/archive/$pkgver/libinputsynth-$pkgver.tar.gz"
subpackages="$pkgname-dev"

build() {
	abuild-meson \
		-Dapi_doc=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

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

sha512sums="bd4054b05a297f28678bd066f2a7eb62bce0b39ffe0e3bbe6d0ce1323f80b4290ee951c8f9c1006ca77f3ad15282ed6e2c4a960f590487b066202c5738398e24  libinputsynth-0.15.0.tar.gz"