From f416907a72738adbbf5bd877e1fa9d91826de6ac Mon Sep 17 00:00:00 2001 From: Jose A Ortega Ruiz Date: Tue, 30 Mar 2010 21:31:29 +0200 Subject: New (and optional) MPD monitor. Ignore-this: 405d2dcf63efe90ea243df1c99db8ead darcs-hash:20100330193129-748be-5af6dc8af59ccaf3b71a250b02c76900716008dc.gz --- xmobar.cabal | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'xmobar.cabal') 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 -- cgit v1.2.3