aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-09-14 21:27:46 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-09-14 20:46:22 +0000
commitfcb9f5e60c9c38e0fcfaaeacbcd774d4d3fa7035 (patch)
tree15afc4ff8c0fa8de443d22caf6bc74ad362fbdac
parent869ee656cb41b4532a2521201568c6e4b93b7fe9 (diff)
downloadaports-fcb9f5e60c9c38e0fcfaaeacbcd774d4d3fa7035.tar.gz
aports-fcb9f5e60c9c38e0fcfaaeacbcd774d4d3fa7035.tar.bz2
aports-fcb9f5e60c9c38e0fcfaaeacbcd774d4d3fa7035.tar.xz
testing/libinputsynth: new aport
-rw-r--r--testing/libinputsynth/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/libinputsynth/APKBUILD b/testing/libinputsynth/APKBUILD
new file mode 100644
index 0000000000..ee324ef052
--- /dev/null
+++ b/testing/libinputsynth/APKBUILD
@@ -0,0 +1,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
+ cmd:gtkdoc-scan
+ 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"