aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxappearance
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-24 19:15:23 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-11-24 15:27:01 -0500
commit6e0c9cb51a860b01998da2a380cb1587062cbfc2 (patch)
tree50744dc8614b64f72973649615ee177e6433db46 /desktop/lxappearance
parente91bf4bee2e3750cf5b9abdf003e6cbb8e2cc93e (diff)
desktop/lxappearance: Add a dbus support switch.
This is needed to comunicate with lxsession Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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