From 6e0c9cb51a860b01998da2a380cb1587062cbfc2 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 24 Nov 2013 19:15:23 +0100 Subject: desktop/lxappearance: Add a dbus support switch. This is needed to comunicate with lxsession Signed-off-by: Matteo Bernardini --- desktop/lxappearance/README | 3 +++ desktop/lxappearance/lxappearance.SlackBuild | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'desktop') 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 -- cgit v1.2.3