From bf0b2e923b23c009f856abe498033af6215030fb Mon Sep 17 00:00:00 2001 From: David Seifert Date: Thu, 17 Oct 2019 11:00:03 +0200 Subject: [PATCH] media-sound/mp3wrap: Port to EAPI 7 Bug: https://bugs.gentoo.org/697274 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- ...rap-0.5-Wimplicit-function-declaration.patch | 10 ++++++++++ media-sound/mp3wrap/mp3wrap-0.5.ebuild | 17 ++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch diff --git a/media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch b/media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..2398122f049a --- /dev/null +++ b/media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch @@ -0,0 +1,10 @@ +--- a/wrap.c ++++ b/wrap.c +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #include "wrap.h" + #include "mp3wrap.h" diff --git a/media-sound/mp3wrap/mp3wrap-0.5.ebuild b/media-sound/mp3wrap/mp3wrap-0.5.ebuild index eed1cd4354b3..c0f1e36d268f 100644 --- a/media-sound/mp3wrap/mp3wrap-0.5.ebuild +++ b/media-sound/mp3wrap/mp3wrap-0.5.ebuild @@ -1,23 +1,22 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -DESCRIPTION="Command-line utility that wraps quickly two or more mp3 files in one single large playable mp3" +DESCRIPTION="Command-line utility that wraps multiple mp3 files into one large playable mp3" SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" HOMEPAGE="http://mp3wrap.sourceforge.net/" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" -IUSE="" -RDEPEND="" -DEPEND="" +PATCHES=( "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch ) src_install() { - dobin mp3wrap || die "dobin failed" + dobin mp3wrap + doman mp3wrap.1 - dodoc AUTHORS ChangeLog README - dohtml doc/*.html + local HTML_DOCS=( doc/*.html ) + einstalldocs } -- 2.26.2