summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-08-13 15:11:55 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-08-13 15:12:11 +0200
commit359769944a8cb0ac80537458af0e49cc8f68d01b (patch)
tree484068988be1571b25ff0a81c7e74cb9cd579325 /xmobar.cabal
parent73837127825529d44e2e0d4ed440da0d7b180020 (diff)
parent05f268c3a831325f65a662c6ccdff75a1c441d83 (diff)
downloadxmobar-359769944a8cb0ac80537458af0e49cc8f68d01b.tar.gz
xmobar-359769944a8cb0ac80537458af0e49cc8f68d01b.tar.bz2
Merge for pull request #53
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index a9b89e9..54f932e 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -65,6 +65,10 @@ flag with_mpris
description: MPRIS v1, v2 support
default: False
+flag with_dbus
+ description: Publish a Service on the Session Bus for controlling xmobar
+ default: False
+
flag with_threaded
description: Use threaded runtime
default: False
@@ -165,3 +169,8 @@ executable xmobar
build-depends: dbus >= 0.10
other-modules: Plugins.Monitors.Mpris
cpp-options: -DMPRIS
+
+ if flag(with_dbus) || flag(all_extensions)
+ build-depends: dbus >= 0.10
+ other-modules: IPC.DBus
+ cpp-options: -DDBUS