summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/lxappearance/README3
-rw-r--r--desktop/lxappearance/lxappearance.SlackBuild8
2 files changed, 10 insertions, 1 deletions
diff --git a/desktop/lxappearance/README b/desktop/lxappearance/README
index b61853913f..3e2708303c 100644
--- a/desktop/lxappearance/README
+++ b/desktop/lxappearance/README
@@ -1,2 +1,5 @@
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
diff --git a/desktop/lxappearance/lxappearance.SlackBuild b/desktop/lxappearance/lxappearance.SlackBuild
index 5332fa1419..2602ef469e 100644
--- a/desktop/lxappearance/lxappearance.SlackBuild
+++ b/desktop/lxappearance/lxappearance.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=lxappearance
VERSION=${VERSION:-0.5.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -36,6 +36,10 @@ else
LIBDIRSUFFIX=""
fi
+DBUS=${DBUS:-yes}
+DBUS_SUPPORT="--enable-dbus"
+[ "$DBUS" = "no" ] && DBUS_SUPPORT=""
+
set -e
rm -rf $PKG
@@ -58,6 +62,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--sysconfdir=/etc \
+ --disable-static \
+ $DBUS_SUPPORT \
--build=$ARCH-slackware-linux
make V=1