# Template file for 'libgdata'
pkgname=libgdata
version=0.14.0
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config flex intltool gobject-introspection"
makedepends="gtk+3-devel libsoup-gnome-devel>=2.44 liboauth-devel
 gcr-devel>=3.10 gnome-online-accounts-devel>=3.10"
depends="libsoup-gnome>=2.44 gnome-online-accounts>=3.10"
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=5d415241ae4ca5a2d952bf7f3e9a372be6bb0537b24d83a05e5fc94948d292e9

libgdata-devel_package() {
	depends="glib-devel libxml2-devel libsoup-gnome-devel>=2.44 liboauth-devel
		gcr-devel>=3.10 gnome-online-accounts-devel>=3.10
		libgdata>=${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"
	}
}
