From cca145cde48970f0ac5f4d0f5847240ce48c1cff Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 9 Jul 2018 23:44:04 -0500 Subject: user/atk: bump to 2.29.1, use meson --- user/atk/APKBUILD | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'user/atk') diff --git a/user/atk/APKBUILD b/user/atk/APKBUILD index b2232304b..c548e5060 100644 --- a/user/atk/APKBUILD +++ b/user/atk/APKBUILD @@ -1,37 +1,36 @@ # Maintainer: pkgname=atk -pkgver=2.26.1 -pkgrel=3 +pkgver=2.29.1 +pkgrel=0 pkgdesc="A library providing a set of interfaces for accessibility" url="https://www.gtk.org/" arch="all" license="LGPL-2.0+" depends="" -makedepends="glib-dev gobject-introspection-dev musl-utils" +makedepends="glib-dev gobject-introspection-dev gtk-doc meson musl-utils ninja" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" -build() { +prepare() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --enable-introspection - make + default_prepare + mkdir _build +} + +build() { + cd "$builddir"/_build + meson -Dprefix=/usr -Dintrospection=true -Ddocs=true + ninja } check() { - cd "$builddir"/tests - # There is no test suite runner present, but the tests are built.. - for testapp in testdocument testrelation testrole teststateset testvalue; do - ./$testapp - done + cd "$builddir"/_build + ninja test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install + cd "$builddir"/_build + DESTDIR="$pkgdir" ninja install } -sha512sums="9a802f1856f0f608c3b4ef6de27dc8174e103dbb32431a4dcffcac48c685cc48efb087ab73f661d7327341e8074b73bb7877c596f93228283ca5907910d64a6b atk-2.26.1.tar.xz" +sha512sums="833acad04bb5b224857025cc39a099c608d9c5b6f3dad52a770c6b8af502fc2ffcd1d4f5825fe7cf2134c8b7720f2a7f362e92604086020dccf22c29c3151e8c atk-2.29.1.tar.xz" -- cgit v1.2.3-70-g09d2