# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Newbyte 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 "