diff options
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index b87d740..ecafe1d 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -1,5 +1,5 @@ name: xmobar -version: 0.12 +version: 0.13 homepage: http://projects.haskell.org/xmobar/ bug-reports: http://code.google.com/p/xmobar/issues synopsis: A Minimalistic Text Based Status Bar @@ -57,6 +57,10 @@ flag with_alsa description: Use alsa-mixer to get the volume from soundcards. default: False +flag with_datezone + description: Enables localized date support + default: False + executable xmobar hs-source-dirs: src main-is: Main.hs @@ -69,8 +73,10 @@ executable xmobar Plugins.Monitors.CoreTemp, Plugins.Monitors.CpuFreq, Plugins.Monitors.Cpu, Plugins.Monitors.Disk, Plugins.Monitors.Mem, Plugins.Monitors.MultiCpu, Plugins.Monitors.Net, - Plugins.Monitors.Swap, Plugins.Monitors.Thermal, Plugins.Monitors.Top, - Plugins.Monitors.Uptime, Plugins.Monitors.Weather + Plugins.Monitors.Swap, Plugins.Monitors.Thermal, + Plugins.Monitors.ThermalZone, Plugins.Monitors.Top, + Plugins.Monitors.Uptime, Plugins.Monitors.Weather, + Plugins.Monitors.Bright ghc-prof-options: -prof -auto-all @@ -110,7 +116,7 @@ executable xmobar cpp-options: -DIWLIB if flag(with_mpd) || flag(all_extensions) - build-depends: libmpd >= 0.5 + build-depends: libmpd >= 0.6 other-modules: Plugins.Monitors.MPD cpp-options: -DLIBMPD @@ -118,3 +124,8 @@ executable xmobar build-depends: alsa-mixer == 0.1.* other-modules: Plugins.Monitors.Volume cpp-options: -DALSA + + if flag(with_datezone) || flag(all_extensions) + build-depends: timezone-olson, timezone-series + other-modules: Plugins.DateZone + cpp-options: -DDATEZONE |