summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-12-18 21:50:07 +0100
committer Willy Sudiarto Raharjo2017-12-21 02:19:35 +0100
commit4180efc9f870a1d7760ee67c61aea500320997b4 (patch)
tree326e187890ceee6874189e9dcd8d71b0eba1e712
parent96c2f60d11f9ce26ab87943bc8815ee475aa81e6 (diff)
downloadold.slackbuilds-4180efc9f870a1d7760ee67c61aea500320997b4.tar.gz
desktop/lxappearance-obconf: Follow lxappearance's gtk+ version.
Don't build the static library Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
index 394f36baa3..baec4cada2 100644
--- a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
+++ b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=lxappearance-obconf
VERSION=${VERSION:-0.2.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,6 +57,10 @@ else
LIBDIRSUFFIX=""
fi
+# Build against the same gtk+ version as lxappearance
+GTK3=""
+[ "$(pkg-config --libs lxappearance | grep gtk-3)" ] && GTK3="--enable-gtk3"
+
set -e
rm -rf $PKG
@@ -83,7 +87,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-gtk3 \
+ $GTK3 \
+ --disable-static \
--build=$ARCH-slackware-linux
make