From: Sergei Trofimovich Date: Sun, 10 Nov 2019 11:57:34 +0000 (+0000) Subject: media-sound/xmms2-scrobbler: refresh up to EAPI=7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7678e09d0ddc8b06d76e9b418893d099003ba233;p=gentoo.git media-sound/xmms2-scrobbler: refresh up to EAPI=7 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich --- diff --git a/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild b/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild 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 6c784004bb5a..f343e1164471 100644 --- a/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0.ebuild +++ b/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild @@ -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