# Template file for 'folks'
pkgname=folks
version=0.9.1
revision=2
build_style=gnu-configure
configure_args="--enable-vala --enable-tracker-backend"
hostmakedepends="pkg-config intltool which gobject-introspection"
makedepends="dbus-glib-devel telepathy-glib-devel>=0.19.9 libgee08-devel>=0.10
 libsocialweb-devel evolution-data-server-devel>=3.8.0 tracker-devel>=0.16
 libzeitgeist-devel"
short_desc="GObject Library to aggregate people into metacontacts"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://telepathy.freedesktop.org/wiki/Folks"
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
checksum=102b1867355d16e73a837871a058dda13c74fa385908ddda1623893ab0baee4a
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."

folks-devel_package() {
	depends="telepathy-glib-devel>=0.19.9 libgee08-devel>=0.10 libsocialweb-devel
		evolution-data-server-devel>=3.8.0 folks>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/vala
	}
}

folks_package() {
	depends="zeitgeist"
	pkg_install() {
		vmove usr
	}
}
