mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/libsoup: Detect optional gnome components.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
424be1ba1b
commit
4a74fb3684
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
Soup is an HTTP library implementation in C. It was originally part of
|
Soup is an HTTP library implementation in C. It was originally part of
|
||||||
a SOAP (Simple Object Access Protocol) implementation, but the SOAP code
|
a SOAP (Simple Object Access Protocol) implementation, but the SOAP code
|
||||||
was later removed (and then later partially reimplemented...).
|
was later removed (and then later partially reimplemented...).
|
||||||
|
|
||||||
|
Optional dependencies for libsoup-gnome are libproxy and gnome-keyring.
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=libsoup
|
PRGNAM=libsoup
|
||||||
VERSION=2.30.1
|
VERSION=2.30.1
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -65,6 +65,10 @@ cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
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" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -72,7 +76,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var/lib \
|
--localstatedir=/var/lib \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--without-gnome \
|
--with-gnome=$GNOME \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue