diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-07 01:09:44 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-07 01:09:44 +0100 |
commit | 5eb4875d0bb5ae1a93ed2ed10d783d82d075d176 (patch) | |
tree | 90f6df893a41957eb492dfdc45452580e03c6ebe /xmobar.cabal | |
parent | aa02126c47268200a5cdc860f3c1b9458fdf94b3 (diff) | |
download | xmobar-5eb4875d0bb5ae1a93ed2ed10d783d82d075d176.tar.gz xmobar-5eb4875d0bb5ae1a93ed2ed10d783d82d075d176.tar.bz2 |
New compilation flag: all_extensions
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index f0ed052..7670310 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -29,15 +29,19 @@ flag with_utf8 default: True flag with_inotify - description: inotify support (modern Linux only). Required for the Mail plugin. + description: inotify support (modern Linux only). Required for the Mail and MBox plugins. default: False flag with_iwlib - description: wireless info support. Required for the Wireless plugin, needs iwlib installed. + description: Wireless info support. Required for the Wireless plugin, needs iwlib installed. default: False flag with_mpd - description: mpd support. Needs libmpd installed. + description: MPD support. Needs libmpd installed. + default: False + +flag all_extensions + description: Includes all optional extensions. default: False executable xmobar @@ -62,23 +66,23 @@ executable xmobar else build-depends: base < 3 - if flag(with_xft) + if flag(with_xft) || flag(all_extensions) build-depends: utf8-string, X11-xft >= 0.2 cpp-options: -DXFT - if flag(with_utf8) + if flag(with_utf8) || flag(all_extensions) build-depends: utf8-string cpp-options: -DUTF8 - if flag(with_inotify) + if flag(with_inotify) || flag(all_extensions) build-depends: hinotify cpp-options: -DINOTIFY - if flag(with_iwlib) + if flag(with_iwlib) || flag(all_extensions) extra-libraries: iw other-modules: IWlib cpp-options: -DIWLIB - if flag(with_mpd) + if flag(with_mpd) || flag(all_extensions) build-depends: libmpd >= 0.5 cpp-options: -DLIBMPD |