From d9c51d7dc7c6f4452786e99ec5143901c9654a43 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 26 Nov 2014 11:30:50 +0100 Subject: [PATCH] evolution-data-server: workaround pkgconfig errors. --- srcpkgs/evolution-data-server/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/evolution-data-server/template b/srcpkgs/evolution-data-server/template index 50fbf2e3bdf..698a0b01ecf 100644 --- a/srcpkgs/evolution-data-server/template +++ b/srcpkgs/evolution-data-server/template @@ -1,7 +1,7 @@ # Template file for 'evolution-data-server' pkgname=evolution-data-server version=3.12.8 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-openldap --disable-uoa --with-krb5=/usr --with-nspr-includes=/usr/include/nspr @@ -18,6 +18,12 @@ homepage="http://www.gnome.org" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=06fb4b9a1137b77a53e94eb69e4aeedd8f92d1bd1cfa0175f607660dd3b30818 +post_install() { + # Fix broken pkg-config + sed -i "s|^Requires: gio-2.0, , |Requires: gio-2.0, mozilla-nspr, mozilla-nss|" \ + $DESTDIR/usr/lib/pkgconfig/evolution-data-server-1.2.pc +} + evolution-data-server-devel_package() { depends="sqlite-devel mit-krb5-devel nss-devel libical-devel libldap-devel libgdata-devel>=0.15 libsecret-devel