aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3e2708303ceb..47945eed39d8 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 63c080f2e6de..7286f6cf5173 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