aports/community/accerciser/APKBUILD
mio 3ee4ed9e06 community/accerciser: fix build with gettext 0.24.1
Fix build error during autoreconf with gettext 0.24.1.

```
configure.ac:31: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:32: error: possibly undefined macro: AM_GNU_GETTEXT_REQUIRE_VERSION
configure.ac:33: error: possibly undefined macro: AM_GNU_GETTEXT
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
```
2025-05-14 00:09:41 +00:00

57 lines
1.2 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=accerciser
pkgver=3.40.0
pkgrel=6
pkgdesc="Interactive Python accessibility explorer"
url="https://gitlab.gnome.org/GNOME/accerciser"
arch="noarch"
license="BSD-3-Clause"
depends="
gtk+3.0
ipython
librsvg
libwnck3
py3-atspi
py3-gobject3
py3-xlib
"
makedepends="
appstream-glib-dev
at-spi2-core-dev
autoconf
automake
glib-dev
gtk+3.0-dev
itstool
py3-gobject3-dev
yelp-tools
"
options="!check" # no tests
subpackages="$pkgname-lang $pkgname-doc $pkgname-pyc"
source="https://gitlab.gnome.org/GNOME/accerciser/-/archive/$pkgver/accerciser-$pkgver.tar.gz"
prepare() {
default_prepare
# gettext m4 macros moved in 0.24.1, include the new path
autoreconf -fi -I /usr/share/gettext/m4
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
ac372a6009902a898570d5eb599bc6a95302aca729ce39fbb1143d3b321974986ec0eb13c02ecd24644da8de48e044c84abe657b1aef8e1549b211ba6ff0b276 accerciser-3.40.0.tar.gz
"