summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-08-02 06:32:20 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-08-02 06:32:20 +0000
commit6dce4cf56625d1543928d8cd143f3933ee55f33f (patch)
tree295a653753c0d152faff985f1c795327c07d09dd /media-video/mpeg-tools
parentInitial version, taken from ruby-overlay (diff)
downloadgentoo-2-6dce4cf56625d1543928d8cd143f3933ee55f33f.tar.gz
gentoo-2-6dce4cf56625d1543928d8cd143f3933ee55f33f.tar.bz2
gentoo-2-6dce4cf56625d1543928d8cd143f3933ee55f33f.zip
amd64/ppc64/x86 stable
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-video/mpeg-tools')
-rw-r--r--media-video/mpeg-tools/ChangeLog6
-rw-r--r--media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild26
2 files changed, 18 insertions, 14 deletions
diff --git a/media-video/mpeg-tools/ChangeLog b/media-video/mpeg-tools/ChangeLog
index 756e9e0211f5..c1e23feac710 100644
--- a/media-video/mpeg-tools/ChangeLog
+++ b/media-video/mpeg-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/mpeg-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v 1.30 2013/08/02 06:14:18 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v 1.31 2013/08/02 06:32:20 ssuominen Exp $
+
+ 02 Aug 2013; Samuli Suominen <ssuominen@gentoo.org>
+ mpeg-tools-1.5b-r4.ebuild:
+ amd64/ppc64/x86 stable
*mpeg-tools-1.5b-r5 (02 Aug 2013)
diff --git a/media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild b/media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild
index c3a999fe6a74..6afe28a42594 100644
--- a/media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild
+++ b/media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild,v 1.5 2012/06/04 01:29:35 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild,v 1.6 2013/08/02 06:32:20 ssuominen Exp $
+EAPI=5
inherit eutils toolchain-funcs
MY_PN=mpeg_encode
@@ -11,17 +12,16 @@ SRC_URI="ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/${MY_PN}-${PV}-
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE=""
RDEPEND="x11-libs/libX11
- virtual/jpeg"
+ virtual/jpeg:0"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_PN}
-src_unpack () {
- unpack ${A}
+src_prepare() {
cd "${WORKDIR}"
epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/${P}-64bit_fixes.patch
@@ -40,13 +40,13 @@ src_unpack () {
}
src_compile() {
- emake CC="$(tc-getCC)" || die "emake failed"
- emake -C convert CC="$(tc-getCC)" || die "emake convert failed"
- emake -C convert/mtv CC="$(tc-getCC)" || die "emake convert/mtv failed"
+ emake CC="$(tc-getCC)"
+ emake -C convert CC="$(tc-getCC)"
+ emake -C convert/mtv CC="$(tc-getCC)"
}
-src_install () {
- dobin mpeg_encode || die "dobin mpeg_encode"
+src_install() {
+ dobin mpeg_encode
doman docs/*.1
dodoc BUGS CHANGES README TODO VERSION
dodoc docs/EXTENSIONS docs/INPUT.FORMAT docs/*.param docs/param-summary
@@ -54,13 +54,13 @@ src_install () {
dodoc examples/*
cd ../convert
- dobin eyuvtojpeg jmovie2jpeg mpeg_demux mtv/movieToVid || die "dobin convert utils"
+ dobin eyuvtojpeg jmovie2jpeg mpeg_demux mtv/movieToVid
newdoc README README.convert
newdoc mtv/README README.mtv
}
pkg_postinst() {
- if [[ -z $(best_version media-libs/netpbm) ]] ; then
+ if [[ -z $(best_version media-libs/netpbm) ]]; then
elog "If you are looking for eyuvtoppm or ppmtoeyuv, please"
elog "emerge the netpbm package. It has updated versions."
fi