blob: 378948d5cdc1aeeba6ebab06604556f0d75adec9 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgweather
pkgver=3.36.0
pkgrel=0
pkgdesc="GNOME weather library"
url="https://wiki.gnome.org/Projects/LibGWeather"
arch="all"
license="LGPL-2.1-or-later"
depends="tzdata gsettings-desktop-schemas"
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev vala
glib-dev geocode-glib-dev gobject-introspection-dev
libxml2-utils gtk-doc glade-dev meson ninja"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/libgweather/${pkgver%.*}/libgweather-$pkgver.tar.xz
remove-locale-dependant-test.patch"
build() {
meson \
--prefix=/usr \
--buildtype=plain \
--sysconfdir=/etc \
--buildtype=plain \
-Dgtk_doc=true \
-Denable_vala=true \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
dev() {
default_dev
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/glade/catalogs "$subpkgdir"/usr/share/
}
sha512sums="0f89d4f7faa9582b4b717b29ca60f6dbaa43614ac1e6aa7da8542595f2db2b4c2a1c5f77ed0d2822e6e358665873db03383846b11e797d78cc993f20fd4472a2 libgweather-3.36.0.tar.xz
73ddf302a64e8e03a2a0cb8e2b61b14af27d09d01687a4431da5a8d0394fe71c760a3654a5ffe518c6b3176f76b89bc46742cbea61909d849d6398cf60f6b5e5 remove-locale-dependant-test.patch"
|