From 47f49f08195b2b39333ea667fd4587bebcec0816 Mon Sep 17 00:00:00 2001 From: Artem Tarasov Date: Wed, 21 Dec 2011 18:37:19 +0400 Subject: MPRIS plugin --- xmobar.cabal | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index 1f7b4db..ffd2cd7 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -61,6 +61,10 @@ flag with_datezone description: Enables localized date support default: False +flag with_mpris + description: MPRIS v1, v2 support + default: False + executable xmobar hs-source-dirs: src main-is: Main.hs @@ -150,3 +154,8 @@ executable xmobar build-depends: timezone-olson == 0.1.*, timezone-series == 0.1.* other-modules: Plugins.DateZone cpp-options: -DDATEZONE + + if flag(with_mpris) || flag(all_extensions) + build-depends: dbus-core >= 0.9.2.1, text >= 0.11.1.5 && < 0.12 + other-modules: Plugins.Monitors.Mpris + cpp-options: -DMPRIS -- cgit v1.2.3