media-sound/xmms2-scrobbler: refresh up to EAPI=7
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 Nov 2019 11:57:34 +0000 (11:57 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 Nov 2019 11:59:44 +0000 (11:59 +0000)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild [moved from media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild with 77% similarity]

similarity index 77%
rename from media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild
rename to media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild
index 6c784004bb5a9dfcb660f9d2007c96cafaa52197..f343e1164471e35cc2fc381da0b9a3b4ef016b68 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="XMMS2 AudioScrobbler client"
 HOMEPAGE="http://code-monkey.de/pages/xmms2-scrobbler"
@@ -18,13 +18,13 @@ RDEPEND="media-sound/xmms2
        net-misc/curl"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-ldflags.patch
-       epatch "${FILESDIR}"/${P}-libs.patch
-       epatch "${FILESDIR}"/${P}-ld-order.patch
-       epatch "${FILESDIR}"/${P}-gcc-7.patch
-       epatch "${FILESDIR}"/${P}-no-XPTR.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-ldflags.patch
+       "${FILESDIR}"/${P}-libs.patch
+       "${FILESDIR}"/${P}-ld-order.patch
+       "${FILESDIR}"/${P}-gcc-7.patch
+       "${FILESDIR}"/${P}-no-XPTR.patch
+)
 
 src_compile() {
        emake CC="$(tc-getCC)" VERBOSE=1