blob: 2acf0f2639cb26f4837e335e058ab410e03596d9 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer (arch): Fabian Bornschein <fabiscafe-at-mailbox-dot-org>
# Maintainer (arch): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
# parabola changes and rationale:
# privacy:
# - removed geoclue support
# technical:
# - build from versioned source-ball, rather than VCS sources
pkgname=gnome-weather
pkgver=45.0
pkgrel=1
pkgrel+=.nonprism1
pkgdesc="Access current weather conditions and forecasts"
pkgdesc+=", without geoclue support"
url="https://wiki.gnome.org/Apps/Weather"
arch=(any)
license=(GPL)
depends=(
geoclue
gjs
gtk4
libadwaita
libgweather-4
)
depends=( ${depends[*]/geoclue/} ) # privacy
makedepends=(
appstream-glib
git
gobject-introspection
meson
)
makedepends=( ${makedepends[*]/git/} )
groups=(gnome)
source=(https://download.gnome.org/sources/gnome-weather/45/gnome-weather-45.0.tar.xz)
source+=(nonprism.patch)
sha256sums=('30c0029702883dc8d8160e6de1d6116877cd6c25bc950d4e4902a6ab467b2fa4')
sha256sums+=('226c05dfc345ab4d8ed6b21686d10799a98e65a7050602d944d70208d718d19a')
prepare() {
cd ${pkgname}-${pkgver}
echo "applying nonprism.patch"
patch -p1 -i ${srcdir}/nonprism.patch
}
build() {
arch-meson ${pkgname}-${pkgver} build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|