summaryrefslogtreecommitdiff
path: root/user/at-spi2-atk/APKBUILD
blob: 51e4d1ea4c91dd8e2192ef5b8fb9b382fe35cbaf (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.0
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="d7a02c347e31d78da81455cff77b44ab6d9e11add8d9457fba6a6b354cef731ab73e8a83060c150f3ef3d5191bfbc649618360a61c9826816b1aafb3e2bea7d5  at-spi2-atk-2.30.0.tar.xz"