summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2010-03-30 21:31:29 +0200
committerJose A Ortega Ruiz <jao@gnu.org>2010-03-30 21:31:29 +0200
commitf416907a72738adbbf5bd877e1fa9d91826de6ac (patch)
treeeaff726648da1d90c656a46f50a38f7e7f335269 /xmobar.cabal
parent31109fc21a7a93875471f251c8aea201b3df4926 (diff)
downloadxmobar-f416907a72738adbbf5bd877e1fa9d91826de6ac.tar.gz
xmobar-f416907a72738adbbf5bd877e1fa9d91826de6ac.tar.bz2
New (and optional) MPD monitor.
Ignore-this: 405d2dcf63efe90ea243df1c99db8ead darcs-hash:20100330193129-748be-5af6dc8af59ccaf3b71a250b02c76900716008dc.gz
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal10
1 files changed, 9 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index e4d0cb5..bad2b9a 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -35,6 +35,10 @@ flag with_iwlib
description: wireless info support. Required for the Wireless plugin, needs iwlib installed.
default: False
+flag with_mpd
+ description: mpd support. Needs libmpd installed.
+ default: False
+
executable xmobar
main-is: Main.hs
other-modules: Xmobar, Config, Parsers, Commands, XUtil, StatFS, Runnable, Plugins
@@ -72,4 +76,8 @@ executable xmobar
if flag(with_iwlib)
extra-libraries: iw
other-modules: IWlib
- cpp-options: -DIWLIB \ No newline at end of file
+ cpp-options: -DIWLIB
+
+ if flag(with_mpd)
+ build-depends: libmpd > 0.4
+ cpp-options: -DLIBMPD