# Template file for 'libgweather'
pkgname=libgweather
version=3.8.2
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile 
 --enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libxml2-devel libsoup-gnome-devel gtk+3-devel>=3.8.0
 gnome-icon-theme"
short_desc="GNOME Weather information access library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=b053c1328d756a6c653e44464b7a41bec451752fa9686ade32e2e4c6e2a6deb5
long_desc="
 libgweather is a library to access weather information from online
 services for numerous locations."

libgweather-devel_package() {
	depends="gdk-pixbuf-devel gtk+3-devel libxml2-devel
		libsoup-devel ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

libgweather_package() {
	depends="gnome-icon-theme"
	pkg_install() {
		vmove all
	}
}
