aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxappearance/lxappearance.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2017-12-18 10:39:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:23 +0700
commit3ef2285e3c5455fc1ab2e788d819a557395244db (patch)
treeaf0acf9c33ffdda0885d416512b5c6caa8099051 /desktop/lxappearance/lxappearance.SlackBuild
parentdd634581ab75b056993a358414a7c05936879fd4 (diff)
desktop/lxappearance: Make GTK3 support optional.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/lxappearance/lxappearance.SlackBuild')
-rw-r--r--desktop/lxappearance/lxappearance.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/desktop/lxappearance/lxappearance.SlackBuild b/desktop/lxappearance/lxappearance.SlackBuild
index 63c080f2e6ded..7286f6cf5173c 100644
--- a/desktop/lxappearance/lxappearance.SlackBuild
+++ b/desktop/lxappearance/lxappearance.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=lxappearance
VERSION=${VERSION:-0.6.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -40,6 +40,10 @@ DBUS=${DBUS:-yes}
DBUS_SUPPORT="--enable-dbus"
[ "$DBUS" = "no" ] && DBUS_SUPPORT=""
+
+WITHGTK3=""
+[ "${GTK3:-no}" = "yes" ] && WITHGTK3="--enable-gtk3"
+
set -e
rm -rf $PKG
@@ -62,8 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--sysconfdir=/etc \
- --disable-static \
- --enable-gtk3 \
+ $WITHGTK3 \
$DBUS_SUPPORT \
--build=$ARCH-slackware-linux