media-sound/mp32ogg: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 21:22:43 +0000 (17:22 -0400)
committerAaron Bauman <bman@gentoo.org>
Wed, 30 May 2018 00:27:32 +0000 (20:27 -0400)
Upstream is dead, but the package is still mirrored by Gentoo. Unable to
rename the source file.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8641

media-sound/mp32ogg/files/mp32ogg-0.11-r4-mpg321.patch
media-sound/mp32ogg/files/mp32ogg-0.11-r4-quality.patch
media-sound/mp32ogg/files/mp32ogg-0.11-r5-german_umlaut.patch
media-sound/mp32ogg/files/mp32ogg-0.11-r6-force-filename-stringification.patch
media-sound/mp32ogg/mp32ogg-0.11-r6.ebuild

index b617584f94de94bf5c7391e1f8a88d48188161d2..f71f13163e2560bb3c627e25157d6760240063cc 100644 (file)
@@ -1,5 +1,5 @@
---- mp32ogg.orig       2004-02-03 01:09:20.000000000 -0800
-+++ mp32ogg    2004-02-03 01:25:01.000000000 -0800
+--- a/mp32ogg
++++ b/mp32ogg
 @@ -6,6 +6,9 @@
  # <http://www.opensource.org/licenses/artistic-license.html>
  
index 38fad9bc9abc33849972c336cf5a3d3db55dcac0..0bf9b05a5ca4b483b1d8cf2ba6154fa9e26a2192 100644 (file)
@@ -1,5 +1,5 @@
---- mp32ogg.orig       2005-01-01 15:32:32.138906448 +0000
-+++ mp32ogg    2005-01-01 15:52:33.061338488 +0000
+--- a/mp32ogg
++++ b/mp32ogg
 @@ -9,6 +9,8 @@
  # 0.11-gentoo
  #     * Jeremy Huddleston <eradicator@gentoo.org>:
index 20361f1b9835b993b40297043ba4338ffc9305cf..10588d87e1d96d3081213f686e858ad1b64b3fae 100644 (file)
@@ -1,5 +1,5 @@
---- mp32ogg_old        2008-01-29 10:45:06.000000000 +0100
-+++ mp32ogg    2008-01-29 10:44:34.000000000 +0100
+--- a/mp32ogg
++++ b/mp32ogg
 @@ -6,6 +6,10 @@
  # <http://www.opensource.org/licenses/artistic-license.html>
  
index 65f7a83454fa02f144d04c1ffdca3484b6c2d34c..1b08f5453350b2d431934733280c3ac8da34b5ee 100644 (file)
@@ -1,8 +1,8 @@
 http://bugs.gentoo.org/328953
 http://qa.mandriva.com/53477
 
---- mp32ogg
-+++ mp32ogg
+--- a/mp32ogg
++++ b/mp32ogg
 @@ -167,7 +167,9 @@
  }
  
index 72c5e39e14aaedefe7fd5166a81cb14c468ed157..92d9ea2f2c79025dcb6afd56d9fea261d62dfe2e 100644 (file)
@@ -1,8 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils
+EAPI=6
 
 DESCRIPTION="A perl script to convert MP3 files to Ogg Vorbis files"
 HOMEPAGE="http://faceprint.com/code/"
@@ -21,17 +20,17 @@ DEPEND=""
 
 S=${WORKDIR}
 
-src_unpack() {
-       cp -f "${DISTDIR}"/${PN} "${WORKDIR}" || die
-}
+PATCHES=(
+       "${FILESDIR}/${P}-r4-mpg321.patch"
+       "${FILESDIR}/${P}-r4-quality.patch"\
+       "${FILESDIR}/${P}-r5-german_umlaut.patch"
+       "${FILESDIR}/${P}-r6-force-filename-stringification.patch"
+)
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-r4-mpg321.patch \
-               "${FILESDIR}"/${P}-r4-quality.patch \
-               "${FILESDIR}"/${P}-r5-german_umlaut.patch \
-               "${FILESDIR}"/${P}-r6-force-filename-stringification.patch
+src_unpack() {
+       cp -f "${DISTDIR}"/${PN} "${WORKDIR}" || die "Copying sources failed"
 }
 
 src_install() {
-       dobin mp32ogg || die
+       dobin mp32ogg
 }