summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-08-04 16:08:40 +0000
committerJeroen Roovers <jer@gentoo.org>2013-08-04 16:08:40 +0000
commit2218992936ae504a088cce3496ee065b47eb21b2 (patch)
treebfbe3451bea2d7a6d5ae37cb6d415306fd140e77 /media-sound
parentKeyword ~ppc (diff)
downloadgentoo-2-2218992936ae504a088cce3496ee065b47eb21b2.tar.gz
gentoo-2-2218992936ae504a088cce3496ee065b47eb21b2.tar.bz2
gentoo-2-2218992936ae504a088cce3496ee065b47eb21b2.zip
Add git ebuild.
(Portage version: 2.2.0_alpha193/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/ncmpcpp/ChangeLog9
-rw-r--r--media-sound/ncmpcpp/ncmpcpp-9999.ebuild65
2 files changed, 72 insertions, 2 deletions
diff --git a/media-sound/ncmpcpp/ChangeLog b/media-sound/ncmpcpp/ChangeLog
index 982a7ca0e095..d1b2ca3f67af 100644
--- a/media-sound/ncmpcpp/ChangeLog
+++ b/media-sound/ncmpcpp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/ncmpcpp
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ChangeLog,v 1.77 2012/12/31 17:30:59 jer Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ChangeLog,v 1.78 2013/08/04 16:08:40 jer Exp $
+
+*ncmpcpp-9999 (04 Aug 2013)
+
+ 04 Aug 2013; Jeroen Roovers <jer@gentoo.org> +ncmpcpp-9999.ebuild:
+ Add git ebuild.
31 Dec 2012; Jeroen Roovers <jer@gentoo.org> ncmpcpp-0.5.10.ebuild:
New HOMEPAGE and SRC_URI.
diff --git a/media-sound/ncmpcpp/ncmpcpp-9999.ebuild b/media-sound/ncmpcpp/ncmpcpp-9999.ebuild
new file mode 100644
index 000000000000..2989bdde1729
--- /dev/null
+++ b/media-sound/ncmpcpp/ncmpcpp-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ncmpcpp-9999.ebuild,v 1.1 2013/08/04 16:08:40 jer Exp $
+
+EAPI=5
+
+inherit autotools bash-completion-r1 eutils git-2
+
+DESCRIPTION="NCurses Music Player Client (Plus Plus)"
+HOMEPAGE="http://ncmpcpp.rybczak.net/"
+EGIT_REPO_URI="git://repo.or.cz/ncmpcpp.git"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS=""
+IUSE="bash-completion clock curl outputs taglib unicode visualizer"
+
+RDEPEND="
+ >=dev-libs/boost-1.50[nls]
+ sys-libs/ncurses[unicode?]
+ >=media-libs/libmpdclient-2.1
+ curl? ( net-misc/curl )
+ visualizer? ( sci-libs/fftw:3.0 )
+ taglib? ( media-libs/taglib )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i -e '/^docdir/d' {,doc/}Makefile.am || die
+ sed -i -e 's|COPYING||g' Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable clock) \
+ $(use_enable outputs) \
+ $(use_enable unicode) \
+ $(use_enable visualizer) \
+ $(use_with curl) \
+ $(use_with taglib) \
+ $(use_with visualizer fftw) \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ default
+ use bash-completion && newbashcomp 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
+}