summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-22 09:48:39 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-22 10:21:29 +0200
commit4fa22e8c4f41b687a0afb086b7431df107c3fdf3 (patch)
treebea735da4813cda67206dcafd7d18416693124f4 /media-plugins
parentmedia-plugins/vdr-streamdev: drop 0.6.1, 0.6.1_p20160320 (diff)
downloadgentoo-4fa22e8c4f41b687a0afb086b7431df107c3fdf3.tar.gz
gentoo-4fa22e8c4f41b687a0afb086b7431df107c3fdf3.tar.bz2
gentoo-4fa22e8c4f41b687a0afb086b7431df107c3fdf3.zip
media-plugins/amb-plugins: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/amb-plugins/amb-plugins-0.8.1-r1.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/media-plugins/amb-plugins/amb-plugins-0.8.1-r1.ebuild b/media-plugins/amb-plugins/amb-plugins-0.8.1-r1.ebuild
index 8e810637c6d7..fa1fb3fa919a 100644
--- a/media-plugins/amb-plugins/amb-plugins-0.8.1-r1.ebuild
+++ b/media-plugins/amb-plugins/amb-plugins-0.8.1-r1.ebuild
@@ -1,15 +1,16 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit epatch multilib toolchain-funcs
+inherit toolchain-funcs
-MY_P=${P/amb/AMB}
+MY_P="${P/amb/AMB}"
DESCRIPTION="AMB-plugins ladspa plugin package. Filters by Fons Adriaensen"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
@@ -18,11 +19,9 @@ KEYWORDS="amd64 x86"
DEPEND="media-libs/ladspa-sdk"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-Makefile.patch"
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+)
src_compile() {
emake CXX="$(tc-getCXX)"