commit:     791f5efa19517aa9f50d205eda399e94998e3b72
Author:     gentoo-setan <gentoo-setan <AT> protonmail <DOT> com>
AuthorDate: Mon Jun 17 06:41:12 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 07:48:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791f5efa

media-sound/ncmpcpp: make 9999 more like latest stable

Signed-off-by: gentoo-setan <gentoo-setan <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37190
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-sound/ncmpcpp/ncmpcpp-9999.ebuild | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/media-sound/ncmpcpp/ncmpcpp-9999.ebuild 
b/media-sound/ncmpcpp/ncmpcpp-9999.ebuild
index 83a7d42906c9..8c02f3f600fe 100644
--- a/media-sound/ncmpcpp/ncmpcpp-9999.ebuild
+++ b/media-sound/ncmpcpp/ncmpcpp-9999.ebuild
@@ -1,18 +1,18 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools git-r3
 
-DESCRIPTION="featureful ncurses based MPD client inspired by ncmpc"
+DESCRIPTION="Featureful ncurses based MPD client inspired by ncmpc"
 HOMEPAGE="
        https://rybczak.net/ncmpcpp/
        https://github.com/ncmpcpp/ncmpcpp/
 "
 EGIT_REPO_URI="https://github.com/ncmpcpp/ncmpcpp";
-LICENSE="GPL-2"
 
+LICENSE="GPL-2"
 SLOT="0"
 IUSE="clock outputs taglib visualizer"
 
@@ -26,18 +26,15 @@ RDEPEND="
        taglib? ( media-libs/taglib )
        visualizer? ( sci-libs/fftw:3.0= )
 "
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
        default
-
-       sed -i -e '/^docdir/d' {,doc/}Makefile.am || die
-       sed -i -e 's|COPYING||g' Makefile.am || die
-
        eautoreconf
+
+       sed -i -e '/^docdir/d' {,doc/}Makefile{.am,.in} || die
+       sed -i -e 's|COPYING||g' Makefile{.am,.in} || die
 }
 
 src_configure() {
@@ -60,7 +57,7 @@ src_install() {
 pkg_postinst() {
        echo
        elog "Example configuration files have been installed at"
-       elog "${ROOT}/usr/share/doc/${PF}"
+       elog "${EROOT}/usr/share/doc/${PF}"
        elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/bindings"
        elog "as user configuration files."
        echo

Reply via email to