summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal14
1 files changed, 3 insertions, 11 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 02e618f..dd46fc3 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -49,10 +49,6 @@ flag with_mpd
description: MPD support. Needs libmpd installed.
default: False
-flag with_mpd_07
- description: MPD 0.7.* support.
- default: False
-
flag all_extensions
description: Includes all optional extensions.
default: False
@@ -116,9 +112,9 @@ executable xmobar
time,
filepath,
X11 == 1.6.*,
- mtl == 2.0.*,
+ mtl >= 2.0 && < 2.2,
parsec == 3.1.*,
- stm == 2.3.*
+ stm >= 2.3 && <2.5
if flag(small_base)
build-depends:
@@ -150,13 +146,9 @@ executable xmobar
cpp-options: -DIWLIB
if flag(with_mpd) || flag(all_extensions)
+ build-depends: libmpd == 0.8.*
other-modules: Plugins.Monitors.MPD
cpp-options: -DLIBMPD
- if flag(with_mpd_07)
- build-depends: libmpd == 0.7.*
- cpp-options: -DLIBMPD_07
- else
- build-depends: libmpd == 0.8.*
if flag(with_alsa) || flag(all_extensions)
build-depends: alsa-mixer == 0.1.*