diff options
Diffstat (limited to 'user/at-spi2-core/APKBUILD')
-rw-r--r-- | user/at-spi2-core/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/at-spi2-core/APKBUILD b/user/at-spi2-core/APKBUILD new file mode 100644 index 000000000..00c49e856 --- /dev/null +++ b/user/at-spi2-core/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=at-spi2-core +pkgver=2.29.1 +pkgrel=0 +pkgdesc="Protocol definitions and daemon for D-Bus at-spi" +url="https://wiki.linuxfoundation.org/accessibility/d-bus" +arch="all" +options="!check" # Requires running at-spi2 daemon. +license="LGPL-2.0+" +depends="" +depends_dev="libxtst-dev" +makedepends="$depends_dev dbus-dev glib-dev intltool gobject-introspection-dev + dbus meson ninja" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz" + +build() { + cd "$builddir" + meson --prefix=/usr builddir/ + ninja -C builddir/ +} + +check() { + cd "$builddir" + ninja -C builddir/ test +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C builddir/ install +} + +sha512sums="d8e68637dbfd3917a0594ead5de223dcd6d6f43670c9d3880994942967343d41828636cef09b465f1f7b48bcb6f2b9e34af430873f43e42f56cb68cfb0cacfbe at-spi2-core-2.29.1.tar.xz" |