commit:     bb0ce052fbbba73856638ad11276f2f39eb94574
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 21:38:16 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 21:38:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0ce052

media-sound/ezstream: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...zstream-0.6.0-r1.ebuild => ezstream-0.6.0-r2.ebuild} | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/media-sound/ezstream/ezstream-0.6.0-r1.ebuild 
b/media-sound/ezstream/ezstream-0.6.0-r2.ebuild
similarity index 73%
rename from media-sound/ezstream/ezstream-0.6.0-r1.ebuild
rename to media-sound/ezstream/ezstream-0.6.0-r2.ebuild
index 665c2a35883f..d9cb6fb09888 100644
--- a/media-sound/ezstream/ezstream-0.6.0-r1.ebuild
+++ b/media-sound/ezstream/ezstream-0.6.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 DESCRIPTION="A command line source client for Icecast media streaming servers"
 HOMEPAGE="https://www.icecast.org/ezstream/";
@@ -12,19 +12,20 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="taglib"
 
-COMMON_DEPEND="dev-libs/libxml2
+DEPEND="
+       dev-libs/libxml2
        >=media-libs/libshout-2.2
        !taglib? ( media-libs/libvorbis )
        taglib? ( media-libs/taglib )"
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="
+       ${DEPEND}
        net-misc/icecast"
-DEPEND="${COMMON_DEPEND}
-       virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
        econf \
                --enable-examplesdir='$(docdir)/examples' \
-               $(use_with taglib taglib "/usr")
+               $(use_with taglib taglib "${ESYSROOT}"/usr)
 }
 
 src_install() {
@@ -33,5 +34,5 @@ src_install() {
        newinitd "${FILESDIR}"/${PN}.initd ${PN}
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
 
-       rm -f "${D%/}"/usr/share/doc/${PF}/COPYING
+       rm -f "${ED}"/usr/share/doc/${PF}/COPYING || die
 }

Reply via email to