diff options
Diffstat (limited to 'xmobar.cabal')
| -rw-r--r-- | xmobar.cabal | 14 | 
1 files changed, 12 insertions, 2 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index f23275f..b29b987 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -40,7 +40,11 @@ flag with_inotify    default: False  flag with_iwlib -  description: Wireless info support. Required for the Wireless plugin, needs iwlib installed. +  description: Wireless info support via Wext ioctls (deprecated). Required for the Wireless plugin, needs iwlib installed. +  default: False + +flag with_nl80211 +  description: Wireless info support via nl80211. Required for the Wireless plugin on systems running Linux, the kernel.    default: False  flag with_mpd @@ -209,12 +213,18 @@ library         exposed-modules: Xmobar.Plugins.Mail, Xmobar.Plugins.MBox         cpp-options: -DINOTIFY -    if flag(with_iwlib) || flag(all_extensions) +    if flag(with_iwlib)         extra-libraries: iw         build-depends: iwlib >= 0.1.0 && < 0.2         exposed-modules: Xmobar.Plugins.Monitors.Wireless         cpp-options: -DIWLIB +    if flag(with_nl80211) || flag(all_extensions) +       build-depends: netlink >= 1.1.1.0, +                      cereal >= 0.5.8.1 +       exposed-modules: Xmobar.Plugins.Monitors.Wireless +       cpp-options: -DUSE_NL80211 +      if flag(with_mpd) || flag(all_extensions)         build-depends: libmpd >= 0.9.0.10         exposed-modules: Xmobar.Plugins.Monitors.MPD  | 
