Commit: b0897d3cb1bffafc7aeaf40225f48002ea5b6664 Parent: 0f31217169db084d241d0a9071f6294911e35d71 Author: Randy Palamar Date: Fri, 18 Jun 2021 20:28:33 -0600 ncmpcpp: bump to match ::gentoo Diffstat:
A | media-sound/ncmpcpp/ncmpcpp-0.9.2-r1.ebuild | | | 66 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
D | media-sound/ncmpcpp/ncmpcpp-0.9.2.ebuild | | | 62 | -------------------------------------------------------------- |
2 files changed, 66 insertions(+), 62 deletions(-)
diff --git a/media-sound/ncmpcpp/ncmpcpp-0.9.2-r1.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.9.2-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc" +HOMEPAGE="https://ncmpcpp.rybczak.net/ https://github.com/ncmpcpp/ncmpcpp" +SRC_URI="https://rybczak.net/ncmpcpp/stable/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" +IUSE="clock icu lto outputs taglib visualizer" + +RDEPEND=" + >=media-libs/libmpdclient-2.1 + dev-libs/boost:=[icu?,nls,threads(+)] + icu? ( dev-libs/icu:= ) + net-misc/curl + sys-libs/ncurses:=[unicode] + sys-libs/readline:= + taglib? ( media-libs/taglib ) + visualizer? ( sci-libs/fftw:3.0= ) +" +DEPEND="${RDEPEND}" +BDEPEND="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() { + filter-flags '-flto*' + + econf \ + $(use_enable clock) \ + $(use_enable outputs) \ + $(use_enable visualizer) \ + $(use_with lto) \ + $(use_with taglib) \ + $(use_with visualizer fftw) +} + +src_install() { + default + + dodoc doc/{bindings,config} +} + +pkg_postinst() { + echo + elog "Example configuration files have been installed at" + elog "${EROOT}/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-0.9.2.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.9.2.ebuild @@ -1,62 +0,0 @@ -# Copyright 1999-2020 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://ncmpcpp.rybczak.net/ https://github.com/ncmpcpp/ncmpcpp" -SRC_URI="https://rybczak.net/ncmpcpp/stable/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~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] - icu? ( dev-libs/icu:= ) - net-misc/curl - sys-libs/ncurses:=[unicode] - sys-libs/readline:* - taglib? ( media-libs/taglib ) - visualizer? ( sci-libs/fftw:3.0= ) -" -DEPEND="${RDEPEND}" -BDEPEND="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) -} - -src_install() { - default - - dodoc doc/{bindings,config} -} - -pkg_postinst() { - echo - elog "Example configuration files have been installed at" - elog "${EROOT}/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 -}