diff options
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index 8b331f5..7559af2 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -1,5 +1,5 @@ name: xmobar -version: 0.45 +version: 0.48 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 @@ -109,13 +113,13 @@ library other-modules: Paths_xmobar, Xmobar.Config.Types, Xmobar.Config.Parse, + Xmobar.Config.Template, Xmobar.Run.Types, Xmobar.Run.Timer, Xmobar.Run.Template, Xmobar.Run.Exec, Xmobar.Run.Runnable Xmobar.Run.Actions, - Xmobar.Run.Parsers, Xmobar.Run.Loop, Xmobar.Draw.Boxes, Xmobar.Draw.Cairo, @@ -194,7 +198,7 @@ library build-depends: aeson >= 1.4.7.1, async, - base >= 4.11.0 && < 4.17, + base >= 4.11.0 && < 4.20, bytestring >= 0.10.8.2, cairo >= 0.13, colour >= 2.3.6, @@ -202,7 +206,7 @@ library directory, 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 +236,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 @@ -255,7 +262,7 @@ library cereal >= 0.5.8.1 cpp-options: -DUSE_NL80211 - if flag(with_mpd) || flag(all_extensions) + if flag(with_mpd) || (flag(all_extensions) && impl(ghc < 9.4)) build-depends: libmpd >= 0.9.2.0 other-modules: Xmobar.Plugins.Monitors.MPD cpp-options: -DLIBMPD |