1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc"
7 HOMEPAGE="https://rybczak.net/ncmpcpp/"
8 SRC_URI="https://rybczak.net/ncmpcpp/stable/${P}.tar.bz2"
12 KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86"
13 IUSE="clock curl outputs taglib visualizer"
16 !dev-libs/boost:0/1.57.0
17 >=media-libs/libmpdclient-2.1
19 dev-libs/boost:=[nls,threads]
21 sys-libs/ncurses:=[unicode]
23 curl? ( net-misc/curl )
24 taglib? ( media-libs/taglib )
25 visualizer? ( sci-libs/fftw:3.0= )
35 sed -i -e '/^docdir/d' {,doc/}Makefile{.am,.in} || die
36 sed -i -e 's|COPYING||g' Makefile{.am,.in} || die
42 $(use_enable outputs) \
43 $(use_enable visualizer) \
46 $(use_with visualizer fftw) \
53 dodoc doc/{bindings,config}
58 elog "Example configuration files have been installed at"
59 elog "${ROOT}usr/share/doc/${PF}"
60 elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/bindings"
61 elog "as user configuration files."
63 if use visualizer; then
64 elog "If you want to use the visualizer, you need mpd with fifo enabled."