* update atk to 2.38.0-1

This commit is contained in:
Alexander Baldeck 2022-04-01 13:58:46 +02:00
parent 459c1b9dd9
commit 18f92b4e52

View File

@ -1,9 +1,9 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=atk
pkgver=2.36.0
pkgver=2.38.0
pkgrel=1
pkgdesc="Interface definitions of accessibility infrastructure"
url="https://gitlab.gnome.org/GNOME/atk"
@ -12,22 +12,23 @@ license=(LGPL)
depends=(glib2)
makedepends=(gobject-introspection git gtk-doc meson)
provides=(libatk-1.0.so)
_commit=dbe95f6170ae1f4bb76c755506b4e3dd3990d5aa # tags/ATK_2_36_0^0
options=(debug)
_commit=f1051ba57a2110c46a136a48f4d60a405bc2c3f5 # tags/2.38.0^0
source=("git+https://gitlab.gnome.org/GNOME/atk.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
cd atk
git describe --tags | sed 's/^ATK_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
cd atk
}
build() {
arch-meson $pkgname build -D docs=true
ninja -C build
arch-meson atk build -D docs=true
meson compile -C build
}
check() {
@ -35,5 +36,5 @@ check() {
}
package() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
}