# Template file for 'libgdata'
pkgname=libgdata
version=0.15.0
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config flex intltool gobject-introspection"
makedepends="json-glib-devel>=1.0 gtk+3-devel uhttpmock-devel liboauth-devel gcr-devel gnome-online-accounts-devel"
short_desc="Library for accessing GData webservices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://live.gnome.org/libgdata"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=4845359248d8623d51e766fdc3eceaffaafa7a8a1fe8bec426b7604b711ae198

libgdata-devel_package() {
	depends="glib-devel libxml2-devel libsoup-gnome-devel liboauth-devel
		gcr-devel gnome-online-accounts-devel json-glib-devel>=1.0
		uhttpmock-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/gir-1.0
		vmove "usr/lib/*.so"
	}
}
