summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal17
1 files changed, 14 insertions, 3 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 1b603ef..a413c29 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.47.2
+version: 0.49
homepage: https://codeberg.org/xmobar/xmobar
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
@@ -84,6 +84,10 @@ flag with_rtsopts
description: Use -with-rtsopts=-V0 to reduce wakeups.
default: True
+flag with_shared
+ description: Use shared libraries. Required when dependencies are built as shared libraries.
+ default: False
+
flag with_weather
description: Enable weather plugin.
default: True
@@ -101,6 +105,7 @@ library
hs-source-dirs: src
exposed-modules: Xmobar,
+ Xmobar.Plugins.Accordion,
Xmobar.Plugins.Monitors.Common.Types,
Xmobar.Plugins.Monitors.Common.Run,
Xmobar.Plugins.Monitors.Common,
@@ -145,6 +150,7 @@ library
Xmobar.X11.Text,
Xmobar.X11.Types,
Xmobar.X11.Window,
+ Xmobar.Plugins.ArchUpdates,
Xmobar.Plugins.Command,
Xmobar.Plugins.BufferedPipeReader,
Xmobar.Plugins.CommandReader,
@@ -152,6 +158,7 @@ library
Xmobar.Plugins.EWMH,
Xmobar.Plugins.HandleReader,
Xmobar.Plugins.QueueReader,
+ Xmobar.Plugins.PacmanUpdates,
Xmobar.Plugins.PipeReader,
Xmobar.Plugins.MarqueePipeReader,
Xmobar.Plugins.StdinReader,
@@ -194,15 +201,16 @@ library
build-depends:
aeson >= 1.4.7.1,
async,
- base >= 4.11.0 && < 4.19,
+ base >= 4.11.0 && < 4.21,
bytestring >= 0.10.8.2,
cairo >= 0.13,
colour >= 2.3.6,
containers,
directory,
+ extra,
extensible-exceptions == 0.1.*,
filepath,
- mtl >= 2.1 && < 2.3,
+ mtl >= 2.1 && < 2.4,
old-locale,
pango >= 0.13,
parsec == 3.1.*,
@@ -232,6 +240,9 @@ library
if flag(with_rtsopts)
cpp-options: -DRTSOPTS
+ if flag(with_shared)
+ cpp-options: -DSHARED_LIBRARIES
+
if flag(with_xrender)
build-depends: X11-xft >= 0.2
other-modules: Xmobar.X11.XRender