aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-atk/APKBUILD
blob: 1b89565fa68d3e3363a0665d91194837bef3cbbf (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: Rasmus Thomsen <oss@cogitri.dev>
pkgname=at-spi2-atk
pkgver=2.32.0
pkgrel=0
pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi"
url="https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
arch="all"
options="!check"  # Requires dbus daemon running.
license="LGPL-2.0-or-later"
makedepends="dbus-dev atk-dev glib-dev at-spi2-core-dev meson libxml2-dev"
checkdepends="dbus"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz"

build() {
	cd "$builddir"
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	cd "$builddir"
	ninja -C output test
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="095ceaa33d5b35f1f4f81a31bea00487c054493cb29d4fdbcf74331ec8d1b9570dc7cb93e1cc06da9ea3f5805e7a3a9e7bf80cfdbce86a1822c2a46327109393  at-spi2-atk-2.32.0.tar.xz"