mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 12:26:24 +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
48 lines
1 KiB
Text
48 lines
1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
|
|
pkgname=gnome-weather
|
|
pkgver=48.0
|
|
pkgrel=0
|
|
pkgdesc="GNOME Weather application"
|
|
url="https://apps.gnome.org/Weather"
|
|
# armhf blocked by gjs
|
|
arch="noarch !armhf"
|
|
license="GPL-2.0-only"
|
|
depends="
|
|
geoclue
|
|
gjs
|
|
gobject-introspection
|
|
gtk4.0
|
|
libadwaita
|
|
libgweather4
|
|
"
|
|
makedepends="
|
|
geoclue-dev
|
|
gjs-dev
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
libgweather4-dev
|
|
meson
|
|
"
|
|
checkdepends="appstream-glib desktop-file-utils"
|
|
subpackages="$pkgname-lang"
|
|
source="https://download.gnome.org/sources/gnome-weather/${pkgver%.*}/gnome-weather-$pkgver.tar.xz"
|
|
|
|
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="
|
|
cd0b17f75217a1947c249d45d274729b1c74eb492f9e9eb2826e9c23a4c84750e15299364a790de65f3e4cd36abb5035b677e304f61a012cdd5cff41458293f0 gnome-weather-48.0.tar.xz
|
|
"
|