mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +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
33 lines
773 B
Text
33 lines
773 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=c-dvar
|
|
pkgver=1.1.0
|
|
pkgrel=0
|
|
pkgdesc="D-Bus Variant Type-System"
|
|
url="https://github.com/c-util/c-dvar"
|
|
arch="all"
|
|
license="Apache-2.0 OR LGPL-2.1-or-later"
|
|
makedepends="
|
|
c-stdaux-dev~1
|
|
c-utf8-dev~1
|
|
meson
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/c-util/c-dvar/archive/v$pkgver/c-dvar-$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="
|
|
5dcc278990dfa0aae6da67062ebc8f5e4f227c4cae207bace580ef0497a4bf1c88982f777d642d077990b4f7e58b4dddf556fdf00965b8f5c381c5f1241071f2 c-dvar-1.1.0.tar.gz
|
|
"
|