From 131c92ef9960d95e91794755379b65dc94aaaf35 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 1 Jan 2013 23:57:02 +0000 Subject: Version bump (bug #432152 by Adam Stylinski). (Portage version: 2.2.0_alpha149_p11/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) --- x11-misc/xmobar/ChangeLog | 10 ++++-- x11-misc/xmobar/metadata.xml | 7 ++-- x11-misc/xmobar/xmobar-0.16.ebuild | 71 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 4 deletions(-) create mode 100644 x11-misc/xmobar/xmobar-0.16.ebuild (limited to 'x11-misc/xmobar') 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 +xmobar-0.16.ebuild, + metadata.xml: + Version bump (bug #432152 by Adam Stylinski). 07 Dec 2012; Sergei Trofimovich 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 @@ Support the mail plugin. Pulls dependency dev-haskell/hinotify. - MPD status reporting via dev-haskell/libmpd. - Enables localized date support. + Support mpd plugin + Enables localized date support + Enables MPRIS v1, v2 support + + 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/stm-2.3 + =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 +} -- cgit v1.2.3-65-gdbad