Commit b21948ec authored by Natanael Copa's avatar Natanael Copa

main/atk: upgrade to 2.30.0

parent e0b74a13
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
pkgver=2.28.1
pkgver=2.30.0
pkgrel=0
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://www.gtk.org/"
arch="all"
license="LGPL-2.0-or-later"
depends=""
makedepends="glib-dev gobject-introspection-dev musl-utils"
makedepends="glib-dev gobject-introspection-dev musl-utils meson ninja gtk-doc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
mkdir -p "$builddir"/build
cd "$builddir"/build
meson \
--prefix=/usr \
--enable-introspection
make
--buildtype=release \
--sysconfdir=/etc \
-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
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
DESTDIR="$pkgdir" ninja install
}
sha512sums="aa61e7718b3f4d9c33ec2b4747e35f894a51550ef39ecc4a7af5705811c029645bd3c728071f446b075a0b7aef0c35c1b73406a210cd30171838f24a8dfc0abb atk-2.28.1.tar.xz"
sha512sums="03f311378fdb91442f27ed542fa36edd2c9c036837c9f25ff37468bf7f743277d0b9253621563d15894e0da9d37e8df0a0e2c0e47e6aae33a38b13744c3b8b8e atk-2.30.0.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment