From 8dd7261a5b9654454d3230dfcb3fb209aaf0d61d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 18 Oct 2019 00:37:47 +0200 Subject: [PATCH] media-sound/shorten: Port to EAPI 7 Bug: https://bugs.gentoo.org/697272 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- media-sound/shorten/shorten-3.6.1.ebuild | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/media-sound/shorten/shorten-3.6.1.ebuild b/media-sound/shorten/shorten-3.6.1.ebuild index 633278326a9a..c0a5213789ae 100644 --- a/media-sound/shorten/shorten-3.6.1.ebuild +++ b/media-sound/shorten/shorten-3.6.1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 - -inherit eutils +EAPI=7 DESCRIPTION="fast, low complexity waveform coder (i.e. audio compressor)" HOMEPAGE="http://shnutils.freeshell.org/shorten/" @@ -13,13 +11,4 @@ LICENSE="shorten" SLOT="0" KEYWORDS="alpha amd64 ~ppc sparc x86" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-tests.patch" -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README -} +PATCHES=( "${FILESDIR}"/${PN}-tests.patch ) -- 2.26.2