summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 23:05:40 +0100
committerSam James <sam@gentoo.org>2021-04-19 23:41:26 +0100
commitc1e97bcd249fbe19324db6a8bfd3543958a1c93a (patch)
tree878060c30979be56b6a1287fb83a976f4c85373f /app-cdr
parentapp-i18n/im-canna: drop 0.3.2.2 (diff)
downloadgentoo-c1e97bcd249fbe19324db6a8bfd3543958a1c93a.tar.gz
gentoo-c1e97bcd249fbe19324db6a8bfd3543958a1c93a.tar.bz2
gentoo-c1e97bcd249fbe19324db6a8bfd3543958a1c93a.zip
app-cdr/mp3burn: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/mp3burn/files/mp3burn-0.4.2-build.patch4
-rw-r--r--app-cdr/mp3burn/mp3burn-0.4.2.ebuild26
2 files changed, 14 insertions, 16 deletions
diff --git a/app-cdr/mp3burn/files/mp3burn-0.4.2-build.patch b/app-cdr/mp3burn/files/mp3burn-0.4.2-build.patch
index 13cf94d42643..d7d814c3872a 100644
--- a/app-cdr/mp3burn/files/mp3burn-0.4.2-build.patch
+++ b/app-cdr/mp3burn/files/mp3burn-0.4.2-build.patch
@@ -1,5 +1,5 @@
---- mp3burn 2013-08-18 23:13:34.843372424 +0000
-+++ mp3burn 2013-08-18 23:14:15.663182707 +0000
+--- a/mp3burn
++++ b/mp3burn
@@ -412,6 +412,8 @@
=> F<mp3decoder>. I<(Note: Currently, the MP3 decoder must be
able to accept mpg123-style command-line arguments.)>
diff --git a/app-cdr/mp3burn/mp3burn-0.4.2.ebuild b/app-cdr/mp3burn/mp3burn-0.4.2.ebuild
index 8c1183cd0515..40200fbbd700 100644
--- a/app-cdr/mp3burn/mp3burn-0.4.2.ebuild
+++ b/app-cdr/mp3burn/mp3burn-0.4.2.ebuild
@@ -1,34 +1,32 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils
+EAPI=7
DESCRIPTION="Burn mp3s without filling up your disk with .wav files"
HOMEPAGE="https://sourceforge.net/projects/mp3burn"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-DEPEND="dev-lang/perl"
-RDEPEND="${DEPEND}
+RDEPEND="
app-cdr/cdrtools
- media-sound/mpg123
- media-libs/flac
- media-sound/vorbis-tools
+ dev-lang/perl
dev-perl/MP3-Info
dev-perl/Ogg-Vorbis-Header
dev-perl/String-ShellQuote
+ media-libs/flac
+ media-sound/mpg123
+ media-sound/vorbis-tools
"
+BDEPEND="dev-lang/perl"
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-build.patch"
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-build.patch
+)
src_install() {
dobin ${PN}