aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxappearance
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/lxappearance')
-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 b61853913fc90..3e2708303ceb0 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 5332fa1419194..2602ef469ea57 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