# Template file for 'libgweather' pkgname=libgweather version=3.28.1 revision=1 build_style=meson build_options="gir" configure_args="-Denable_vala=$(vopt_if gir true false) -Dzoneinfo_dir=/usr/share/zoneinfo" hostmakedepends="glib-devel gobject-introspection intltool pkg-config $(vopt_if gir vala-devel)" makedepends="geocode-glib-devel gtk+3-devel libsoup-gnome-devel" checkdepends="tzdata" short_desc="GNOME Weather information access library" maintainer="Enno Boland " license="LGPL-2.1-or-later" homepage="http://www.gnome.org/" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=157a8388532a751b36befff424b11ed913b2c43689b62cd2060f6847eb730be3 nocross="requires gobject-introspection" if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi libgweather-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision} gtk+3-devel" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 vmove usr/share/vala fi } }