summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2011-07-23 07:47:50 -0700
committerjao <jao@gnu.org>2011-07-23 07:47:50 -0700
commit6d438380213aaf903164ff6fa89dd768facb9bd5 (patch)
tree14d8068afb63cca955af6787ea47c7fcb3ee2c5f /xmobar.cabal
parent5d5b4a4d7e07d20eec62b5650df5d55807741a4c (diff)
parent4c1a6b350095e671eea5a4963e6b82997c5098fc (diff)
downloadxmobar-6d438380213aaf903164ff6fa89dd768facb9bd5.tar.gz
xmobar-6d438380213aaf903164ff6fa89dd768facb9bd5.tar.bz2
Merge pull request #19 from skinner33/dateZone
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