diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-01-27 06:30:24 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-01-27 06:30:24 +0000 |
commit | adb2f2b2dc764e4d4754116e8e250b59f5a0ce5a (patch) | |
tree | 42493b4baa23210095614eb24fe7bd9f434c3c2a /media-sound | |
parent | needs gtk+-1 (bug #223131) (diff) | |
download | gentoo-2-adb2f2b2dc764e4d4754116e8e250b59f5a0ce5a.tar.gz gentoo-2-adb2f2b2dc764e4d4754116e8e250b59f5a0ce5a.tar.bz2 gentoo-2-adb2f2b2dc764e4d4754116e8e250b59f5a0ce5a.zip |
Add clock useflag
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ncmpcpp/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/ncmpcpp/metadata.xml | 3 | ||||
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.3-r1.ebuild | 42 |
3 files changed, 51 insertions, 1 deletions
diff --git a/media-sound/ncmpcpp/ChangeLog b/media-sound/ncmpcpp/ChangeLog index e7f9981af7d1..1f2113f2aa08 100644 --- a/media-sound/ncmpcpp/ChangeLog +++ b/media-sound/ncmpcpp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/ncmpcpp # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ChangeLog,v 1.9 2009/01/26 13:42:22 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ChangeLog,v 1.10 2009/01/27 06:30:24 yngwin Exp $ + +*ncmpcpp-0.3-r1 (27 Jan 2009) + + 27 Jan 2009; Ben de Groot <yngwin@gentoo.org> +ncmpcpp-0.3-r1.ebuild: + Adding clock useflag *ncmpcpp-0.3 (26 Jan 2009) diff --git a/media-sound/ncmpcpp/metadata.xml b/media-sound/ncmpcpp/metadata.xml index 6e9c501620f5..9fa002ec88fa 100644 --- a/media-sound/ncmpcpp/metadata.xml +++ b/media-sound/ncmpcpp/metadata.xml @@ -6,4 +6,7 @@ <email>yngwin@gentoo.org</email> <name>Ben de Groot</name> </maintainer> + <use> + <flag name='clock'>Enable clock screen</flag> + </use> </pkgmetadata> diff --git a/media-sound/ncmpcpp/ncmpcpp-0.3-r1.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.3-r1.ebuild new file mode 100644 index 000000000000..348aed369cec --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ncmpcpp-0.3-r1.ebuild,v 1.1 2009/01/27 06:30:24 yngwin Exp $ + +EAPI="2" +inherit 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="clock curl taglib unicode" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="sys-libs/ncurses[unicode?] + curl? ( net-misc/curl ) + taglib? ( media-libs/taglib )" +RDEPEND="$DEPEND" + +src_configure() { + econf $(use_enable unicode) $(use_enable clock) \ + $(use_with curl) $(use_with taglib) +} + +src_install() { + emake install DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \ + || die "install failed" + prepalldocs +} + +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 + elog "This version of ncmpcc uses features from mpd-0.14, so" + elog "we recommend you use this with >=mpd-0.14_alpha1." + echo +} |