mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02: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
32 lines
1 KiB
Text
32 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libgnome-games-support
|
|
pkgver=1.8.1
|
|
pkgrel=2
|
|
arch="all"
|
|
url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
|
|
pkgdesc="Code shared between GNOME games"
|
|
license="LGPL-3.0-or-later"
|
|
makedepends="meson ninja vala libgee-dev gtk+3.0-dev"
|
|
source="https://download.gnome.org/sources/libgnome-games-support/${pkgver%.*}/libgnome-games-support-$pkgver.tar.xz
|
|
vala-0.56.patch
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
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="
|
|
ed5ba94db9ab3d6193e7bb2d0956e20c42577b9fdba4d1d31acb252c43d248cc9b478c807b5f9489dfc88d6757bf95206405d0adf4fb68aa50b8f9d1b6ec59bf libgnome-games-support-1.8.1.tar.xz
|
|
7a18c75fe7c17850b74b3595dea2ace4e2bcf1ce5914819490834e4e0f2cf96f5b59a2371f56124ef8d10be4d2848242659cccd15df0d07b7c0a4885b95374cc vala-0.56.patch
|
|
"
|