mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +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
32 lines
757 B
Text
32 lines
757 B
Text
# Maintainer:
|
|
pkgname=mda-lv2
|
|
pkgver=1.2.10
|
|
pkgrel=2
|
|
pkgdesc="Port of the MDA VST plugins to LV2"
|
|
url="https://gitlab.com/drobilla/mda-lv2"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="lv2-dev meson"
|
|
checkdepends="lv2lint"
|
|
source="https://download.drobilla.net/mda-lv2-$pkgver.tar.xz"
|
|
options="!check" # no autoship
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dtests="$(want_check && echo enabled || echo disabled)" \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
be490887be25b2578a4f0a0f7d571aaa1bad37a640094ffde7bdca21a285ddf7d7650f96f735cb0ec01e262bddb945ab9e8923a2d8b94afb5dc6940cf4e2b054 mda-lv2-1.2.10.tar.xz
|
|
"
|