summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2020-02-26 20:54:56 +0000
committerjao <jao@gnu.org>2020-02-26 20:54:56 +0000
commitf97d2fea2756f8936dd4cbc895bd945d1547699f (patch)
tree4396de174bef9cfd07a38355c55d51967bd2214a /xmobar.cabal
parent3b185461108d3d7614d9d8cf854e3434797ec5ed (diff)
downloadxmobar-f97d2fea2756f8936dd4cbc895bd945d1547699f.tar.gz
xmobar-f97d2fea2756f8936dd4cbc895bd945d1547699f.tar.bz2
Version 0.330.33
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal9
1 files changed, 5 insertions, 4 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index b29b987..c2089f4 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.32
+version: 0.33
homepage: http://xmobar.org
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
@@ -213,16 +213,17 @@ library
exposed-modules: Xmobar.Plugins.Mail, Xmobar.Plugins.MBox
cpp-options: -DINOTIFY
+ if flag(with_iwlib) || flag(with_nl80211) || flag(all_extensions)
+ exposed-modules: Xmobar.Plugins.Monitors.Wireless
+
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)
+ if !flag(with_iwlib) && (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)