From 4a74fb368422e53a258a80e5db748ac8176a616d Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Mon, 28 Jun 2010 23:25:56 -0500 Subject: libraries/libsoup: Detect optional gnome components. Signed-off-by: Robby Workman --- libraries/libsoup/README | 2 ++ libraries/libsoup/libsoup.SlackBuild | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libraries/libsoup/README b/libraries/libsoup/README index 19ac28d2f8..348dfefcef 100644 --- a/libraries/libsoup/README +++ b/libraries/libsoup/README @@ -1,3 +1,5 @@ Soup is an HTTP library implementation in C. It was originally part of a SOAP (Simple Object Access Protocol) implementation, but the SOAP code was later removed (and then later partially reimplemented...). + +Optional dependencies for libsoup-gnome are libproxy and gnome-keyring. diff --git a/libraries/libsoup/libsoup.SlackBuild b/libraries/libsoup/libsoup.SlackBuild index eebd325b32..9e57107e32 100644 --- a/libraries/libsoup/libsoup.SlackBuild +++ b/libraries/libsoup/libsoup.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libsoup VERSION=2.30.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,6 +65,10 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +if pkg-config --exists libproxy-1.0 gnome-keyring-1 ; then + GNOME=yes ; else GNOME=no +fi + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -72,7 +76,7 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --disable-static \ - --without-gnome \ + --with-gnome=$GNOME \ --build=$ARCH-slackware-linux make -- cgit v1.2.3-65-gdbad