1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools git-r3
7 DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc"
8 HOMEPAGE="https://ncmpcpp.rybczak.net/"
9 EGIT_REPO_URI="https://repo.or.cz/ncmpcpp.git"
14 IUSE="clock outputs taglib visualizer"
17 !dev-libs/boost:0/1.57.0
18 >=media-libs/libmpdclient-2.1
19 dev-libs/boost:=[icu,nls,threads]
22 sys-libs/ncurses:=[unicode]
24 taglib? ( media-libs/taglib )
25 visualizer? ( sci-libs/fftw:3.0= )
35 sed -i -e '/^docdir/d' {,doc/}Makefile.am || die
36 sed -i -e 's|COPYING||g' Makefile.am || die
44 $(use_enable outputs) \
45 $(use_enable visualizer) \
47 $(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."