desktop/lxappearance-obconf: Follow lxappearance's gtk+ version.

Don't build the static library

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-12-18 21:50:07 +01:00 committed by Willy Sudiarto Raharjo
parent 443b1e0014
commit 448c7e17f0
1 changed files with 7 additions and 2 deletions

View File

@ -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