mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 04:44:57 +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
46 lines
1 KiB
Text
46 lines
1 KiB
Text
# Contributor: knuxify <knuxify@gmail.com>
|
|
# Maintainer: knuxify <knuxify@gmail.com>
|
|
pkgname=geopard
|
|
pkgver=1.6.0
|
|
pkgrel=0
|
|
pkgdesc="Colorful, adaptive gemini browser"
|
|
url="https://ranfdev.com/projects/geopard/"
|
|
# loongarch64: libc crate fails to build
|
|
arch="all !s390x !loongarch64" # blueprint-compiler
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
blueprint-compiler
|
|
cargo
|
|
desktop-file-utils
|
|
glib-dev
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
meson
|
|
openssl-dev>3
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
source="https://github.com/ranfdev/Geopard/releases/download/v$pkgver/geopard-$pkgver.tar.xz"
|
|
options="!check" # no test suite
|
|
|
|
|
|
prepare() {
|
|
default_prepare
|
|
rm -rf "$builddir"/subprojects/blueprint-compiler
|
|
}
|
|
|
|
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="
|
|
b131a062ba69ba623830a2540d2d7118efdd9a2501dacadad4137ecb65671a3cd1c447fb5d9eb3a0d18bd6849e2af6c479edce80b3869acf05ed8a2466e2f9b9 geopard-1.6.0.tar.xz
|
|
"
|