diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-03-22 19:20:05 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2004-03-22 19:20:05 +0000 |
commit | 9f3509d108abf9f4f3be133c433f2df1b536cb30 (patch) | |
tree | c311d6a7155f6ddb839c6230c4b59c77414756f4 /media-video/ffmpeg | |
parent | marked stable on most architectures (Manifest recommit) (diff) | |
download | gentoo-2-9f3509d108abf9f4f3be133c433f2df1b536cb30.tar.gz gentoo-2-9f3509d108abf9f4f3be133c433f2df1b536cb30.tar.bz2 gentoo-2-9f3509d108abf9f4f3be133c433f2df1b536cb30.zip |
New snapshot
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r-- | media-video/ffmpeg/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/ffmpeg/Manifest | 4 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-0.4.8.20040322.ebuild | 102 | ||||
-rw-r--r-- | media-video/ffmpeg/files/digest-ffmpeg-0.4.8.20040322 | 1 |
4 files changed, 112 insertions, 2 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog index 01f7dbfd537e..762397a42d68 100644 --- a/media-video/ffmpeg/ChangeLog +++ b/media-video/ffmpeg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/ffmpeg # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.29 2004/03/15 02:58:36 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.30 2004/03/22 19:20:05 lu_zero Exp $ + +*ffmpeg-0.4.8.20040322 (22 Mar 2004) + + 22 Mar 2004; Luca Barbato <lu_zero@gentoo.org> ffmpeg-0.4.8.20040322.ebuild: + New snapshot, works with ppc 15 Mar 2004; Luca Barbato <lu_zero@gentoo.org> ffmpeg-0.4.8.20040222.ebuild: Marked -ppc pending a fix for misbuild. diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest index b798c83b7c91..02cb4c278574 100644 --- a/media-video/ffmpeg/Manifest +++ b/media-video/ffmpeg/Manifest @@ -1,5 +1,6 @@ MD5 cfd43c96c264a98335b410fefd7a0823 ffmpeg-0.4.8.20040222.ebuild 3170 -MD5 801b31f12ad30a7c5dafc5b0c6267c96 ChangeLog 4597 +MD5 49e26566fc1dabd1d973cff1556db976 ChangeLog 4746 +MD5 72af4f9bd72b8993dad2834bddbfe01c ffmpeg-0.4.8.20040322.ebuild 3170 MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 MD5 9a7b4ff25d53251aa3e7079bef633c7f ffmpeg-0.4.7.ebuild 2181 MD5 c08c6f5c49ed22ca25c8b4dda5c17553 ffmpeg-0.4.8.ebuild 2386 @@ -8,3 +9,4 @@ MD5 77014ea836fa26b88ebae7c85c912059 files/ffmpeg-0.4.7-2.6.patch 491 MD5 0a76b7a4442aea90d56ac85508b2eff5 files/digest-ffmpeg-0.4.8 65 MD5 7eca667f050b6c515830ff9be05bacc6 files/digest-ffmpeg-0.4.7 65 MD5 6f1d9c82b5e8c3b7c46b80bc3c1bb443 files/alpha-idct.patch 777 +MD5 d96905e9b38176623d31ad3cffbc63fd files/digest-ffmpeg-0.4.8.20040322 69 diff --git a/media-video/ffmpeg/ffmpeg-0.4.8.20040322.ebuild b/media-video/ffmpeg/ffmpeg-0.4.8.20040322.ebuild new file mode 100644 index 000000000000..e0c052c360f7 --- /dev/null +++ b/media-video/ffmpeg/ffmpeg-0.4.8.20040322.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2004 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.8.20040322.ebuild,v 1.1 2004/03/22 19:20:05 lu_zero Exp $ + +inherit eutils flag-o-matic + +# TODO: --enablea52bin breaks compile + +DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec." +HOMEPAGE="http://ffmpeg.sourceforge.net/" +PDATE=${PV##*.} +MY_PV=${PV%.*} +S=${WORKDIR}/${PN}-${PDATE} +SRC_URI="http://download.videolan.org/pub/videolan/vlc/0.7.1/contrib/ffmpeg-${PDATE}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64" +IUSE="mmx altivec encode oggvorbis doc faad dvd static sdl imlib truetype" + +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 ) + !<media-video/mplayer-1.0_pre3-r1" + +src_unpack() { + unpack ${A} || die + cd ${S} + + # for some reason it tries to #include <X11/Xlib.h>,b ut doesn't use it + cd ${S} + sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c +} + +src_compile() { + filter-flags -fforce-addr -fPIC + # fixes bug #16281 + use alpha && append-flags -fPIC + use amd64 && append-flags -fPIC + + local myconf + #myconf="${myconf} --disable-opts --enable-pp --enable-shared-pp" + myconf="${myconf} --disable-opts --enable-pp" + 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" + use static || myconf="${myconf} --enable-shared" + use sdl || myconf="${myconf} --disable-ffplay" + use debug || myconf="${myconf} --disable-debug" + use altivec || myconf="${myconf} --disable-altivec" + +# Using --enable-a52bin breaks the compile + #use dvd && myconf="${myconf} --enable-a52 --enable-a52bin" + + ./configure ${myconf} \ + --prefix=/usr || die "./configure failed." + make || die "make failed." + use doc && make -C doc all + + # Build libpostproc + cd ${S}/libavcodec/libpostproc + make || die "Failed to build libpostproc.a!" + make SHARED_PP="yes" || die "Failed to build libpostproc.so!" +} + +src_install() { + make \ + DESTDIR=${D} \ + prefix=${D}/usr \ + bindir=${D}/usr/bin \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + dosym /usr/bin/ffmpeg /usr/bin/ffplay + dosym /usr/lib/libavcodec-${MY_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 + + # Install libpostproc ... + cd ${S}/libavcodec/libpostproc + make prefix=${D}/usr \ + install || die "Failed to install libpostproc.a!" + make prefix=${D}/usr \ + SHARED_PP="yes" \ + install || die "Failed to install libpostproc.so!" + cd ${S} + # Some stuff like transcode can use this one. + dolib ${S}/libavcodec/libpostproc/libpostproc.a + + preplib /usr +} diff --git a/media-video/ffmpeg/files/digest-ffmpeg-0.4.8.20040322 b/media-video/ffmpeg/files/digest-ffmpeg-0.4.8.20040322 new file mode 100644 index 000000000000..d342e6bcd757 --- /dev/null +++ b/media-video/ffmpeg/files/digest-ffmpeg-0.4.8.20040322 @@ -0,0 +1 @@ +MD5 24c6e9073699ccdb8119b2fcfd476bd2 ffmpeg-20040322.tar.bz2 1301977 |