diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-04-22 14:41:02 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-04-22 14:41:02 +0000 |
commit | 02c55ed38da3d2e1d3e082686105a6d21c79327d (patch) | |
tree | 9df1092e7dac264aa6d3858253f88b1496b7781f /media-sound/ncmpcpp | |
parent | Remove mikuuter-0.0.2.12.ebuild (diff) | |
download | gentoo-2-02c55ed38da3d2e1d3e082686105a6d21c79327d.tar.gz gentoo-2-02c55ed38da3d2e1d3e082686105a6d21c79327d.tar.bz2 gentoo-2-02c55ed38da3d2e1d3e082686105a6d21c79327d.zip |
Version bump.
(Portage version: 2.2.0_alpha30/cvs/Linux i686)
Diffstat (limited to 'media-sound/ncmpcpp')
-rw-r--r-- | media-sound/ncmpcpp/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.5.7.ebuild | 69 |
2 files changed, 75 insertions, 1 deletions
diff --git a/media-sound/ncmpcpp/ChangeLog b/media-sound/ncmpcpp/ChangeLog index 27010d913db9..8696786237a9 100644 --- a/media-sound/ncmpcpp/ChangeLog +++ b/media-sound/ncmpcpp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/ncmpcpp # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ChangeLog,v 1.47 2011/02/11 12:24:05 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ChangeLog,v 1.48 2011/04/22 14:41:02 jer Exp $ + +*ncmpcpp-0.5.7 (22 Apr 2011) + + 22 Apr 2011; Jeroen Roovers <jer@gentoo.org> +ncmpcpp-0.5.7.ebuild: + Version bump. 11 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> ncmpcpp-0.5.6.ebuild: x86 stable wrt bug #353652 diff --git a/media-sound/ncmpcpp/ncmpcpp-0.5.7.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.5.7.ebuild new file mode 100644 index 000000000000..8fc59fba7e34 --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.5.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ncmpcpp-0.5.7.ebuild,v 1.1 2011/04/22 14:41:02 jer Exp $ + +EAPI="2" +inherit bash-completion eutils + +DESCRIPTION="An ncurses mpd client, ncmpc clone with some new features, written in C++" +HOMEPAGE="http://unkart.ovh.org/ncmpcpp" +SRC_URI="http://unkart.ovh.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +IUSE="bash-completion clock curl fftw iconv outputs taglib unicode visualizer" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86" + +DEPEND="sys-libs/ncurses[unicode?] + >=media-libs/libmpdclient-2.1 + curl? ( net-misc/curl ) + visualizer? ( fftw? ( sci-libs/fftw:3.0 ) ) + iconv? ( virtual/libiconv ) + taglib? ( media-libs/taglib )" +RDEPEND="$DEPEND" + +src_configure() { + local myconf="" + if use fftw; then + myconf="$(use_with visualizer fftw)" + if ! use visualizer; then + ewarn "For the fftw USE flag to have any effect, you must also" + ewarn "enable the visualizer USE flag." + fi + else + myconf="--without-fftw" + fi + econf \ + ${myconf} \ + $(use_enable clock) \ + $(use_enable outputs) \ + $(use_enable unicode) \ + $(use_enable visualizer) \ + $(use_with curl) \ + $(use_with iconv) \ + $(use_with taglib) +} + +src_install() { + emake install DESTDIR="${D}" || die "install failed" + + # use dodoc instead of upstream's doc install which does not compress + rm -rf "${D}"/usr/share/doc/${PN} + dodoc AUTHORS NEWS doc/config doc/keys || die "dodoc failed" + + dobashcompletion doc/${PN}-completion.bash ${PN} +} + +pkg_postinst() { + echo + elog "Example configuration files have been installed at" + elog "${ROOT}usr/share/doc/${PF}" + elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/keys" + elog "as user configuration files." + echo + if use visualizer; then + elog "If you want to use the visualizer, you need mpd with fifo enabled." + echo + fi + bash-completion_pkg_postinst +} |