summaryrefslogtreecommitdiff
path: root/media-sound/ogmtools/ogmtools-1.5-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-02 10:47:13 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-02 10:47:13 +0100
commit6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (patch)
tree401ffbc2ade49ce18f6182969ec5fb697a57ce48 /media-sound/ogmtools/ogmtools-1.5-r2.ebuild
parentd4bd6695641f6d2ec7ff8681913d304e995902f5 (diff)
gentoo resync : 02.06.2018
Diffstat (limited to 'media-sound/ogmtools/ogmtools-1.5-r2.ebuild')
-rw-r--r--media-sound/ogmtools/ogmtools-1.5-r2.ebuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/media-sound/ogmtools/ogmtools-1.5-r2.ebuild b/media-sound/ogmtools/ogmtools-1.5-r2.ebuild
index 8e6971a61fc0..2615313a813f 100644
--- a/media-sound/ogmtools/ogmtools-1.5-r2.ebuild
+++ b/media-sound/ogmtools/ogmtools-1.5-r2.ebuild
@@ -1,8 +1,7 @@
-# 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/"
@@ -17,12 +16,12 @@ RDEPEND="dvd? ( media-libs/libdvdread )
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 \
@@ -30,12 +29,10 @@ src_configure() {
}
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"
- fi
+ use dvd && dobin dvdxchap
- dodoc ChangeLog README TODO
+ einstalldocs
doman *.1
}