summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2013-01-01 23:57:02 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2013-01-01 23:57:02 +0000
commit131c92ef9960d95e91794755379b65dc94aaaf35 (patch)
treeeefe56bd382f4adbba341f4f2364715667a1afa8 /x11-misc/xmobar
parentVersion bump. (diff)
downloadgentoo-2-131c92ef9960d95e91794755379b65dc94aaaf35.tar.gz
gentoo-2-131c92ef9960d95e91794755379b65dc94aaaf35.tar.bz2
gentoo-2-131c92ef9960d95e91794755379b65dc94aaaf35.zip
Version bump (bug #432152 by Adam Stylinski).
(Portage version: 2.2.0_alpha149_p11/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r--x11-misc/xmobar/ChangeLog10
-rw-r--r--x11-misc/xmobar/metadata.xml7
-rw-r--r--x11-misc/xmobar/xmobar-0.16.ebuild71
3 files changed, 84 insertions, 4 deletions
diff --git a/x11-misc/xmobar/ChangeLog b/x11-misc/xmobar/ChangeLog
index badf08835fb8..09a5db4f7475 100644
--- a/x11-misc/xmobar/ChangeLog
+++ b/x11-misc/xmobar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/xmobar
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v 1.19 2012/12/07 10:41:15 slyfox Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v 1.20 2013/01/01 23:57:02 slyfox Exp $
+
+*xmobar-0.16 (01 Jan 2013)
+
+ 01 Jan 2013; Sergei Trofimovich <slyfox@gentoo.org> +xmobar-0.16.ebuild,
+ metadata.xml:
+ Version bump (bug #432152 by Adam Stylinski).
07 Dec 2012; Sergei Trofimovich <slyfox@gentoo.org> xmobar-0.13.ebuild,
xmobar-0.14.ebuild:
diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml
index 96ef7f93cea2..41afa1d40fb2 100644
--- a/x11-misc/xmobar/metadata.xml
+++ b/x11-misc/xmobar/metadata.xml
@@ -7,8 +7,11 @@
</maintainer>
<use>
<flag name='mail'>Support the mail plugin. Pulls dependency dev-haskell/hinotify.</flag>
- <flag name='mpd'>MPD status reporting via <pkg>dev-haskell/libmpd</pkg>.</flag>
- <flag name='timezone'>Enables localized date support.</flag>
+ <flag name='mpd'>Support mpd plugin</flag>
+ <flag name='timezone'>Enables localized date support</flag>
+ <flag name='mpris'>Enables MPRIS v1, v2 support</flag>
+
+
</use>
<longdescription>
Xmobar is a minimalistic text based status bar.
diff --git a/x11-misc/xmobar/xmobar-0.16.ebuild b/x11-misc/xmobar/xmobar-0.16.ebuild
new file mode 100644
index 000000000000..188047828622
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.16.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/xmobar-0.16.ebuild,v 1.1 2013/01/01 23:57:02 slyfox Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3
+
+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="xft unicode mail mpd mpris alsa timezone wifi dbus"
+REQUIRED_USE="mpris? ( dbus )"
+
+RDEPEND="x11-libs/libXrandr
+ wifi? ( net-wireless/wireless-tools )
+ "
+DEPEND="${RDEPEND}
+ >=dev-lang/ghc-6.10.4
+ >=dev-haskell/cabal-1.6
+ >=dev-haskell/mtl-2.0
+ <dev-haskell/mtl-2.2
+ =dev-haskell/parsec-3.1*
+ >=dev-haskell/stm-2.3
+ <dev-haskell/stm-2.5
+ =dev-haskell/x11-1.6*
+ xft? ( =dev-haskell/utf8-string-0.3*
+ =dev-haskell/x11-xft-0.3*
+ )
+ mail? ( =dev-haskell/hinotify-0.3* )
+ mpd? ( =dev-haskell/alsa-mixer-0.1*
+ =dev-haskell/alsa-core-0.5*
+ =dev-haskell/libmpd-0.8*
+ )
+ timezone? ( =dev-haskell/timezone-olson-0.1*
+ =dev-haskell/timezone-series-0.1*
+ )
+ mpris? ( >=dev-haskell/dbus-0.10 )
+ dbus? ( >=dev-haskell/dbus-0.10 )
+ "
+RDEPEND+="mpd? ( media-sound/mpd )"
+
+src_configure() {
+ # with_threaded is to workaround http://hackage.haskell.org/trac/ghc/ticket/4934
+ # but it's broken in current master:
+ # https://github.com/jaor/xmobar/issues/77
+ cabal_src_configure \
+ --flags=-with_threaded \
+ $(cabal_flag xft with_xft) \
+ $(cabal_flag unicode with_utf8) \
+ $(cabal_flag mail with_inotify) \
+ $(cabal_flag mpd with_mpd) \
+ $(cabal_flag alsa with_alsa) \
+ $(cabal_flag timezone with_datezone) \
+ $(cabal_flag wifi with_iwlib)
+ $(cabal_flag dbus with_wbus)
+ $(cabal_flag mpris with_mpris)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}