mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 11:14:48 +02:00
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
37 lines
792 B
Text
37 lines
792 B
Text
# Maintainer:
|
|
pkgname=lv2lint
|
|
pkgver=0.16.2
|
|
pkgrel=2
|
|
pkgdesc="LV2 plugin specification checker"
|
|
url="https://open-music-kontrollers.ch/~hp/lv2lint/"
|
|
arch="all"
|
|
license="Artistic-2.0"
|
|
makedepends="
|
|
curl-dev
|
|
elfutils-dev
|
|
lilv-dev
|
|
lv2-dev
|
|
meson
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.open-music-kontrollers.ch/~hp/lv2lint/archive/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Donline-tests=enabled \
|
|
-Delf-tests=enabled \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
8abd393832179f526d15b141a88239af355cdcccd9284e44c3deea2e4d189959242311993d6ef04aea5634d02e01f659cd4141092668cf9b7e13c1d136923ce8 lv2lint-0.16.2.tar.gz
|
|
"
|