-diff -ur ogmtools-1.5.orig/ogminfo.c ogmtools-1.5/ogminfo.c
---- ogmtools-1.5.orig/ogminfo.c 2003-11-21 00:21:36.000000000 +0200
-+++ ogmtools-1.5/ogminfo.c 2009-05-12 12:41:58.000000000 +0300
+--- a/ogminfo.c
++++ b/ogminfo.c
@@ -513,7 +513,7 @@
stream->serial, stream->size,
(stream->size * 8.0 / 1000.0) / now,
-diff -ur ogmtools-1.5.orig/ogminfo.c ogmtools-1.5/ogminfo.c
---- ogmtools-1.5.orig/ogminfo.c 2003-11-21 00:21:36.000000000 +0200
-+++ ogmtools-1.5/ogminfo.c 2009-05-12 12:42:56.000000000 +0300
+--- a/ogminfo.c
++++ b/ogminfo.c
@@ -188,7 +188,7 @@
}
vorbis_comment_clear(&vc);
-# Copyright 1999-2009 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="Information, extraction or creation for OGG media streams"
HOMEPAGE="http://www.bunkus.org/videotools/ogmtools/"
media-sound/vorbis-tools"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-comments.patch \
- "${FILESDIR}"/${P}-endian-fix.patch \
- "${FILESDIR}"/${P}-vorbis_verbosity.patch \
- "${FILESDIR}"/${P}-summary_length.patch
-}
+PATCHES=(
+ "${FILESDIR}/${P}-comments.patch"
+ "${FILESDIR}/${P}-endian-fix.patch"
+ "${FILESDIR}/${P}-vorbis_verbosity.patch"
+ "${FILESDIR}/${P}-summary_length.patch"
+)
src_configure() {
econf \
}
src_install() {
- dobin ogmmerge ogmdemux ogminfo ogmsplit ogmcat || die "dobin failed"
+ dobin ogmmerge ogmdemux ogminfo ogmsplit ogmcat
if use dvd; then
- dobin dvdxchap || die "dobin failed"
+ dobin dvdxchap
fi
- dodoc ChangeLog README TODO
+ einstalldocs ChangeLog README TODO
doman *.1
}