summaryrefslogtreecommitdiff
path: root/x11-misc/xmobar
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/xmobar
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r--x11-misc/xmobar/Manifest5
-rw-r--r--x11-misc/xmobar/metadata.xml20
-rw-r--r--x11-misc/xmobar/xmobar-0.20.1-r1.ebuild70
-rw-r--r--x11-misc/xmobar/xmobar-0.21.ebuild65
-rw-r--r--x11-misc/xmobar/xmobar-0.22.1.ebuild68
-rw-r--r--x11-misc/xmobar/xmobar-0.23.1.ebuild89
-rw-r--r--x11-misc/xmobar/xmobar-0.23.ebuild75
7 files changed, 392 insertions, 0 deletions
diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest
new file mode 100644
index 00000000000..7ac78eb9a31
--- /dev/null
+++ b/x11-misc/xmobar/Manifest
@@ -0,0 +1,5 @@
+DIST xmobar-0.20.1.tar.gz 83871 SHA256 73cb4bbb1186dbdd89b9dd75df95eb8bfe7a74bd6c41898de4b9e3c88c7d4e9a SHA512 b3fe69024a26bd8bc1728fced5f3c69afeb0b462c7b44acada3a6744ee686a789ceff260519bdc0feb398b520a5fc86b4ca1d8addfe8b51bfe95769ca6f8323a WHIRLPOOL bb0a4661b78e816dd29b55ed0f2f5f9b62ac0efc9ee102d30c3dd1ddde498a481cf6c7559800f75ed43e114294019b69a46d8299c54efd53cb7ce8b4fc3df631
+DIST xmobar-0.21.tar.gz 85387 SHA256 f576b6c090db0d8ea8497106dfa8098c529ec620d41d5e2791a47e04d0d20fc0 SHA512 0dd6e348ff05cb72d21491ee7c8b157b5da238fee569f4a30bf702f08b39aa648e7b51413864ffb333dbb80537d1f165532d52e86ae53e81e673d20e11d80859 WHIRLPOOL dc2707cfa9e0a496a178791a3082a8d10e579f4b5e4c1961fe091e13aa2eda47a5b55ef400fc4f7f484a3f68175cb6b5af6e763ddeb0a96baf2062ebdd3d7a60
+DIST xmobar-0.22.1.tar.gz 92790 SHA256 9feb62064e1eb85edce6ffbc4d9b5e1a3dd6a9d12970cb4674c475301de3dc56 SHA512 2f824e87502b0b7901583a2cbb95cbc8c34f12d031da56a4dab2427676aba91bb54bafe631c1e637422b5a6f250f7d4f1dcf51597c6f7192db01341baa6a1e9a WHIRLPOOL 24134f22861e45443d48c0ea1cbde3b664c97fd768f2e544fbc0f7da1f6066313bb6de8894e0728bfec554a893c1612052a5bb562622f7ea344f2c9b5a4a444d
+DIST xmobar-0.23.1.tar.gz 96169 SHA256 3b31558373bdb8561f06440da902dd0db8398e5c774fa027931785c263f5567a SHA512 0215c02d32d90efff4d041d48b663755ccfb1944281f8a2cabb3e88cc9fd77221da03dd709b9c96f5ca8d7204561fe33fdabf37a2d919a83374df71909cc5978 WHIRLPOOL 9357a6bb809c7fe65ac8fd2c52eba9807d41b358bac10417416fa8b9aa1bb17c8cd62495b102d56c8ff1cd8ed2550a33fad3bfce0b56510968308418b4a7e352
+DIST xmobar-0.23.tar.gz 95874 SHA256 bbe567762ce093b7be28bebb3c9669a16e9e57025da5130564ed57d448ab835a SHA512 5853a9d2479efbd217153a28416c37d68184335e184722bbdcd350bb015c99dc154817da6ba8ccb9120b6d5403d391d7cd792e38112dff3ee94c7d2e0d131eaf WHIRLPOOL 975483fbda6fb70f0a5a44f5dd8addc0b1e5bc411844eeab42bc90e7e93b5064c0fa3a71c30488c63b3a82d76bb176d705ea3ce264626c2fa5c1cd4776de59ff
diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml
new file mode 100644
index 00000000000..e4837ee8bce
--- /dev/null
+++ b/x11-misc/xmobar/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='mpd'>Support mpd plugin</flag>
+ <flag name='mpris'>Enables MPRIS v1, v2 support</flag>
+ <flag name='timezone'>Enables localized date support</flag>
+ </use>
+ <longdescription>
+ Xmobar is a minimalistic text based status bar.
+
+ Inspired by the Ion3 status bar, it supports similar
+ features, like dynamic color management, output templates,
+ and extensibility through plugins.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/xmobar/xmobar-0.20.1-r1.ebuild b/x11-misc/xmobar/xmobar-0.20.1-r1.ebuild
new file mode 100644
index 00000000000..eadaa767f25
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://projects.haskell.org/xmobar/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi xft"
+
+RDEPEND="x11-libs/libXrandr
+ wifi? ( net-wireless/wireless-tools )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8.0.2
+ >=dev-haskell/http-4000
+ >=dev-haskell/mtl-2.0 <dev-haskell/mtl-2.3
+ >=dev-haskell/parsec-3.1 <dev-haskell/parsec-3.2
+ dev-haskell/regex-compat
+ >=dev-haskell/stm-2.3 <dev-haskell/stm-2.5
+ >=dev-haskell/utf8-string-0.3 <dev-haskell/utf8-string-0.4
+ >=dev-haskell/x11-1.6.1
+ >=dev-lang/ghc-6.12.1
+ alsa? ( >=dev-haskell/alsa-core-0.5 <dev-haskell/alsa-core-0.6
+ >=dev-haskell/alsa-mixer-0.2 <dev-haskell/alsa-mixer-0.3 )
+ dbus? ( >=dev-haskell/dbus-0.10 )
+ inotify? ( >=dev-haskell/hinotify-0.3 <dev-haskell/hinotify-0.4 )
+ mpd? ( >=dev-haskell/libmpd-0.8 <dev-haskell/libmpd-0.9 )
+ mpris? ( >=dev-haskell/dbus-0.10 )
+ timezone? ( >=dev-haskell/timezone-olson-0.1 <dev-haskell/timezone-olson-0.2
+ >=dev-haskell/timezone-series-0.1 <dev-haskell/timezone-series-0.2 )
+ xft? ( >=dev-haskell/x11-xft-0.2 <dev-haskell/x11-xft-0.4 )
+"
+
+src_prepare() {
+ cabal_chdeps \
+ 'mtl >= 2.0 && < 2.2' 'mtl >= 2.0 && < 2.3'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag xft with_xft)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmobar/xmobar-0.21.ebuild b/x11-misc/xmobar/xmobar-0.21.ebuild
new file mode 100644
index 00000000000..87b7739d94e
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.21.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.3.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi xft"
+
+RDEPEND="x11-libs/libXrandr
+ wifi? ( net-wireless/wireless-tools )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+ >=dev-haskell/http-4000
+ >=dev-haskell/mtl-2.0 <dev-haskell/mtl-2.3
+ >=dev-haskell/parsec-3.1 <dev-haskell/parsec-3.2
+ dev-haskell/regex-compat
+ >=dev-haskell/stm-2.3 <dev-haskell/stm-2.5
+ >=dev-haskell/utf8-string-0.3 <dev-haskell/utf8-string-0.4
+ >=dev-haskell/x11-1.6.1
+ >=dev-lang/ghc-7.4.1
+ alsa? ( >=dev-haskell/alsa-core-0.5 <dev-haskell/alsa-core-0.6
+ >=dev-haskell/alsa-mixer-0.2 <dev-haskell/alsa-mixer-0.3 )
+ dbus? ( >=dev-haskell/dbus-0.10 )
+ inotify? ( >=dev-haskell/hinotify-0.3 <dev-haskell/hinotify-0.4 )
+ mpd? ( >=dev-haskell/libmpd-0.8 <dev-haskell/libmpd-0.9 )
+ mpris? ( >=dev-haskell/dbus-0.10 )
+ timezone? ( >=dev-haskell/timezone-olson-0.1 <dev-haskell/timezone-olson-0.2
+ >=dev-haskell/timezone-series-0.1 <dev-haskell/timezone-series-0.2 )
+ xft? ( >=dev-haskell/x11-xft-0.2 <dev-haskell/x11-xft-0.4 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag xft with_xft)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmobar/xmobar-0.22.1.ebuild b/x11-misc/xmobar/xmobar-0.22.1.ebuild
new file mode 100644
index 00000000000..26b8e7ef17e
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.22.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi xft xpm"
+
+RDEPEND="x11-libs/libXrandr
+ wifi? ( net-wireless/wireless-tools )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+ >=dev-haskell/http-4000
+ >=dev-haskell/mtl-2.1 <dev-haskell/mtl-2.3
+ >=dev-haskell/parsec-3.1 <dev-haskell/parsec-3.2
+ dev-haskell/regex-compat
+ >=dev-haskell/stm-2.3 <dev-haskell/stm-2.5
+ dev-haskell/transformers
+ >=dev-haskell/utf8-string-0.3 <dev-haskell/utf8-string-0.4
+ >=dev-haskell/x11-1.6.1
+ >=dev-lang/ghc-7.4.1
+ alsa? ( >=dev-haskell/alsa-core-0.5 <dev-haskell/alsa-core-0.6
+ >=dev-haskell/alsa-mixer-0.2 <dev-haskell/alsa-mixer-0.3 )
+ dbus? ( >=dev-haskell/dbus-0.10 )
+ inotify? ( >=dev-haskell/hinotify-0.3 <dev-haskell/hinotify-0.4 )
+ mpd? ( >=dev-haskell/libmpd-0.9 <dev-haskell/libmpd-0.10 )
+ mpris? ( >=dev-haskell/dbus-0.10 )
+ timezone? ( >=dev-haskell/timezone-olson-0.1 <dev-haskell/timezone-olson-0.2
+ >=dev-haskell/timezone-series-0.1 <dev-haskell/timezone-series-0.2 )
+ xft? ( >=dev-haskell/x11-xft-0.2 <dev-haskell/x11-xft-0.4 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmobar/xmobar-0.23.1.ebuild b/x11-misc/xmobar/xmobar-0.23.1.ebuild
new file mode 100644
index 00000000000..9ecbc72a887
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.23.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi xft xpm"
+
+RDEPEND=">=dev-haskell/http-4000.2.4:=
+ >=dev-haskell/mtl-2.1:= <dev-haskell/mtl-2.3:=
+ dev-haskell/old-locale:=
+ >=dev-haskell/parsec-3.1:= <dev-haskell/parsec-3.2:=
+ dev-haskell/regex-compat:=
+ >=dev-haskell/stm-2.3:= <dev-haskell/stm-2.5:=
+ dev-haskell/transformers:=
+ >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:=
+ >=dev-haskell/x11-1.6.1:=
+ >=dev-lang/ghc-7.4.1:=
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ alsa? ( >=dev-haskell/alsa-core-0.5:= <dev-haskell/alsa-core-0.6:=
+ >=dev-haskell/alsa-mixer-0.2:= <dev-haskell/alsa-mixer-0.3:= )
+ dbus? ( >=dev-haskell/dbus-0.10:= )
+ inotify? ( >=dev-haskell/hinotify-0.3:= <dev-haskell/hinotify-0.4:= )
+ mpd? ( >=dev-haskell/libmpd-0.9:= <dev-haskell/libmpd-0.10:= )
+ mpris? ( >=dev-haskell/dbus-0.10:= )
+ timezone? ( >=dev-haskell/timezone-olson-0.1:= <dev-haskell/timezone-olson-0.2:=
+ >=dev-haskell/timezone-series-0.1:= <dev-haskell/timezone-series-0.2:= )
+ wifi? ( net-wireless/wireless-tools )
+ xft? ( >=dev-haskell/x11-xft-0.2:= <dev-haskell/x11-xft-0.4:= )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+ # xmobar is an idle multithreaded program
+ # which sits in 'while { sleep(1); }'
+ # loops in multiple threads.
+ # It has a pathological behaviour in GHC:
+ # everything program does is thread context switch
+ # 100 times per second. It's easily seen with
+ #
+ # $ strace -f -p `pidof xmobar`
+ #
+ # where rt_sigreturn() manages to enter/exit
+ # kernel 32 times in each second to do nothing
+ # This workaround allows shrinkng wakeups/thread
+ # switches down to one per second (internal xmobar's
+ # cycle).
+ # Be careful when remove it :]
+ HCFLAGS+=" -with-rtsopts=-V0"
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
diff --git a/x11-misc/xmobar/xmobar-0.23.ebuild b/x11-misc/xmobar/xmobar-0.23.ebuild
new file mode 100644
index 00000000000..1e814f4023e
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.23.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A Minimalistic Text Based Status Bar"
+HOMEPAGE="http://xmobar.org"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus inotify mpd mpris timezone wifi xft xpm"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libXrender
+ wifi? ( net-wireless/wireless-tools )
+ xpm? ( x11-libs/libXpm )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+ >=dev-haskell/http-4000.2.4
+ >=dev-haskell/mtl-2.1 <dev-haskell/mtl-2.3
+ dev-haskell/old-locale
+ >=dev-haskell/parsec-3.1 <dev-haskell/parsec-3.2
+ dev-haskell/regex-compat
+ >=dev-haskell/stm-2.3 <dev-haskell/stm-2.5
+ dev-haskell/transformers
+ >=dev-haskell/utf8-string-0.3 <dev-haskell/utf8-string-1.1
+ >=dev-haskell/x11-1.6.1
+ >=dev-lang/ghc-7.4.1
+ alsa? ( >=dev-haskell/alsa-core-0.5 <dev-haskell/alsa-core-0.6
+ >=dev-haskell/alsa-mixer-0.2 <dev-haskell/alsa-mixer-0.3 )
+ dbus? ( >=dev-haskell/dbus-0.10 )
+ inotify? ( >=dev-haskell/hinotify-0.3 <dev-haskell/hinotify-0.4 )
+ mpd? ( >=dev-haskell/libmpd-0.9 <dev-haskell/libmpd-0.10 )
+ mpris? ( >=dev-haskell/dbus-0.10 )
+ timezone? ( >=dev-haskell/timezone-olson-0.1 <dev-haskell/timezone-olson-0.2
+ >=dev-haskell/timezone-series-0.1 <dev-haskell/timezone-series-0.2 )
+ xft? ( >=dev-haskell/x11-xft-0.2 <dev-haskell/x11-xft-0.4 )
+"
+
+src_prepare() {
+ cabal_chdeps \
+ "utf8-string == 0.3.*" "utf8-string >= 0.3 && <1.1"
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-all_extensions \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag dbus with_dbus) \
+ $(cabal_flag inotify with_inotify) \
+ $(cabal_flag wifi with_iwlib) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag mpris with_mpris) \
+ --flag=with_threaded \
+ --flag=with_utf8 \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}