summaryrefslogtreecommitdiff
path: root/user/at-spi2-atk/APKBUILD
blob: 52cc5f8aaaceed07a872e81c6940e4a68f71c35d (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
38
39
40
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=at-spi2-atk
pkgver=2.30.1
pkgrel=0
pkgdesc="GTK+ module to bridge ATK to D-Bus at-spi"
url="https://wiki.linuxfoundation.org/accessibility/d-bus"
arch="all"
options="!check"  # Requires dbus daemon running.
license="LGPL-2.0+"
depends=""
depends_dev="atk-dev dbus-dev"
makedepends="$depends_dev at-spi2-core-dev glib-dev intltool libxml2-dev meson
	ninja"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz"

prepare() {
	cd "$builddir"
	default_prepare
	mkdir _build
}

build() {
	cd "$builddir"/_build
	meson -Dprefix=/usr
	ninja
}

check() {
	cd "$builddir"/_build
	ninja test
}

package() {
	cd "$builddir"/_build
	DESTDIR="$pkgdir" ninja install
}

sha512sums="862cccb65d2a8a7df4e899e4f53742535389a0efa0a75c936b52e68690c07e206b19d8308f0910cddb71bda0d803012d613f6959329ae43c411d1314062b7018  at-spi2-atk-2.30.1.tar.xz"