aports/community/gi-docgen/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

38 lines
905 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: team/gnome <fossdd@pwned.life>
pkgname=gi-docgen
pkgver=2025.3
pkgrel=0
pkgdesc="A documentation generator for GObject-based libraries"
url="https://gitlab.gnome.org/GNOME/gi-docgen"
arch="noarch"
license="Apache-2.0 OR GPL-3.0-or-later"
depends="
py3-jinja2
py3-markdown
py3-markupsafe
py3-packaging
py3-pygments
py3-typogrify
python3
"
subpackages="$pkgname-pyc"
makedepends="meson"
source="https://gitlab.gnome.org/GNOME/gi-docgen/-/archive/$pkgver/gi-docgen-$pkgver.tar.gz"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
7ebd904b0a186179f5b50ac4ea1b8669bc3afa9a2258cd9738f433d9acb48dc60af73add4169471a1ebad3dbf7632e22cbef94cac5ed3acf6d858f970ed021d9 gi-docgen-2025.3.tar.gz
"