aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-core/APKBUILD
blob: 67733893480bebcbc8774783281a41fa955ac08c (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=at-spi2-core
pkgver=2.38.0
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() {
	abuild-meson \
		-Dx11=yes \
		-Dintrospection=yes \
		-Ddocs=true \
		-Ddbus_daemon=/usr/bin/dbus-daemon \
		. build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
	rm -rf "$pkgdir"/usr/lib/systemd
}

sha512sums="3a1eb27cff6e0dd03119b4f8361a3b6037b26c511e80e2d003d1d5c41fede6d49eb5e0ac1ee45cfb4f3ca8e53292a7e2da67df80be28e77014775e41777a96c1  at-spi2-core-2.38.0.tar.xz"