# Template file for 'libgweather'
pkgname=libgweather
version=3.12.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>=2.46 gtk+3-devel vala-devel gnome-icon-theme"
depends="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/${version%.*}/$pkgname-$version.tar.xz"
checksum=54ef096350d7774ab1b3f23ed768246301cdcedfaa762a2c46920bf87fcc1c37

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