vp-build/srcpkgs/folks/template
2014-04-03 09:45:23 +02:00

42 lines
1.4 KiB
Plaintext

# Template file for 'folks'
pkgname=folks
version=0.9.6
revision=4
build_style=gnu-configure
configure_args="
--disable-static --disable-fatal-warnings --enable-eds-backend
--enable-vala --enable-inspect-tool --enable-tracker-backend
--disable-libsocialweb-backend --disable-schemas-compile"
hostmakedepends="pkg-config intltool which gobject-introspection"
makedepends="
readline-devel>=6.3 vala-devel>=0.24 telepathy-glib-devel>=0.21 zeitgeist-devel
libgee08-devel>=0.12 evolution-data-server-devel>=3.12 tracker-devel>=1.0"
depends="zeitgeist"
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=a67e055b5a2724a34a80946e2940c4c0ad708cb1f4e0a09407c6b69a5e40267f
pre_configure() {
# Accept tracker>=1.0
sed 's,^TRACKER_SPARQL_MAJOR.*,TRACKER_SPARQL_MAJOR=1.0,' -i configure
sed 's,^TRACKER_SPARQL_REQUIRED.*,TRACKER_SPARQL_REQUIRED=1.0,' -i configure
}
folks-devel_package() {
depends="telepathy-glib-devel>=0.21
libgee08-devel>=0.12
evolution-data-server-devel>=3.12
folks>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/vala
vmove "usr/lib/*.so"
}
}