media-video/atomicparsley: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Fri, 13 Dec 2019 13:20:43 +0000 (14:20 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 13 Dec 2019 13:20:43 +0000 (14:20 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-video/atomicparsley/atomicparsley-0.9.0.ebuild

index c80ea969acdf6e9502223f57071c18163f5e16b7..3002e5401e2b2f4efbb64045f54d8dbbd4119b7b 100644 (file)
@@ -1,31 +1,28 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 MY_P=AtomicParsley-source-${PV}
 
-inherit eutils flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
-DESCRIPTION="command line program for reading, parsing and setting iTunes-style metadata in MPEG4 files"
+DESCRIPTION="Command line program for manipulating iTunes-style metadata in MPEG4 files"
 HOMEPAGE="http://atomicparsley.sourceforge.net"
 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE=""
 
-RDEPEND=""
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
-src_prepare() {
-       epatch \
-               "${FILESDIR}"/${P}-glibc-2.10.patch \
-               "${FILESDIR}"/${P}-environment.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-glibc-2.10.patch
+       "${FILESDIR}"/${P}-environment.patch
+)
 
 src_compile() {
        # APar_sha1.cpp:116:47 and 117:43: warning: dereferencing type-punned