summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-10-17 11:00:03 +0200
committerDavid Seifert <soap@gentoo.org>2019-10-17 11:00:03 +0200
commitbf0b2e923b23c009f856abe498033af6215030fb (patch)
treecec6daeee8003023ae0ce75b8dfe22bc054716bd /media-sound/mp3wrap
parentmedia-sound/mp3report: Port to EAPI 7 (diff)
downloadgentoo-bf0b2e923b23c009f856abe498033af6215030fb.tar.gz
gentoo-bf0b2e923b23c009f856abe498033af6215030fb.tar.bz2
gentoo-bf0b2e923b23c009f856abe498033af6215030fb.zip
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 <soap@gentoo.org>
Diffstat (limited to 'media-sound/mp3wrap')
-rw-r--r--media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch10
-rw-r--r--media-sound/mp3wrap/mp3wrap-0.5.ebuild17
2 files changed, 18 insertions, 9 deletions
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 <stdio.h>
+ #include <stdlib.h>
+ #include <strings.h>
++#include <string.h>
+
+ #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
}