# Template file for 'gnome-weather'
pkgname=gnome-weather
version=3.18.1
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils glib-devel
 $(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel gjs-devel libgweather-devel"
depends="desktop-file-utils"
short_desc="Access current weather conditions and forecasts for GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=d0cbe0ee6e9f9332e30836d72c9a462ecc908a97402943c33cd6e61d08323fdf

build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
	build_options_default+=" gir"
fi
