# Template file for 'libsocialweb'
pkgname=libsocialweb
version=0.25.20
revision=3
build_style=gnu-configure
configure_args="--enable-all-services=yes --with-online=always
--enable-vala-bindings"
hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection"
makedepends="vala-devel rest-devel dbus-glib-devel libgnome-keyring-devel
 GConf-devel json-glib-devel libsoup-gnome-devel"
short_desc="A personal social data server"
homepage="http://gnome.org"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/0.25/$pkgname-$version.tar.xz"
checksum=eb0078f44eb5fc4570fcee26c5670a433ca1bb83be0cead421a4a03e7d838ff5
long_desc="
 libfolks is a library that aggregates people from multiple sources (eg,
 Telepathy connection managers and eventually evolution data server, Facebook,
 etc.) to create metacontacts. It's written in Vala (in part to evaluate Vala).
 The initial goal is for GObject/C support, though the Vala bindings should
 basically automatic."

libsocialweb-devel_package() {
	depends="dbus-glib-devel rest-devel libsoup-gnome-devel libsocialweb>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove usr/share/vala
	}
}

libsocialweb_package() {
	pkg_install() {
		vmove usr
	}
}
