aports/community/sratom/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

34 lines
777 B
Text

# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=sratom
pkgver=0.6.18
pkgrel=0
pkgdesc="library for serialising LV2 atoms to and from RDF"
url="https://drobilla.net/software/sratom"
arch="all"
license="ISC"
makedepends="
meson
serd-dev
sord-dev
lv2-dev
"
subpackages="$pkgname-dev"
source="https://download.drobilla.net/sratom-$pkgver.tar.xz"
build() {
abuild-meson -Db_lto=true . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
3f78f845974cf7d8a7166e6430a9e8a1454c98b4aea065bd7e66da01dba7a210edc540e17613985ddd8f9124ccf8500b71646942d988f4b9c65dd53f0d18f6cf sratom-0.6.18.tar.xz
"