/[gentoo-x86]/media-sound/ncmpcpp/ncmpcpp-0.6.1.ebuild
Gentoo

Contents of /media-sound/ncmpcpp/ncmpcpp-0.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Nov 24 16:07:19 2014 UTC (4 years, 11 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Install example configuration files (bug #527912).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ncmpcpp-0.6.1.ebuild,v 1.1 2014/11/08 20:13:34 jer Exp $
4
5 EAPI=5
6 inherit bash-completion-r1 eutils
7
8 DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc"
9 HOMEPAGE="http://ncmpcpp.rybczak.net/"
10 SRC_URI="http://ncmpcpp.rybczak.net/stable/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
15 IUSE="clock curl outputs taglib unicode visualizer"
16
17 RDEPEND="
18 >=media-libs/libmpdclient-2.1
19 curl? ( net-misc/curl )
20 dev-libs/boost[nls]
21 sys-libs/ncurses[unicode?]
22 sys-libs/readline
23 taglib? ( media-libs/taglib )
24 visualizer? ( sci-libs/fftw:3.0 )
25 "
26 DEPEND="
27 ${RDEPEND}
28 virtual/pkgconfig
29 "
30
31 src_prepare() {
32 sed -i -e '/^docdir/d' {,doc/}Makefile{.am,.in} || die
33 sed -i -e 's|COPYING||g' Makefile{.am,.in} || die
34 }
35
36 src_configure() {
37 econf \
38 $(use_enable clock) \
39 $(use_enable outputs) \
40 $(use_enable unicode) \
41 $(use_enable visualizer) \
42 $(use_with curl) \
43 $(use_with taglib) \
44 $(use_with visualizer fftw) \
45 --docdir=/usr/share/doc/${PF}
46 }
47
48 src_install() {
49 default
50
51 newbashcomp doc/${PN}-completion.bash ${PN}
52 }
53
54 pkg_postinst() {
55 echo
56 elog "Example configuration files have been installed at"
57 elog "${ROOT}usr/share/doc/${PF}"
58 elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/keys"
59 elog "as user configuration files."
60 echo
61 if use visualizer; then
62 elog "If you want to use the visualizer, you need mpd with fifo enabled."
63 echo
64 fi
65 }

  ViewVC Help
Powered by ViewVC 1.1.20