aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-core/APKBUILD
blob: 3a64673d39a3eeb923471af292cf41bd75041889 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=at-spi2-core
pkgver=2.20.0
pkgrel=0
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus"
arch="all"
license="LGPL2+"
depends=""
depends_dev="dbus-dev glib-dev libxtst-dev"
makedepends="$depends_dev intltool gobject-introspection-dev"
install=""
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang"
source="http://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz
	fix-buffer-overrun.patch"

_builddir="$srcdir"/at-spi2-core-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	DATADIRNAME="share" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="b37933dd7724ef06bf759e2ef233a9b2  at-spi2-core-2.20.0.tar.xz
76658345b466f67cae3458b4693550af  fix-buffer-overrun.patch"
sha256sums="dcc49fb7c08e582910b21ff1e4110b22ab66068a4c6f0db52b098d66794c609b  at-spi2-core-2.20.0.tar.xz
730de56e9273cba256013ebb8e97904df8e345b3f30440f9fe71ecaa7984d27d  fix-buffer-overrun.patch"
sha512sums="316d721f18904115663c9a64ae4138f4f49e3d2b4fed1fbb317b2f1131b10ff018acd4f62f58985c41563f819f788d5fc5e615c698b1ecfc68edd3817d6b2538  at-spi2-core-2.20.0.tar.xz
91065867443172454c02a1246f034f22faeae3c3eef89615fee227a51feb02133496e539c9b25c2b1b5f3fcd9ff960f8c29a64b7b7dee89bf0a3febc9bc40d9d  fix-buffer-overrun.patch"