mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 07:24:10 +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
30 lines
853 B
Text
30 lines
853 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=d-spy
|
|
pkgver=48.0
|
|
pkgrel=0
|
|
pkgdesc="Like d-feet, but written in C and blisteringly fast"
|
|
url="https://gitlab.gnome.org/GNOME/d-spy"
|
|
license="GPL-3.0-or-later"
|
|
arch="all"
|
|
makedepends="meson desktop-file-utils glib-dev gtk4.0-dev libadwaita-dev"
|
|
subpackages="$pkgname-lang"
|
|
source="https://download.gnome.org/sources/d-spy/${pkgver%.*}/d-spy-$pkgver.tar.xz"
|
|
options="!check" # no test suite
|
|
|
|
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="
|
|
aaea06f6ebdd93b3ab1fee8fd917600ae93aa90e35e0e8188eac614b10b043777021649e585150f973b5e0c079f1e94b10139758c6fe9e6d197f16192e1d44bd d-spy-48.0.tar.xz
|
|
"
|