aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-core/APKBUILD
blob: 155b1bf16d658d0967699a72b0b603f46ce79acf (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=at-spi2-core
pkgver=2.32.1
pkgrel=0
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
arch="all"
options="!check"  # Requires running dbus daemon.
license="LGPL-2.0-or-later"
makedepends="libxtst-dev dbus-dev glib-dev gobject-introspection-dev gtk-doc meson"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz"

build() {
	cd "$builddir"
	meson \
		--buildtype=release \
		--prefix=/usr \
		-Dx11=yes \
		-Dintrospection=yes \
		-Ddocs=true \
		-Ddbus_daemon=/usr/bin/dbus-daemon \
		. build
	ninja -C build
}

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

sha512sums="cec6ea1426b25d9738c5c401a1038b39e04b1e989b7ef8e02590d117b35cfb253b260cc6e41b09e10e007801fedcb7702c48ba7f3a0c7b6c1f16edd4e8ad0cca  at-spi2-core-2.32.1.tar.xz"