diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-24 19:15:23 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-24 15:27:01 -0500 |
commit | 6e0c9cb51a860b01998da2a380cb1587062cbfc2 (patch) | |
tree | 50744dc8614b64f72973649615ee177e6433db46 /desktop | |
parent | e91bf4bee2e3750cf5b9abdf003e6cbb8e2cc93e (diff) | |
download | slackbuilds-6e0c9cb51a860b01998da2a380cb1587062cbfc2.tar.gz |
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')
-rw-r--r-- | desktop/lxappearance/README | 3 | ||||
-rw-r--r-- | desktop/lxappearance/lxappearance.SlackBuild | 8 |
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 |