aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgweather/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-01 17:46:49 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:33:00 +0000
commit6811603148b89d4f832814c2b8dea1e8cdabb3e3 (patch)
treee7d276780943fde10e13663160419ef421370628 /community/libgweather/APKBUILD
parent8243f11da92b19e9e2e4e0193dc12ab97d694dcd (diff)
downloadaports-6811603148b89d4f832814c2b8dea1e8cdabb3e3.tar.gz
aports-6811603148b89d4f832814c2b8dea1e8cdabb3e3.tar.bz2
aports-6811603148b89d4f832814c2b8dea1e8cdabb3e3.tar.xz
community/libgweather: upgrade to 3.32.1
* Adopt maintainership * Modernize APKBUILD * Build VAPI * Fix URL&License
Diffstat (limited to 'community/libgweather/APKBUILD')
-rw-r--r--community/libgweather/APKBUILD35
1 files changed, 15 insertions, 20 deletions
diff --git a/community/libgweather/APKBUILD b/community/libgweather/APKBUILD
index ced8306dc4..781981b2cf 100644
--- a/community/libgweather/APKBUILD
+++ b/community/libgweather/APKBUILD
@@ -1,42 +1,37 @@
-# Contributor:
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgweather
-pkgver=3.28.2
+pkgver=3.32.1
pkgrel=0
pkgdesc="GNOME weather library"
-url="https://www.gnome.org/"
+url="https://wiki.gnome.org/Projects/LibGWeather"
arch="all"
-license="LGPL"
-depends="tzdata"
-makedepends="gtk+3.0-dev libsoup-dev libxml2-dev
+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 py-six glade-dev meson ninja"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-checkdepends="gsettings-desktop-schemas"
-source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
-builddir="${srcdir}/${pkgname}-${pkgver}"
+source="https://download.gnome.org/sources/libgweather/${pkgver%.*}/libgweather-${pkgver}.tar.xz"
build() {
- mkdir -p "$builddir"/build
- cd "$builddir"/build
meson \
--prefix=/usr \
--buildtype=release \
--sysconfdir=/etc \
+ --buildtype=release \
-Dgtk_doc=true \
- ..
- ninja
+ -Denable_vala=true \
+ . output
+ ninja -C output
}
check() {
- cd "$builddir"/build
- ninja test
+ ninja -C output test
}
package() {
- cd "$builddir"/build
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="b92716f5f7d7789e12f8fd66ad23de35e921d493ebf4618f68cc669e1b9be8ae6fbb929ee9a027fefe0ad9550f0d39c8647aa0d7ad7e35f1980bee8c9de19b4e libgweather-3.28.2.tar.xz"
+sha512sums="f5ae94436fa3cceee84ff80f14296f11ab27727e3881689dd71126de158f7d0015b462163cb2b47cf30add5a4c97c89c6473c1ed0515fcaac0dde2daffdf7108 libgweather-3.32.1.tar.xz"