summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-08-21 19:48:44 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-08-21 19:48:44 +0200
commit1fab853cb8a76eb9b7c5400924a8c53b3b095712 (patch)
tree54f20fb5987904700669d67519cc45169ae78bb7 /xmobar.cabal
parent8afb450eb104e5335f4b1b976512842f7059142c (diff)
parent4a57c777bccbf169aa50411ecaed0af333ac6871 (diff)
downloadxmobar-1fab853cb8a76eb9b7c5400924a8c53b3b095712.tar.gz
xmobar-1fab853cb8a76eb9b7c5400924a8c53b3b095712.tar.bz2
Merge remote-tracking branch 'github/master'
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