summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-09-07 22:41:00 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-09-07 22:41:00 +0000
commit7aab614da7eda942149318a58e705ebdc715188e (patch)
tree3e18198b4f62ae163fc6037fb5d7d10e5cb36cfe /media-video
parentVersion bumped. (diff)
downloadhistorical-7aab614da7eda942149318a58e705ebdc715188e.tar.gz
historical-7aab614da7eda942149318a58e705ebdc715188e.tar.bz2
historical-7aab614da7eda942149318a58e705ebdc715188e.zip
Version bumped.
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ffmpeg/Manifest6
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.7.ebuild70
-rw-r--r--media-video/ffmpeg/files/digest-ffmpeg-0.4.71
3 files changed, 73 insertions, 4 deletions
diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest
index c85a25ead936..7139a58b1601 100644
--- a/media-video/ffmpeg/Manifest
+++ b/media-video/ffmpeg/Manifest
@@ -1,15 +1,13 @@
-MD5 ab315a6215863172ed732a9b34e1606c ChangeLog 3540
+MD5 2a02d0c066fd934efdc5ab5d0d45893e ChangeLog 3659
MD5 2d75291c4685dc1a93c5e91901df57c0 ffmpeg-0.4.5.ebuild 693
MD5 e6b59f0960df4d0c10cfaa89aa6d48db ffmpeg-0.4.6-r1.ebuild 1561
MD5 afaf74cb5011c84394bd0e9b0d5629a5 ffmpeg-0.4.6.ebuild 1523
MD5 0e7fbbc527dae3974d754bc9330f28a3 ffmpeg-0.4.7_pre20030624.ebuild 2244
-MD5 16ac410d9be364cd5ee608aeb39d68e9 ffmpeg-0.4.7_pre20030719.ebuild 2206
-MD5 2ba40ba8042dcb6bd67fe7571f937ec8 ffmpeg-0.4.7.ebuild 2183
+MD5 17a733455dace1d0147e7640772affb9 ffmpeg-0.4.7.ebuild 2161
MD5 57e0978ef4a4ff1662572740a8d94ed7 files/digest-ffmpeg-0.4.5 64
MD5 566133b90b840d9da9452facbfef0d6e files/digest-ffmpeg-0.4.6 64
MD5 566133b90b840d9da9452facbfef0d6e files/digest-ffmpeg-0.4.6-r1 64
MD5 30ba42e8d259ef5fe8c439670f685c1f files/ffmpeg-0.4.6-Makefiles.diff 3429
MD5 6f1d9c82b5e8c3b7c46b80bc3c1bb443 files/alpha-idct.patch 777
MD5 f139809ab74138dbf8f24bc4f89edbd8 files/digest-ffmpeg-0.4.7_pre20030624 74
-MD5 5238c7d4c825a3f0ad1a407ed332f0e5 files/digest-ffmpeg-0.4.7_pre20030719 74
MD5 7eca667f050b6c515830ff9be05bacc6 files/digest-ffmpeg-0.4.7 65
diff --git a/media-video/ffmpeg/ffmpeg-0.4.7.ebuild b/media-video/ffmpeg/ffmpeg-0.4.7.ebuild
new file mode 100644
index 000000000000..7c75e9e26988
--- /dev/null
+++ b/media-video/ffmpeg/ffmpeg-0.4.7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.7.ebuild,v 1.1 2003/09/07 22:40:55 mholzer Exp $
+
+inherit eutils
+
+DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://ffmpeg.sourceforge.net/"
+
+IUSE="mmx encode oggvorbis doc faad dvd static sdl imlib truetype"
+
+inherit flag-o-matic
+filter-flags "-fforce-addr -fPIC"
+# fixes bug #16281
+use alpha && append-flags "-fPIC"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND="encode? ( >=media-sound/lame-3.92 )
+ oggvorbis? ( >=media-libs/libvorbis-1.0-r1 )
+ doc? ( >=app-text/texi2html-1.64 )
+ faad? ( >=media-libs/faad2-1.1 )
+ dvd? ( >=media-libs/a52dec-0.7.4 )
+ sdl? ( >=media-libs/libsdl-1.2.5 )
+ imlib? ( >=media-libs/imlib2-1.0.6 )
+ truetype? ( >=media-libs/freetype-2.1.2 )"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S}
+
+ # fixes a compile on alpha. This is fixed in upstream cvs
+ # http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ffmpeg/ffmpeg/libavcodec/alpha/dsputil_alpha.c.diff?r1=1.19&r2=1.20
+ # so this patch should be removed with the next _pre build
+ #epatch ${FILESDIR}/alpha-idct.patch
+}
+
+src_compile() {
+ local myconf
+
+ use mmx || myconf="${myconf} --disable-mmx"
+ use encode && myconf="${myconf} --enable-mp3lame"
+ use oggvorbis && myconf="${myconf} --enable-vorbis"
+ use faad && myconf="${myconf} --enable-faad --enable-faadbin"
+ use dvd && myconf="${myconf} --enable-a52 --enable-a52bin"
+ use static || myconf="${myconf} --enable-shared"
+ use sdl || myconf="${myconf} --disable-ffplay"
+
+ ./configure ${myconf} \
+ --prefix=/usr || die "./configure failed."
+ make || die "make failed."
+ use doc && make -C doc all
+}
+
+src_install() {
+ einstall || die "Installation failed."
+ dosym /usr/bin/ffmpeg /usr/bin/ffplay
+ dosym /usr/lib/libavcodec-${PV}.so /usr/lib/libavcodec.so
+
+ dodoc COPYING CREDITS Changelog INSTALL README
+ docinto doc
+ dodoc doc/TODO doc/*.html doc/*.texi
+ insinto /etc
+ doins doc/ffserver.conf
+}
diff --git a/media-video/ffmpeg/files/digest-ffmpeg-0.4.7 b/media-video/ffmpeg/files/digest-ffmpeg-0.4.7
new file mode 100644
index 000000000000..8a62667b2000
--- /dev/null
+++ b/media-video/ffmpeg/files/digest-ffmpeg-0.4.7
@@ -0,0 +1 @@
+MD5 bd9ab3e27f6c92fa06286b8f40277994 ffmpeg-0.4.7.tar.gz 1304077