mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 06:54:23 +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
31 lines
730 B
Text
31 lines
730 B
Text
# Maintainer:
|
|
pkgname=libmicrodns
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
pkgdesc="Minimal mDNS library"
|
|
url="https://github.com/videolabs/libmicrodns"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="meson"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/videolabs/libmicrodns/releases/download/$pkgver/microdns-$pkgver.tar.xz"
|
|
builddir="$srcdir/microdns-$pkgver"
|
|
|
|
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="
|
|
fc642d463f52409e76515897e3662b7b08ee35dc760e595980c343a4fd24f1b76cdfbd4f91ea2115a02243be8ae8908670440ead96715c8983abb2a8559702b6 microdns-0.2.0.tar.xz
|
|
"
|