blob: 47d4c336022627fe05c93c62c9348b05458b3837 (
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.18.1
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="5f13ba8cfd97cf817261954ef49ebd48 at-spi2-core-2.18.1.tar.xz
76658345b466f67cae3458b4693550af fix-buffer-overrun.patch"
sha256sums="57d555be4cc64905454687bf9bb7dc1e68531bee93befa77222d94ea083f01cf at-spi2-core-2.18.1.tar.xz
730de56e9273cba256013ebb8e97904df8e345b3f30440f9fe71ecaa7984d27d fix-buffer-overrun.patch"
sha512sums="7c710341e07713aad9c87454d79ba9d4676f96abd1d66f25bccccf099ed5d376023343dcbf344333a272764cb092ffa766b0d1566682284d2e4e3d9d83dcae6b at-spi2-core-2.18.1.tar.xz
91065867443172454c02a1246f034f22faeae3c3eef89615fee227a51feb02133496e539c9b25c2b1b5f3fcd9ff960f8c29a64b7b7dee89bf0a3febc9bc40d9d fix-buffer-overrun.patch"
|