aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-01-31 15:47:38 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 04:35:01 +0000
commit08bf69f9dbbe543a33669e579a68d37b02af7476 (patch)
tree5cd3cec2802bb0057a4dc339b6eb48eb9477d919 /main
parent11bd2c231409a83ee5cac1e8a500623678efdf39 (diff)
downloadaports-08bf69f9dbbe543a33669e579a68d37b02af7476.tar.bz2
aports-08bf69f9dbbe543a33669e579a68d37b02af7476.tar.xz
main/at-spi2-atk: disable tests, modernise, fix dep warnings
Diffstat (limited to 'main')
-rw-r--r--main/at-spi2-atk/APKBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/main/at-spi2-atk/APKBUILD b/main/at-spi2-atk/APKBUILD
index f199b9753a..e5eae885a3 100644
--- a/main/at-spi2-atk/APKBUILD
+++ b/main/at-spi2-atk/APKBUILD
@@ -2,14 +2,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=at-spi2-atk
pkgver=2.26.1
-pkgrel=0
+pkgrel=1
pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi"
url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus"
arch="all"
+options="!check" # Requires dbus daemon running.
license="LGPL-2.0-or-later"
depends=""
-depends_dev="glib-dev dbus-dev atk-dev at-spi2-core-dev"
-makedepends="$depends_dev intltool"
+depends_dev="dbus-dev atk-dev"
+makedepends="$depends_dev glib-dev at-spi2-core-dev intltool"
+checkdepends="libxml2-dev"
install=""
subpackages="$pkgname-dev"
source="http://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz"
@@ -24,14 +26,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="2922ce0429901e00729e05a4fd67860a601917a683160ce123d281426e91074258ae70e8a4a67c2aff5e225290e59f99417a37914b039cab2481f7d1c2c64c5d at-spi2-atk-2.26.1.tar.xz"