From 448c7e17f0b7d89c95cf67d34602b1ee93aba6a7 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 18 Dec 2017 21:50:07 +0100 Subject: desktop/lxappearance-obconf: Follow lxappearance's gtk+ version. Don't build the static library Signed-off-by: Matteo Bernardini --- desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild index 394f36baa3002..baec4cada29df 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 -- cgit v1.2.3