commit:     d36fb3a88b53dbef92d6bf99b41cc8e5eb911298
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 22 07:31:46 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Oct 22 08:21:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d36fb3a8

media-tv/shoutcast2vdr: Port to EAPI 8

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-tv/shoutcast2vdr/shoutcast2vdr-0.0.8-r1.ebuild | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/media-tv/shoutcast2vdr/shoutcast2vdr-0.0.8-r1.ebuild 
b/media-tv/shoutcast2vdr/shoutcast2vdr-0.0.8-r1.ebuild
index 3c2005d2d82..cda850ecea3 100644
--- a/media-tv/shoutcast2vdr/shoutcast2vdr-0.0.8-r1.ebuild
+++ b/media-tv/shoutcast2vdr/shoutcast2vdr-0.0.8-r1.ebuild
@@ -1,29 +1,27 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
 DESCRIPTION="VDR script: generate shoutcast playlists"
 HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=19478";
 SRC_URI="http://www.kost.sh/vdr/${P}.gz";
+S="${WORKDIR}"
 
-KEYWORDS="amd64 x86"
 SLOT="0"
 LICENSE="GPL-2"
-IUSE=""
-
-DEPEND="media-video/vdr"
-RDEPEND=""
+KEYWORDS="amd64 x86"
 
-S="${WORKDIR}"
+RDEPEND="media-video/vdr"
 
 PLAYLIST_DIR="/var/cache/vdr/music/playlists"
 
 src_prepare() {
-       sed -i shoutcast2vdr-0.0.8 -e 
"s:outputdir=/home/volker/vdr/radio:outputdir=${PLAYLIST_DIR}:"
+       default
+       sed -i shoutcast2vdr-0.0.8 -e 
"s:outputdir=/home/volker/vdr/radio:outputdir=${PLAYLIST_DIR}:" || die
 
        # wrt bug 520624
-       sed -i shoutcast2vdr-0.0.8 -e "s:mkdir:mkdir -p:"
+       sed -i shoutcast2vdr-0.0.8 -e "s:mkdir:mkdir -p:" || die
 }
 
 src_install() {

Reply via email to