summaryrefslogtreecommitdiff
path: root/user/at-spi2-core/APKBUILD
blob: 1280740d31809d06ec3e4cf6c3e14b1157ab9aa4 (plain) (blame)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=at-spi2-core
pkgver=2.30.0
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="f875738fd8a30dc8eeebb0b1a2631d7ef03e93db4dd8475cddb91c173a4ca7b473149ccb4fa2480df53555654612aa02f571461160e8931f50fda10b6a8b8c21  at-spi2-core-2.30.0.tar.xz"