summaryrefslogtreecommitdiff
path: root/user/at-spi2-atk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/at-spi2-atk/APKBUILD')
-rw-r--r--user/at-spi2-atk/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/at-spi2-atk/APKBUILD b/user/at-spi2-atk/APKBUILD
new file mode 100644
index 000000000..fa464e08f
--- /dev/null
+++ b/user/at-spi2-atk/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
+pkgname=at-spi2-atk
+pkgver=2.26.2
+pkgrel=0
+pkgdesc="GTK+ module to bridge ATK to D-Bus at-spi"
+url="https://wiki.linuxfoundation.org/accessibility/d-bus"
+arch="all"
+options="!check" # Requires dbus daemon running.
+license="LGPL-2.0+"
+depends=""
+depends_dev="atk-dev dbus-dev"
+makedepends="$depends_dev at-spi2-core-dev glib-dev intltool libxml2-dev meson
+ ninja"
+install=""
+subpackages="$pkgname-dev"
+source="https://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ mkdir _build
+}
+
+build() {
+ cd "$builddir"/_build
+ meson -Dprefix=/usr
+ ninja
+}
+
+check() {
+ cd "$builddir"/_build
+ ninja test
+}
+
+package() {
+ cd "$builddir"/_build
+ DESTDIR="$pkgdir" ninja install
+}
+
+sha512sums="f938b8e2b999fcdfa13e9433bd13c39430bae2ceae0c664a24caccc6af522947bf73de02de3c359807f5370a85961193df2ba24b193b60b915c61828ea747bb2 at-spi2-atk-2.26.2.tar.xz"