aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxappearance/lxappearance.SlackBuild
diff options
context:
space:
mode:
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