commit:     80bdcf12e2443fede598ccb6add11575f9edc272
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 19:19:52 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 19:19:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bdcf12

media-sound/peercast: bump EAPI

-Dead upstream links and unable to find new
-There is a SF page which has peercast but content
-Package still builds fine but may be considered for removal

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 media-sound/peercast/peercast-0.1218-r2.ebuild | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/media-sound/peercast/peercast-0.1218-r2.ebuild 
b/media-sound/peercast/peercast-0.1218-r2.ebuild
index 105d1839030..8034fe6aef9 100644
--- a/media-sound/peercast/peercast-0.1218-r2.ebuild
+++ b/media-sound/peercast/peercast-0.1218-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils flag-o-matic toolchain-funcs
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A client and server for Peercast P2P-radio network"
 HOMEPAGE="http://www.peercast.org";
@@ -18,12 +19,12 @@ DEPEND=""
 
 S=${WORKDIR}
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-CVE-2008-2040.patch \
-               "${FILESDIR}"/${PN}-0.1216-makefile.patch \
-               "${FILESDIR}"/${PN}-0.1216-amd64.patch \
-               "${FILESDIR}"/${P}-glibc-2.10.patch
-}
+PATCHES=(
+       "${FILESDIR}/${P}-CVE-2008-2040.patch" \
+       "${FILESDIR}/${PN}-0.1216-makefile.patch" \
+       "${FILESDIR}/${PN}-0.1216-amd64.patch" \
+       "${FILESDIR}/${P}-glibc-2.10.patch"
+)
 
 src_compile() {
        append-ldflags -pthread

Reply via email to