summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-22 09:21:53 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-22 10:21:13 +0200
commit6be0d99f241b7508b072a8a569cac70ec12ce52c (patch)
treeb202e8b926f935aafe7c6ac0b8169900a46263eb /media-video/acidrip
parentmedia-video/mkvalidator: Port to EAPI 8 (diff)
downloadgentoo-6be0d99f241b7508b072a8a569cac70ec12ce52c.tar.gz
gentoo-6be0d99f241b7508b072a8a569cac70ec12ce52c.tar.bz2
gentoo-6be0d99f241b7508b072a8a569cac70ec12ce52c.zip
media-video/acidrip: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-video/acidrip')
-rw-r--r--media-video/acidrip/acidrip-0.14-r4.ebuild20
-rw-r--r--media-video/acidrip/files/acidrip-mplayer.patch4
2 files changed, 13 insertions, 11 deletions
diff --git a/media-video/acidrip/acidrip-0.14-r4.ebuild b/media-video/acidrip/acidrip-0.14-r4.ebuild
index 030214ae78a7..88b0b061ce2b 100644
--- a/media-video/acidrip/acidrip-0.14-r4.ebuild
+++ b/media-video/acidrip/acidrip-0.14-r4.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit epatch perl-module
+EAPI=8
+
+inherit perl-module
DESCRIPTION="A gtk-perl mplayer/mencoder frontend for ripping DVDs"
HOMEPAGE="https://sourceforge.net/projects/acidrip/"
@@ -13,14 +14,15 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="encode"
-RDEPEND="dev-perl/Gtk2
+RDEPEND="
+ dev-perl/Gtk2
media-video/lsdvd
media-video/mplayer[encode]
- encode? ( >=media-sound/lame-3.92 )"
+ encode? ( >=media-sound/lame-3.92 )
+"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-mplayer.patch #168012
- epatch "${FILESDIR}/${P}-makefile.patch" #299173
- perl-module_src_prepare
-}
+PATCHES=(
+ "${FILESDIR}"/${PN}-mplayer.patch #168012
+ "${FILESDIR}/${P}-makefile.patch" #299173
+)
diff --git a/media-video/acidrip/files/acidrip-mplayer.patch b/media-video/acidrip/files/acidrip-mplayer.patch
index 5d9c84701d5e..edb2100aeb45 100644
--- a/media-video/acidrip/files/acidrip-mplayer.patch
+++ b/media-video/acidrip/files/acidrip-mplayer.patch
@@ -1,7 +1,7 @@
http://bugs.gentoo.org/168012
---- AcidRip/acidrip.pm
-+++ AcidRip/acidrip.pm
+--- a/AcidRip/acidrip.pm
++++ b/AcidRip/acidrip.pm
@@ -680,7 +680,7 @@
message( "Running " . get_command("cropdetect") );
open( CROP, get_command("cropdetect") . " 2>&1 |" );