aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-atk/APKBUILD
blob: 9028296735357dd943b899f1ca4810011e6544e3 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=at-spi2-atk
pkgver=2.34.2
pkgrel=1
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"
depends_dev="atk-dev"
makedepends="$depends_dev dbus-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() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="59e7ad5c944748ca00af8b0a9df03c9ffbc6afae6e65c25a2566a9e2a30e66724c4492076be1730c2894c636f82c795c533669572584d8d5675f68b349ad16c4  at-spi2-atk-2.34.2.tar.xz"