blob: e7685722abc44d4f09efe9ab1d96d02b4ad741e5 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=libgweather4
pkgver=4.2.0
pkgrel=1
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="
font-cantarell
geocode-glib-dev>=3.26.4-r1
gi-docgen
glib-dev
gobject-introspection-dev
json-glib-dev
libsoup3-dev
libxml2-dev
meson
py3-gobject3
vala
"
options="!check" # Fail due to musl locale support
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/libgweather/${pkgver%.*}/libgweather-$pkgver.tar.xz"
builddir="$srcdir/libgweather-$pkgver"
build() {
abuild-meson \
-Db_lto=true \
-Dgtk_doc=true \
-Denable_vala=true \
. output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
cd95c6714575c0afc52455bb99c9116af27716868648debe0e5309904cfaf7516cf2379e415b3d9dd57b5dd223bae8e8acbaf705a3867dad8f75aec22eea908e libgweather-4.2.0.tar.xz
"
|