blob: 9a76e6da6a79095853169594344dea8d71653a49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-weather
pkgver=42.0
pkgrel=1
pkgdesc="GNOME Weather application"
url="https://wiki.gnome.org/Apps/Weather"
# s390x and riscv64 blocked by gjs
arch="noarch !s390x !riscv64"
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 ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
10471a32adc148fad393e03098396a3cfccc75d1cd18985cdd2c287927213aeb493f2878ea986e1d3a3af4b1d3f439afcdb96833d849bbd5fbe7aebb1d1992e6 gnome-weather-42.0.tar.xz
"
|