------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 0.4.8-gcc3.4-magicF2W.patch 994 RMD160 4192e2537d220d4b63c55bdea36ac7f5532d8a6a SHA1 07c79c6680ebe0b1a695394ba4d24abb503c4b46 SHA256 3d359f8483903dcc876be0ee4ff511d63a8cf57fade26d58f72e4a3ec0694226
MD5 003b0062185efcb0ea5a6115fa8a646a files/0.4.8-gcc3.4-magicF2W.patch 994
RMD160 4192e2537d220d4b63c55bdea36ac7f5532d8a6a files/0.4.8-gcc3.4-magicF2W.patch 994
DIST ffmpeg-0.4.9-p20050226.tbz2 1501308 RMD160 904b4349fce0ea18afc6da7bd38ad350f71707cb SHA1 a3e1f9a60708fb0ed1ecfa235d0ce098c79aca86 SHA256 308ca9e70100bab109831805ae81c29efc8aee529444f886dd89e4e3f442f08b
DIST ffmpeg-0.4.9-p20051216.tar.bz2 1719827 RMD160 7be198931c92661456148dd7ad0f3013f1973b53 SHA1 b1375c0b1dd6cad3d5dd82b1104743f68c6767be SHA256 e68579868df0fbfddd1e8400ad9a35e5f483af19c203972890bf09652b993394
DIST ffmpeg-0.4.9-p20060302.tar.bz2 1759647 RMD160 e1e2c826c95d2eddd06d91b7df8fba1a3dc277bd SHA1 c679e2fd24737179b4009e59396d647c22adaac1 SHA256 17bd539cc1244a00e0de1d0d4ae3ea731553a8405be616bfc79858496633391d
-DIST ffmpeg-0.4.9-p20060517.tar.bz2 1811524 RMD160 d4455eb1d3d93dfedc52a513aee736d4f101ddf1 SHA1 506764b1c128b392161b80d146609a2abc2baf1c SHA256 ae150f82f2aaa0f414c1f9f2cfc5e07604bb169ce923a6961a9546a1387625cc
DIST ffmpeg-0.4.9-p20060530.tar.bz2 1807070 RMD160 84d6f692cf34bb9413d9d4934bfab478c7c14658 SHA1 6df0134d9ce939b9ae1fbd4525755502c9d227db SHA256 e24b7f84801f679be8f24fcd38e1622ab06ebb97d001be67862135e78ac599f3
DIST ffmpeg-0.4.9-p20060816.tar.bz2 1948118 RMD160 eb8e076f75c32b7a4874009451c7cb67c32f2fc2 SHA1 3ba0b79eb7bf77895b1b9d074ec825e8ab6ec018 SHA256 20e397ed778e23ae6eebe17d7b91839591512a3146629a2fcc68e0729b2b03bb
DIST ffmpeg-0.4.9-p20061016.tar.bz2 2009859 RMD160 b41eeb50ef91e5f7a44f725d29d3b9f8104dd62c SHA1 2e15183755378b4089264be3f8865e24eeaa39dc SHA256 99d18860b5db8f3218481c3c977ad63dcff285f193740f31ae5c8e3cac79d531
MD5 539955e8864a83ec3184cc435187040b ffmpeg-0.4.9_p20060302.ebuild 7834
RMD160 ed7705c0882e25cafc685fa70125c19ed1de0bb7 ffmpeg-0.4.9_p20060302.ebuild 7834
SHA256 b84fe245bef43054bf480008787501725879e88dc7b6863ee90457d82e9fedbf ffmpeg-0.4.9_p20060302.ebuild 7834
-EBUILD ffmpeg-0.4.9_p20060517.ebuild 7715 RMD160 6f79c9a87c01be313e0f162cc9d79fa43bb28682 SHA1 36c3838aadc0286b879c94d4768cfdc90269862c SHA256 7aaed3802120c40590f7903d111fbdc3d71fa2e3c73644837963f3d7737d716a
-MD5 11a748ccd921a3626a820ccfa965f842 ffmpeg-0.4.9_p20060517.ebuild 7715
-RMD160 6f79c9a87c01be313e0f162cc9d79fa43bb28682 ffmpeg-0.4.9_p20060517.ebuild 7715
-SHA256 7aaed3802120c40590f7903d111fbdc3d71fa2e3c73644837963f3d7737d716a ffmpeg-0.4.9_p20060517.ebuild 7715
EBUILD ffmpeg-0.4.9_p20060530.ebuild 7538 RMD160 5040f8a4d9a75a28fcf77baba2f569b4d29403a7 SHA1 41a47a12d98d7741f0b12167b44a801884713a2d SHA256 75e22a5720c16c7b610e97f21f20674ce967872ff50149edfee7adbbf3c07a9f
MD5 8547ccddfec4e5fc6a3c3ec5a2155f50 ffmpeg-0.4.9_p20060530.ebuild 7538
RMD160 5040f8a4d9a75a28fcf77baba2f569b4d29403a7 ffmpeg-0.4.9_p20060530.ebuild 7538
MD5 7fb55dd969da83d7f7224f769d373d6c files/digest-ffmpeg-0.4.9_p20060302 714
RMD160 1119c53182aa3203cf623204ff94e994dab64c82 files/digest-ffmpeg-0.4.9_p20060302 714
SHA256 06f9e13780a1730bdd77cce2e1821b99f6b1baa0c1017ee9b026eb512e3f18f3 files/digest-ffmpeg-0.4.9_p20060302 714
-MD5 b1bbc380755d26b9e1a8952a410b8474 files/digest-ffmpeg-0.4.9_p20060517 714
-RMD160 c245565fec19b10a0e96178e3754011047765c7a files/digest-ffmpeg-0.4.9_p20060517 714
-SHA256 40809495f2dc849a8a2073aee157d06403a7327a51096ca78d5d8143fef813e4 files/digest-ffmpeg-0.4.9_p20060517 714
MD5 0fe6aaa1d4065bad4b6acec555ac656d files/digest-ffmpeg-0.4.9_p20060530 714
RMD160 0f84e13ed0803a7d5e4a4ff12812b0aa3ba8cb4e files/digest-ffmpeg-0.4.9_p20060530 714
SHA256 d12a59bb4e7e8e541a7937bc8e1539aab908413d08cbec1e512409a8a5a8b2ba files/digest-ffmpeg-0.4.9_p20060530 714
MD5 b078bb99952b4f56d8c716ba88ac9b60 files/digest-ffmpeg-0.4.9_p20061016 714
RMD160 d25cd611bb50bdf39ee396b47ce9a9f9760e1e32 files/digest-ffmpeg-0.4.9_p20061016 714
SHA256 5dcd53524d59a5cefe43d9370d98f64c4345e9e32b4711576c7cbc9aba72db4b files/digest-ffmpeg-0.4.9_p20061016 714
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFFn71GtG5z4I8BtQoRAuFUAJ9aSLCxfsQTp0WQVTPOTubyCoxnoQCgiH9U
-5bULVrB8zuhER00nGVzD83M=
-=xtJ3
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.9_p20060517.ebuild,v 1.2 2006/12/10 18:29:45 zzam Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
-HOMEPAGE="http://ffmpeg.sourceforge.net/"
-MY_P=${P/_/-}
-S=${WORKDIR}
-S_BASE=${WORKDIR}/${MY_P}
-S_STATIC=${S_BASE}-static
-S_SHARED=${S_BASE}-shared
-
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
- amr? ( http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip
- http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip )"
-
-LICENSE="GPL-2"
-SLOT="0"
-# ~alpha need to test aac useflag
-# ~ia64 ~arm ~mips ~hppa
-#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
-KEYWORDS="-*" #~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
-IUSE="aac altivec amr debug doc ieee1394 a52 encode imlib mmx ogg vorbis oss
- test theora threads truetype v4l x264 xvid dts network zlib sdl"
-
-DEPEND="imlib? ( media-libs/imlib2 )
- truetype? ( >=media-libs/freetype-2 )
- sdl? ( >=media-libs/libsdl-1.2.1 )
- doc? ( app-text/texi2html )
- encode? ( media-sound/lame )
- ogg? ( media-libs/libogg )
- vorbis? ( media-libs/libvorbis )
- theora? ( media-libs/libtheora )
- aac? ( media-libs/faad2 media-libs/faac )
- a52? ( >=media-libs/a52dec-0.7.4-r4 )
- xvid? ( >=media-libs/xvid-1.1.0 )
- zlib? ( sys-libs/zlib )
- dts? ( media-libs/libdts )
- ieee1394? ( =media-libs/libdc1394-1*
- sys-libs/libraw1394 )
- test? ( net-misc/wget )
- x264? ( media-libs/x264-svn )
- amr? ( app-arch/unzip )"
-
-src_unpack() {
- unpack ${A} || die
- cd ${S_BASE}
-
- # amr (float) support
- if use amr; then
- einfo "Including amr wide and narrow band (float) support ... "
-
- # narrow band codec
- mkdir ${S_BASE}/libavcodec/amr_float
- cd ${S_BASE}/libavcodec/amr_float
- unzip -q ${WORKDIR}/26104-510_ANSI_C_source_code.zip
-
- # wide band codec
- mkdir ${S_BASE}/libavcodec/amrwb_float
- cd ${S_BASE}/libavcodec/amrwb_float
- unzip -q ${WORKDIR}/26204-510_ANSI-C_source_code.zip
-
- # Patch if we're on 64-bit
- if useq alpha || useq amd64 || useq ia64 || useq ppc64; then
- cd ${S_BASE}
- epatch ${FILESDIR}/${P}-amr-64bit.patch
- fi
- fi
-
- cd ${S_BASE}
-
- #Append -fomit-frame-pointer to avoid some common issues
- use debug || append-flags "-fomit-frame-pointer"
-
- # for some reason it tries to #include <X11/Xlib.h>, but doesn't use it
- sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c
-
- epatch ${FILESDIR}/ffmpeg-unknown-options.patch
-
- # .pc files contain wrong libdir path
- epatch ${FILESDIR}/${PN}-libdir.patch
- sed -i -e "s:GENTOOLIBDIR:$(get_libdir):" configure
-
- # ffmpeg doesn'g use libtool, so the condition for PIC code
- # is __PIC__, not PIC.
- sed -i -e 's/#\(\(.*def *\)\|\(.*defined *\)\|\(.*defined(*\)\)PIC/#\1__PIC__/' \
- libavcodec/i386/dsputil_mmx{.c,_rnd.h,_avg.h} \
- libavcodec/msmpeg4.c \
- libavutil/common.h \
- || die "sed failed (__PIC__)"
-
- # Make it use pic always since we don't need textrels
- sed -i -e "s:LIBOBJFLAGS=\"\":LIBOBJFLAGS=\'\$\(PIC\)\':" configure
-
- # To make sure the ffserver test will work
- sed -i -e "s:-e debug=off::" tests/server-regression.sh
- cd ${S}
- cp -R ${S_BASE} ${S_STATIC}
- mv ${S_BASE} ${S_SHARED}
- cd ${S_SHARED}
- epatch "${FILESDIR}/ffmpeg-shared-gcc4.1.patch"
-}
-
-src_compile() {
- #Note; library makefiles don't propogate flags from config.mak so
- #use specified CFLAGS are only used in executables
- replace-flags -O0 -O2
-
- local myconf=""
-
- #disable mmx accelerated code if not requested, or if PIC is required
- # as the provided asm decidedly is not PIC.
- if ( gcc-specs-pie || ! use mmx ) && ( ! use amd64 ); then
- myconf="${myconf} --disable-mmx"
- fi
-
- if use elibc_FreeBSD; then
- myconf="${myconf} --enable-memalign-hack"
- fi
-
- # enabled by default
- use altivec || myconf="${myconf} --disable-altivec"
- use debug || myconf="${myconf} --disable-debug"
- use oss || myconf="${myconf} --disable-audio-oss"
- use v4l || myconf="${myconf} --disable-v4l --disable-v4l2"
- use ieee1394 || myconf="${myconf} --disable-dv1394"
- use network || myconf="${myconf} --disable-network"
- use zlib || myconf="${myconf} --disable-zlib"
- use sdl || myconf="${myconf} --disable-ffplay"
-
- myconf="${myconf} --disable-opts"
-
- # disabled by default
- use encode && myconf="${myconf} --enable-mp3lame"
- use a52 && myconf="${myconf} --enable-a52"
- use ieee1394 && myconf="${myconf} --enable-dc1394"
- use threads && myconf="${myconf} --enable-pthreads"
- use xvid && myconf="${myconf} --enable-xvid"
- use ogg && myconf="${myconf} --enable-libogg"
- use vorbis && myconf="${myconf} --enable-vorbis"
- use theora && myconf="${myconf} --enable-theora"
- use dts && myconf="${myconf} --enable-dts"
- use x264 && myconf="${myconf} --enable-x264"
- use aac && myconf="${myconf} --enable-faad --enable-faac"
- use amr && myconf="${myconf} --enable-amr_nb --enable-amr_wb"
-
- myconf="${myconf} --enable-gpl --enable-pp --disable-strip"
-
- cd ${S_STATIC}
- #econf generates configure options unknown to ffmpeg's configure, so configure manually
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-static --disable-shared \
- "--cc=$(tc-getCC)" \
- "--extra-ldflags=${LDFLAGS}" \
- ${myconf} || die "static failed"
-
-
- emake || die "static failed"
-
- # Specific workarounds for too-few-registers arch...
- if [[ $(tc-arch) == "x86" ]]; then
- filter-flags -fforce-addr -momit-leaf-frame-pointer
- append-flags -fomit-frame-pointer
- is-flag -O? || append-flags -O2
- if (use debug); then
- # no need to warn about debug if not using debug flag
- ewarn ""
- ewarn "Debug information will be almost useless as the frame pointer is omitted."
- ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
- ewarn "difficult to fix. Please have that in mind."
- ewarn ""
- fi
- fi
-
- # This is needed to make sure that when linking with --as-needed all the
- # libraries are found in the right places, not suitable for upstream yet as
- # it's GNU-ld only (most likely).
- append-ldflags "-Wl,-rpath-link,${S_SHARED}/libav"{codec,format,util}
-
- cd ${S_SHARED}
- #econf generates configure options unknown to ffmpeg's configure, so configure manually
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --disable-static --enable-shared \
- "--cc=$(tc-getCC)" \
- "--extra-ldflags=${LDFLAGS}" \
- ${myconf} || die "shared failed"
-
- emake || die "shared failed"
-}
-
-src_install() {
- for d in ${S_STATIC} ${S_SHARED}; do
- cd ${d}
-
- make DESTDIR=${D} \
- prefix=${D}/usr \
- libdir=${D}/usr/$(get_libdir) \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- bindir=${D}/usr/bin \
- install install-libs || die "Install Failed"
- done
-
- cd ${S_SHARED}
- use doc && make documentation
- dodoc Changelog README INSTALL
- dodoc doc/*
-
- cd ${S_STATIC}/libavcodec/libpostproc
- make prefix=${D}/usr libdir=${D}/usr/$(get_libdir) \
- install || die "Failed to install libpostproc.a!"
-
- cd ${S_SHARED}/libavcodec/libpostproc
- make prefix=${D}/usr libdir=${D}/usr/$(get_libdir) \
- SHARED_PP="yes" \
- install || die "Failed to install libpostproc.so!"
-
- # Some stuff like transcode can use this one.
- dolib ${S_STATIC}/libavcodec/libpostproc/libpostproc.a
-}
-
-# Never die for now...
-src_test() {
-
- for d in ${S_STATIC} ${S_SHARED}; do
- cd ${d}/tests
- for t in "codectest libavtest test-server" ; do
- make ${t} || ewarn "Some tests in ${t} failed for ${d}"
- done
- done
-}
-
-pkg_postinst() {
-
- ewarn "ffmpeg may had ABI changes, if ffmpeg based programs"
- ewarn "like xine-lib or vlc stop working as expected please"
- ewarn "rebuild them."
-
-}