summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-07-21 18:13:32 +0200
committerMartin Perner <martin@perner.cc>2011-07-21 18:27:40 +0200
commit4c1a6b350095e671eea5a4963e6b82997c5098fc (patch)
tree14d8068afb63cca955af6787ea47c7fcb3ee2c5f /xmobar.cabal
parent5d5b4a4d7e07d20eec62b5650df5d55807741a4c (diff)
downloadxmobar-4c1a6b350095e671eea5a4963e6b82997c5098fc.tar.gz
xmobar-4c1a6b350095e671eea5a4963e6b82997c5098fc.tar.bz2
DateZone: Added plugin for localized date
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 abdf136..ecafe1d 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -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
@@ -120,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