# Template file for 'libgdata'
pkgname=libgdata
version=0.13.3
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config flex intltool gobject-introspection"
makedepends="gtk+3-devel>=3.8 libsoup-gnome-devel liboauth-devel
 gcr-devel>=3.8 gnome-online-accounts-devel>=3.8"
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/0.13/$pkgname-$version.tar.xz"
checksum=4bf52706b2ab404f8b128e000509acd9937facf26916d3e907a3db8653f73637
long_desc="
 libgdata is a GLib-based library for accessing online service APIs using the
 GData protocol — most notably, Google's services. It provides APIs to access
 the common Google services, and has full asynchronous support."

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

libgdata_package() {
	pkg_install() {
		vmove usr
	}
}
