summaryrefslogtreecommitdiff
path: root/user/at-spi2-core/APKBUILD
blob: 38feb8b0af0c72dfc3a122bbc32518aed1fe3511 (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
35
36
37
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=at-spi2-core
pkgver=2.32.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
	stupid-meson-fix.patch
	"

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="4c77b4e0d37b559d20e6521107e8f7e03e91392414dc7ffdceb558667f3a7a6137af6895f3a8cd97dc3e85715d7875812d658dcc84277a63a10276992bde2fa6  at-spi2-core-2.32.0.tar.xz
628b40c26d50d35ac898eab547c7c66d481e9ab239e0de4e98f5a8d90ef189960ac8c20312c88e8036c40ef1a1bb90559d5e621157b46f75d185d6b1be550877  stupid-meson-fix.patch"