mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 01:44:40 +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
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Newbyte <newbie13xd@gmail.com>
|
|
# Maintainer: Newbyte <newbie13xd@gmail.com>
|
|
pkgname=blueprint-compiler
|
|
pkgver=0.16.0
|
|
pkgrel=0
|
|
pkgdesc="Markup language for GTK user interfaces"
|
|
url="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler"
|
|
arch="noarch"
|
|
license="LGPL-3.0-or-later"
|
|
depends="
|
|
gobject-introspection-dev
|
|
gtk4.0
|
|
libadwaita
|
|
python3
|
|
py3-gobject3
|
|
"
|
|
depends_dev="$pkgname=$pkgver-r$pkgrel"
|
|
makedepends="meson"
|
|
checkdepends="cage-run"
|
|
subpackages="$pkgname-dev $pkgname-pyc"
|
|
source="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v$pkgver/blueprint-compiler-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
cage-run meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
python3 -m compileall -fq "$pkgdir"/usr/lib/python*
|
|
}
|
|
|
|
sha512sums="
|
|
fd0e66504274f459af335335bb6f7f96857ef120754dfd6190bb03b19e95b85239016fc1ea70950748ba29129c1e0faf272ddd7c217dfd5f418df3d0930c5c9a blueprint-compiler-v0.16.0.tar.gz
|
|
"
|