diff options
author | jao <jao@gnu.org> | 2022-09-15 15:34:00 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-15 15:34:00 +0100 |
commit | e39f66aac6805d832e8a5bc765ba9b385a20cd16 (patch) | |
tree | d97bb6a9b32f1fa30a59cb8eab4e11727b52fdc1 /xmobar.cabal | |
parent | 123fbce476fdc8deee41785c0c20c09f0a05da8e (diff) | |
download | xmobar-e39f66aac6805d832e8a5bc765ba9b385a20cd16.tar.gz xmobar-e39f66aac6805d832e8a5bc765ba9b385a20cd16.tar.bz2 |
new flag: with_xrender
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index a2958ad..3bf1dd6 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -32,6 +32,9 @@ source-repository head location: git://codeberg.org/xmobar/xmobar.git branch: master +flag with_xrender + description: Use XRender for alpha background pseudo-transparency. + flag with_cairo description: Use Cairo and Pango to render anti-aliased text. @@ -224,14 +227,17 @@ library if flag(with_rtsopts) cpp-options: -DRTSOPTS + if flag(with_xrender) + build-depends: X11-xft >= 0.2 + other-modules: Xmobar.X11.XRender + cpp-options: -DXRENDER + if flag(with_cairo) build-depends: cairo >= 0.13, pango >= 0.13, - colour >= 2.3.6, - X11-xft >= 0.2 + colour >= 2.3.6 other-modules: Xmobar.X11.CairoSurface, - Xmobar.X11.CairoDraw, - Xmobar.X11.XRender + Xmobar.X11.CairoDraw cpp-options: -DCAIRO else other-modules: Xmobar.X11.XlibDraw |