media-sound/peercast: bump EAPI
authorAaron Bauman <bman@gentoo.org>
Mon, 4 Mar 2019 19:19:52 +0000 (14:19 -0500)
committerAaron Bauman <bman@gentoo.org>
Mon, 4 Mar 2019 19:19:52 +0000 (14:19 -0500)
-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@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12

media-sound/peercast/peercast-0.1218-r2.ebuild

index 105d18390306323816486a06e093c0bda82aad06..8034fe6aef9dcb5d281a9f5f2c88f44e71b1c4bc 100644 (file)
@@ -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