From 8e282d3c7ae539c77774d8f6929d70d8829d85f6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 13 Jan 2015 15:06:55 +0100 Subject: [PATCH] folks: update to 0.10.0. --- srcpkgs/folks/template | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/srcpkgs/folks/template b/srcpkgs/folks/template index 67fdef928b3..9fe58118e8c 100644 --- a/srcpkgs/folks/template +++ b/srcpkgs/folks/template @@ -1,41 +1,40 @@ # Template file for 'folks' pkgname=folks -version=0.9.6 -revision=4 +version=0.10.0 +revision=1 build_style=gnu-configure +build_options="gir" 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" + --disable-static --disable-fatal-warnings + --disable-libsocialweb-backend --disable-schemas-compile + $(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool vala-devel>=0.26 + $(vopt_if gir gobject-introspection)" makedepends=" - readline-devel>=6.3 vala-devel>=0.24 telepathy-glib-devel>=0.21 zeitgeist-devel + readline-devel>=6.3 telepathy-glib-devel>=0.21 zeitgeist-devel>=0.9.14_8 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 " license="LGPL-2.1" homepage="http://telepathy.freedesktop.org/wiki/Folks" -distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz" -checksum=a67e055b5a2724a34a80946e2940c4c0ad708cb1f4e0a09407c6b69a5e40267f +distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" +checksum=66e76bb9d095b6c0ba41e37e791e11762c67fd36498511a65085d7a39b771cc2 -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 -} +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi folks-devel_package() { - depends="telepathy-glib-devel>=0.21 - libgee08-devel>=0.12 - evolution-data-server-devel>=3.12 - folks>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${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" + vmove usr/share/vala + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + fi } }