aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgweather/APKBUILD
blob: bffaff32c5fbaddc7094462c8bc07c3219047301 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgweather
pkgver=3.36.1
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
}


sha512sums="6c7090b0b6dfac61e73a398d34329cd706080a007694ceb3d47700b4f444982f8ca989dd6dfaefe85b79ffd5af9c423be4bf1bd8491ac0ba6bd15c150d97b26d  libgweather-3.36.1.tar.xz
73ddf302a64e8e03a2a0cb8e2b61b14af27d09d01687a4431da5a8d0394fe71c760a3654a5ffe518c6b3176f76b89bc46742cbea61909d849d6398cf60f6b5e5  remove-locale-dependant-test.patch"