diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-04-03 11:16:19 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-04-03 11:16:55 +0200 |
commit | 99450e6ad29f061feadcb6774e94b74d980a70f0 (patch) | |
tree | e99bace40445388e942c94d7c4b26398217b47f9 /media-sound/ncmpcpp | |
parent | package.mask: Correct GCC version for handystats mask (diff) | |
download | gentoo-99450e6ad29f061feadcb6774e94b74d980a70f0.tar.gz gentoo-99450e6ad29f061feadcb6774e94b74d980a70f0.tar.bz2 gentoo-99450e6ad29f061feadcb6774e94b74d980a70f0.zip |
media-sound/ncmpcpp: Depend on dev-libs/icu:=
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'media-sound/ncmpcpp')
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.8.2-r1.ebuild | 65 | ||||
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-9999.ebuild | 6 |
2 files changed, 68 insertions, 3 deletions
diff --git a/media-sound/ncmpcpp/ncmpcpp-0.8.2-r1.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.8.2-r1.ebuild new file mode 100644 index 000000000000..50bc9b2e8d63 --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.8.2-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc" +HOMEPAGE="https://rybczak.net/ncmpcpp/" +SRC_URI="${HOMEPAGE}stable/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="clock icu outputs taglib visualizer" + +RDEPEND=" + !dev-libs/boost:0/1.57.0 + >=media-libs/libmpdclient-2.1 + dev-libs/boost:=[icu?,nls,threads] + net-misc/curl + sys-libs/ncurses:= + sys-libs/readline:* + icu? ( dev-libs/icu:= ) + taglib? ( media-libs/taglib ) + visualizer? ( sci-libs/fftw:3.0= ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + + sed -i -e '/^docdir/d' {,doc/}Makefile{.am,.in} || die + sed -i -e 's|COPYING||g' Makefile{.am,.in} || die +} + +src_configure() { + econf \ + $(use_enable clock) \ + $(use_enable outputs) \ + $(use_enable visualizer) \ + $(use_with taglib) \ + $(use_with visualizer fftw) \ + --docdir=/usr/share/doc/${PF} +} + +src_install() { + default + + dodoc doc/{bindings,config} +} + +pkg_postinst() { + echo + elog "Example configuration files have been installed at" + elog "${ROOT}usr/share/doc/${PF}" + elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/bindings" + 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 +} diff --git a/media-sound/ncmpcpp/ncmpcpp-9999.ebuild b/media-sound/ncmpcpp/ncmpcpp-9999.ebuild index 78f586c9c78e..32c52125a422 100644 --- a/media-sound/ncmpcpp/ncmpcpp-9999.ebuild +++ b/media-sound/ncmpcpp/ncmpcpp-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools git-r3 DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc" @@ -20,7 +20,7 @@ RDEPEND=" net-misc/curl sys-libs/ncurses:= sys-libs/readline:* - icu? ( dev-libs/icu ) + icu? ( dev-libs/icu:= ) taglib? ( media-libs/taglib ) visualizer? ( sci-libs/fftw:3.0= ) " |