summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)"