summaryrefslogtreecommitdiff
path: root/desktop/lxappearance
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
parentdd634581ab75b056993a358414a7c05936879fd4 (diff)
downloadslackbuilds-3ef2285e3c5455fc1ab2e788d819a557395244db.tar.gz
desktop/lxappearance: Make GTK3 support optional.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/lxappearance')
-rw-r--r--desktop/lxappearance/README8
-rw-r--r--desktop/lxappearance/lxappearance.SlackBuild9
2 files changed, 13 insertions, 4 deletions
diff --git a/desktop/lxappearance/README b/desktop/lxappearance/README
index 3e2708303c..47945eed39 100644
--- a/desktop/lxappearance/README
+++ b/desktop/lxappearance/README
@@ -2,4 +2,10 @@ LXAppearance is the standard theme switcher of LXDE. Users are able to
change the theme, icons, and fonts used by applications easily.
If you want to build this without dbus support (ex. you are building
-not to use this inside of LXDE) pass the script DBUS=no
+not to use this inside of LXDE) pass to the script the switch:
+
+ DBUS=no
+
+If you want to build this for GTK+3, pass to the script the switch
+
+ GTK3=yes
diff --git a/desktop/lxappearance/lxappearance.SlackBuild b/desktop/lxappearance/lxappearance.SlackBuild
index 63c080f2e6..7286f6cf51 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