From a8c656f161d8d085053baf4e0e830c37fabcf7db Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Thu, 30 Aug 2007 10:08:50 +0000 Subject: [PATCH] Moved patched ffmpeg ebuild from minerva to global overlay git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@5342 cbe59ace-07ea-0310-918e-868702b5370d --- media-video/ffmpeg/ChangeLog | 887 ++++++++++++++++++ media-video/ffmpeg/Manifest | 28 + .../ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild | 173 ++++ .../files/digest-ffmpeg-0.4.9_p20070616-r1 | 3 + .../files/ffmpeg-0.4.9_p20070330-asmpic.patch | 35 + .../ffmpeg/files/ffmpeg-libdir-2007.patch | 11 + .../ffmpeg/files/ffmpeg-shared-gcc4.1.patch | 40 + media-video/ffmpeg/metadata.xml | 8 + 8 files changed, 1185 insertions(+) create mode 100644 media-video/ffmpeg/ChangeLog create mode 100644 media-video/ffmpeg/Manifest create mode 100644 media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild create mode 100644 media-video/ffmpeg/files/digest-ffmpeg-0.4.9_p20070616-r1 create mode 100644 media-video/ffmpeg/files/ffmpeg-0.4.9_p20070330-asmpic.patch create mode 100644 media-video/ffmpeg/files/ffmpeg-libdir-2007.patch create mode 100644 media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch create mode 100644 media-video/ffmpeg/metadata.xml diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog new file mode 100644 index 0000000..a1463de --- /dev/null +++ b/media-video/ffmpeg/ChangeLog @@ -0,0 +1,887 @@ +# ChangeLog for media-video/ffmpeg +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.203 2007/07/07 21:00:46 drac Exp $ + + 07 Jul 2007; Samuli Suominen + ffmpeg-0.4.9_p20070616-r1.ebuild: + Fix building with USE altivec for bug 183687. Thanks to Laurent G. for + reporting, Joe Jezak for solution, Kimura Masaru for testing. + +*ffmpeg-0.4.9_p20070616-r1 (26 Jun 2007) + + 26 Jun 2007; Luca Barbato + +ffmpeg-0.4.9_p20070616-r1.ebuild: + Enable swscaler + + 16 Jun 2007; Samuli Suominen + ffmpeg-0.4.9_p20070616.ebuild: + enable xvid to enable libxvid. + +*ffmpeg-0.4.9_p20070616 (16 Jun 2007) + + 16 Jun 2007; Luca Barbato + +ffmpeg-0.4.9_p20070616.ebuild: + New snapshot, SVN revision 9330 + + 01 Jun 2007; Samuli Suominen + ffmpeg-0.4.9_p20070525.ebuild: + Append -DBROKEN_RELOCATIONS which is a hack to workaround bug 179872. + + 01 Jun 2007; Samuli Suominen + ffmpeg-0.4.9_p20070525.ebuild: + Remove USE dts for bug 180129. + +*ffmpeg-0.4.9_p20070525 (26 May 2007) + + 26 May 2007; Luca Barbato + +ffmpeg-0.4.9_p20070525.ebuild: + New snapshot, using libamr + + 16 May 2007; Jeroen Roovers + ffmpeg-0.4.9_p20070330.ebuild: + Stable for HPPA (bug #174909). + + 05 May 2007; Fabian Groffen + ffmpeg-0.4.9_p20051216.ebuild, ffmpeg-0.4.9_p20060302.ebuild, + ffmpeg-0.4.9_p20060530.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 22 Apr 2007; Bryan Østergaard + ffmpeg-0.4.9_p20070330.ebuild: + Stable on Alpha, bug 174909. + + 17 Apr 2007; Tobias Scherbaum + ffmpeg-0.4.9_p20070330.ebuild: + ppc stable, bug #168907 + + 16 Apr 2007; Raúl Porcel + ffmpeg-0.4.9_p20070330.ebuild: + ia64 stable + + 12 Apr 2007; Raúl Porcel + ffmpeg-0.4.9_p20070330.ebuild: + x86 stable + + 12 Apr 2007; Peter Weller ffmpeg-0.4.9_p20070330.ebuild: + Stable on amd64 wrt bug 168907 + + 05 Apr 2007; Alexis Ballier + +files/ffmpeg-0.4.9_p20070330-asmpic.patch, ffmpeg-0.4.9_p20070330.ebuild: + Disable non pic safe asm on x86 and amd64, bug #172845, bug #172877 and dupes + + 04 Apr 2007; Markus Rothe + ffmpeg-0.4.9_p20070330.ebuild: + Stable on ppc64 + + 04 Apr 2007; Gustavo Zacarias + ffmpeg-0.4.9_p20070330.ebuild: + Stable on sparc wrt #170860 + +*ffmpeg-0.4.9_p20070330 (30 Mar 2007) + + 30 Mar 2007; Luca Barbato + +ffmpeg-0.4.9_p20070330.ebuild: + New snapshot + + 27 Mar 2007; Luca Barbato + ffmpeg-0.4.9_p20070325.ebuild: + s/a52/liba52 + + 25 Mar 2007; Luca Barbato + ffmpeg-0.4.9_p20070325.ebuild: + Minor fixes and update + +*ffmpeg-0.4.9_p20070325 (25 Mar 2007) + + 25 Mar 2007; Luca Barbato + +ffmpeg-0.4.9_p20070325.ebuild: + New snapshot + + 22 Mar 2007; Gustavo Zacarias + ffmpeg-0.4.9_p20070129.ebuild: + Stable on sparc + + 21 Mar 2007; Christian Faulhammer + ffmpeg-0.4.9_p20070129.ebuild: + stable x86, security bug 170208 + + 16 Feb 2007; Simon Stelling + ffmpeg-0.4.9_p20061016.ebuild, ffmpeg-0.4.9_p20070129.ebuild: + depend on >=portage-2.1.2 on amd64 to make sure the mmx USE flag is unmasked + + 29 Jan 2007; Steve Dibb + ffmpeg-0.4.9_p20070129.ebuild: + Rekeyword ~ + + 29 Jan 2007; Luca Barbato + ffmpeg-0.4.9_p20070129.ebuild: + Put it back in ~, not the right time, closing bug #164445, thanks to + Sebastian for notifying. + + 29 Jan 2007; Luca Barbato + files/ffmpeg-libdir-2007.patch: + Make the patch working everywhere, thanks to Markus Trippelsdorf + for pointing the issue + +*ffmpeg-0.4.9_p20070129 (29 Jan 2007) + + 29 Jan 2007; Luca Barbato + +files/ffmpeg-libdir-2007.patch, +ffmpeg-0.4.9_p20070129.ebuild: + New snapshot + + 29 Jan 2007; Bryan Østergaard + ffmpeg-0.4.9_p20061016.ebuild: + Stable on Alpha + IA64. + + 06 Jan 2007; Michael Cummings + ffmpeg-0.4.9_p20061016.ebuild: + amd64 stable + + 04 Jan 2007; Christian Faulhammer + ffmpeg-0.4.9_p20061016.ebuild: + stable x86, bug #157814 + + 30 Dec 2006; Bryan Østergaard + ffmpeg-0.4.9_p20061016.ebuild: + Add ~alpha and ~ia64 keywords. + + 23 Dec 2006; Tobias Scherbaum + ffmpeg-0.4.9_p20061016.ebuild: + Stable on ppc wrt bug #157814. + + 21 Dec 2006; Gustavo Zacarias + ffmpeg-0.4.9_p20060530.ebuild, ffmpeg-0.4.9_p20061016.ebuild: + Stable on sparc wrt #157814 + + 21 Dec 2006; Markus Rothe + ffmpeg-0.4.9_p20061016.ebuild: + Stable on ppc64; bug #157814 + + 10 Dec 2006; Matthias Schwarzott + ffmpeg-0.4.9_p20050226-r3.ebuild, ffmpeg-0.4.9_p20051216.ebuild, + ffmpeg-0.4.9_p20060302.ebuild, ffmpeg-0.4.9_p20060517.ebuild, + ffmpeg-0.4.9_p20060530.ebuild, ffmpeg-0.4.9_p20060816.ebuild, + ffmpeg-0.4.9_p20061016.ebuild: + Corrected installation of source-Changelog-file, thanks to Josef Reidinger + for reporting, Bug #157628. + + 07 Dec 2006; Luca Barbato + ffmpeg-0.4.9_p20061016.ebuild: + Fix reg depletion in x86, see bug #154922 + + 01 Dec 2006; Jeroen Roovers + ffmpeg-0.4.9_p20061016.ebuild: + Stable for HPPA (or xine-lib will not even configure). + +*ffmpeg-0.4.9_p20061016 (17 Oct 2006) + + 17 Oct 2006; Luca Barbato + +ffmpeg-0.4.9_p20061016.ebuild: + New version + + 03 Oct 2006; Luca Barbato + ffmpeg-0.4.9_p20060530.ebuild, ffmpeg-0.4.9_p20060816.ebuild: + Fix deps, see bug #134555 + + 11 Sep 2006; Luca Barbato + ffmpeg-0.4.9_p20060816.ebuild: + emake -j1 calls and add emake depend just in case + + 08 Sep 2006; Rene Nussbaumer + ffmpeg-0.4.9_p20060530.ebuild: + Stable on hppa. See bug #133520. + + 08 Sep 2006; Thomas Cort ffmpeg-0.4.9_p20060530.ebuild: + Stable on alpha wrt security Bug #133520. + + 08 Sep 2006; Tobias Scherbaum + ffmpeg-0.4.9_p20060530.ebuild: + ppc stable, bug #133520 + + 07 Sep 2006; Joshua Jackson + ffmpeg-0.4.9_p20060530.ebuild: + Stable x86; for security bug #133520 + + 07 Sep 2006; Thomas Cort ffmpeg-0.4.9_p20060530.ebuild: + Stable on amd64. + + 07 Sep 2006; Gustavo Zacarias + ffmpeg-0.4.9_p20060530.ebuild: + Stable on sparc wrt #133520 + + 07 Sep 2006; Markus Rothe + ffmpeg-0.4.9_p20060530.ebuild: + Stable on ppc64; bug #133520 + + 04 Sep 2006; Diego Pettenò + ffmpeg-0.4.9_p20060530.ebuild, ffmpeg-0.4.9_p20060816.ebuild: + Export true as LDCONFIG value during install phases, so that it does not + trigger sandbox on Gentoo/FreeBSD. + + 30 Aug 2006; Luca Barbato + ffmpeg-0.4.9_p20060816.ebuild: + Fix multilib-strict and support EXTRA_ECONF + + 17 Aug 2006; Luca Barbato + ffmpeg-0.4.9_p20060816.ebuild: + fix sdl dep + + 16 Aug 2006; Luca Barbato ChangeLog: + New version + + 14 Aug 2006; Luca Barbato + +files/ffmpeg-0.4.9_p20060530-snow-mmx.patch, + ffmpeg-0.4.9_p20060530.ebuild: + Make snow compile on x86 with pic and mmx enabled at the same time, many + thanks to Martin von Gagern for the patch and the + overall help + + 12 Aug 2006; Luca Barbato + ffmpeg-0.4.9_p20060530.ebuild: + Marked ~ppc64 + + 12 Aug 2006; Luca Barbato + ffmpeg-0.4.9_p20060530.ebuild: + Pin x264 version to avoid build issue with snapshots too new + + 01 Aug 2006; Joshua Jackson + ffmpeg-0.4.9_p20060530.ebuild: + Adding ~x86 as it works and all that jazz + + 31 May 2006; Gustavo Zacarias + ffmpeg-0.4.9_p20060530.ebuild: + Gave it a ~sparc + + 31 May 2006; Diego Pettenò + ffmpeg-0.4.9_p20060530.ebuild: + Re-add ~x86-fbsd and ~amd64 keywords. + + 31 May 2006; Diego Pettenò + ffmpeg-0.4.9_p20060530.ebuild: + Remove keywording comments, we always add and drop them every other release. + + 31 May 2006; Diego Pettenò + ffmpeg-0.4.9_p20060530.ebuild: + Remove old hack for $LDFLAGS passing (fixed upstream), remove the + append-flags (fixed upstream). + + 12 Jun 2006; Luca Barbato + ffmpeg-0.4.9_p20060530.ebuild: + more files to the sed PIC + + 31 May 2006; Luca Barbato + ffmpeg-0.4.9_p20060530.ebuild: + Missing patch + +*ffmpeg-0.4.9_p20060530 (30 May 2006) + + 30 May 2006; Luca Barbato + +ffmpeg-0.4.9_p20060530.ebuild: + New snapshot + + 28 May 2006; Diego Pettenò + -files/ffmpeg-0.4.9_p20050226-gcc4.patch, + -files/ffmpeg-0.4.9_p20050906-osx.patch, -files/ffmpeg-a52.patch, + -files/ffmpeg-configure.patch, -files/ffmpeg-missing_links.patch, + -files/ffmpeg-osx.patch, -files/gentoo-ffmpeg001.patch, + -ffmpeg-0.4.9_p20050226-r5.ebuild, -ffmpeg-0.4.9_p20050906.ebuild, + -ffmpeg-0.4.9_p20051120.ebuild: + Remove old versions. + + 25 May 2006; Diego Pettenò + ffmpeg-0.4.9_p20060302.ebuild: + Add ~x86-fbsd keyword. + +*ffmpeg-0.4.9_p20060517 (17 May 2006) + + 17 May 2006; Luca Barbato + +ffmpeg-0.4.9_p20060517.ebuild: + new snapshot, to be tested + + 08 May 2006; Diego Pettenò + ffmpeg-0.4.9_p20060302.ebuild: + Use -rpath-link to make sure that the libraries are linked correctly, should + fixes bug #132171. + + 03 May 2006; Diego Pettenò metadata.xml: + Update metadata to list media-video@gentoo.org as maintainer. + + 20 Apr 2006; Daniel Gryniewicz + +files/ffmpeg-0.4.9_p20060302-amr-64bit.patch, + ffmpeg-0.4.9_p20060302.ebuild: + Fix amr on 64-bit arches per bug# 130530 + + 14 Apr 2006; Diego Pettenò + +files/ffmpeg-0.4.9_p20060302-fbsd-flags.patch, + ffmpeg-0.4.9_p20060302.ebuild: + Add patch to respect CFLAGS on FreeBSD, and don't use preplib that's no more + needed anyway. + + 31 Mar 2006; Simon Stelling +files/ffmpeg-libdir.patch, + ffmpeg-0.4.9_p20060302.ebuild: + fix wrong libdir paths in .pc files + + 21 Mar 2006; Diego Pettenò + +files/ffmpeg-0.4.9_p20051216-asneeded-configure.patch, + ffmpeg-0.4.9_p20051216.ebuild, ffmpeg-0.4.9_p20060302.ebuild: + Use --cc option instead of overwriting CC variable to respect the compiler, + pass --extra-ldflags to respect LDFLAGS (only 20060302 respect them + entirely). Add patch to allow using --as-needed flag. + + 08 Mar 2006; Diego Pettenò + ffmpeg-0.4.9_p20051216.ebuild, ffmpeg-0.4.9_p20060302.ebuild: + Disable strip, leaving to portage decide if and when to strip. + + 06 Mar 2006; Luca Barbato + ffmpeg-0.4.9_p20060302.ebuild: + merged v4l and v4l2 + + 05 Mar 2006; Luca Barbato + ffmpeg-0.4.9_p20060302.ebuild: + Improved ebuild with amr and v4l2 support, thanks to Philip Kovacs + for the improved ebuild, other minor fixes + + 04 Mar 2006; Luca Barbato + files/ffmpeg-shared-gcc4.1.patch: + fix + + 04 Mar 2006; Luca Barbato + +files/ffmpeg-shared-gcc4.1.patch, ffmpeg-0.4.9_p20060302.ebuild: + ffmpeg-shared-gcc4 patch is back + +*ffmpeg-0.4.9_p20060302 (03 Mar 2006) + + 03 Mar 2006; Luca Barbato + +ffmpeg-0.4.9_p20060302.ebuild: + New snapshot + + 15 Feb 2006; Diego Pettenò + ffmpeg-0.4.9_p20050226-r3.ebuild: + Add missing sdl useflag in IUSE. + + 30 Jan 2006; Luca Barbato + +files/ffmpeg-shared-gcc4.patch, ffmpeg-0.4.9_p20051216.ebuild: + x86 workaround from Kevin F. Quinn , I'll share the + blame if breaks something + + 09 Jan 2006; Bryan Østergaard + ffmpeg-0.4.9_p20051216.ebuild: + Warning added + + 06 Jan 2006; Luca Barbato + files/ffmpeg-soname-symlink.patch: + minor fix for osx + + 03 Jan 2006; Bryan Østergaard + ffmpeg-0.4.9_p20051216.ebuild: + Marked ~ppc-macos (bug #116181) + + 02 Jan 2006; Michael Hanselmann + ffmpeg-0.4.9_p20051216.ebuild: + Stable on ppc. + + 01 Jan 2006; Simon Stelling + ffmpeg-0.4.9_p20051216.ebuild: + stable on amd64 wrt bug 116181 + + 31 Dec 2005; Markus Rothe + ffmpeg-0.4.9_p20051216.ebuild: + Stable on ppc64 + + 30 Dec 2005; Mark Loeser + ffmpeg-0.4.9_p20051216.ebuild: + Stable on x86; bug #116181 + + 30 Dec 2005; Gustavo Zacarias + ffmpeg-0.4.9_p20051216.ebuild: + Stable on sparc wrt security #116181 + + 28 Dec 2005; Guy Martin ffmpeg-0.4.9_p20051216.ebuild: + Fix compilation of xine-lib on hppa. + + 26 Dec 2005; Luca Barbato -ffmpeg-0.4.8.ebuild, + -ffmpeg-0.4.9_pre1-r1.ebuild, ffmpeg-0.4.9_p20050226-r3.ebuild: + Cleanup + + 21 Dec 2005; Luis Medinas + ffmpeg-0.4.9_p20051216.ebuild: + Add ~amd64 keyword for bug #116181. + + 21 Dec 2005; Markus Rothe + ffmpeg-0.4.9_p20051216.ebuild: + Added ~ppc64; bug #116181 + + 21 Dec 2005; Mark Loeser + ffmpeg-0.4.9_p20051216.ebuild: + Adding ~x86; bug #116181 + + 20 Dec 2005; Rene Nussbaumer + ffmpeg-0.4.9_p20051216.ebuild: + Unstable on hppa. See bug #116181. + + 20 Dec 2005; Gustavo Zacarias + ffmpeg-0.4.9_p20051216.ebuild: + Keyworded ~sparc wrt #116181 + + 17 Dec 2005; Luca Barbato + files/ffmpeg-soname-symlink.patch: + yet another fix part 2 + + 17 Dec 2005; Luca Barbato + files/ffmpeg-soname-symlink.patch: + yet another fix + + 16 Dec 2005; Luca Barbato + files/ffmpeg-soname-symlink.patch: + Fix in the patch + +*ffmpeg-0.4.9_p20051216 (16 Dec 2005) + + 16 Dec 2005; Luca Barbato + +files/ffmpeg-soname-symlink.patch, +files/ffmpeg-unknown-options.patch, + +ffmpeg-0.4.9_p20051216.ebuild: + New snapshot + + 04 Dec 2005; Lina Pezzella + ffmpeg-0.4.9_p20051120.ebuild: + Testing ppc-macos, Bug #113107 + + 29 Nov 2005; Jason Wever ffmpeg-0.4.9_p20051120.ebuild: + Added ~sparc keyword wrt bug #113107. + + 21 Nov 2005; Luca Barbato + ffmpeg-0.4.9_p20051120.ebuild: + Marked ~ppc + + 21 Nov 2005; Markus Rothe + ffmpeg-0.4.9_p20051120.ebuild: + Added ~ppc64 keyword; bug #113107 + + 21 Nov 2005; Herbie Hopkins + ffmpeg-0.4.9_p20051120.ebuild: + Marked ~amd64 wrt bug #113107. + + 21 Nov 2005; Chris White + ffmpeg-0.4.9_p20051120.ebuild: + Added ~x86 keyword as per bug #113107. + +*ffmpeg-0.4.9_p20051120 (20 Nov 2005) + + 20 Nov 2005; Luca Barbato + +files/ffmpeg-configure.patch, +ffmpeg-0.4.9_p20051120.ebuild: + New experimental snapshot + + 18 Sep 2005; Bryan Østergaard + ffmpeg-0.4.9_p20050906.ebuild: + Add ~alpha keyword. + + 17 Sep 2005; Luca Barbato + ffmpeg-0.4.9_p20050906.ebuild: + ~alpha temporary dropped + + 17 Sep 2005; Luca Barbato + ffmpeg-0.4.9_p20050906.ebuild: + Dep fix for xvid, thanks to Staffan Palmroos + + 15 Sep 2005; Aron Griffis + ffmpeg-0.4.9_p20050226-r5.ebuild: + Mark 0.4.9_p20050226-r5 stable on alpha + + 15 Sep 2005; Luca Barbato + ffmpeg-0.4.9_p20050226-r5.ebuild: + ieee1394 issues, fixed the stable ebuild. + + 12 Sep 2005; Luca Barbato + +files/ffmpeg-0.4.9_p20050906-osx.patch, ffmpeg-0.4.9_p20050906.ebuild: + Other fixes and dylib support + + 12 Sep 2005; Luca Barbato + ffmpeg-0.4.9_p20050906.ebuild: + Fix ieee1394 issues + + 10 Sep 2005; Diego Pettenò + ffmpeg-0.4.9_p20050906.ebuild: + Comments cleanup for missing keywords. Don't install INSTALL file. + + 10 Sep 2005; Luca Barbato + ffmpeg-0.4.9_p20050906.ebuild: + Fix Ogg support + +*ffmpeg-0.4.9_p20050906 (08 Sep 2005) + + 08 Sep 2005; Luca Barbato + +ffmpeg-0.4.9_p20050906.ebuild: + New snapshot, src_test added. + + 26 Aug 2005; Seemant Kulleen + ffmpeg-0.4.9_p20050226-r5.ebuild: + moved libdc1394 from media-plugins to media-libs + + 24 Aug 2005; Aron Griffis + ffmpeg-0.4.9_p20050226-r5.ebuild: + stable on ia64 + + 12 Jun 2005; Bryan Østergaard + ffmpeg-0.4.9_p20050226-r5.ebuild: + Add ~alpha keyword. + + 10 Jun 2005; Diego Pettenò + ffmpeg-0.4.9_p20050226-r5.ebuild: + Use memalign hack on FreeBSD. + + 06 Jun 2005; Markus Rothe + ffmpeg-0.4.9_p20050226-r5.ebuild: + Stable on ppc64 + + 17 May 2005; Gustavo Zacarias + ffmpeg-0.4.9_p20050226-r5.ebuild: + Stable on sparc + + 15 May 2005; Diego Pettenò + ffmpeg-0.4.9_pre1-r1.ebuild, ffmpeg-0.4.9_p20050226-r3.ebuild, + ffmpeg-0.4.9_p20050226-r5.ebuild: + Removed unused gcc inheriting. Inherited toolchain-funcs where needed. + + 09 May 2005; Aron Griffis + ffmpeg-0.4.9_p20050226-r3.ebuild, ffmpeg-0.4.9_p20050226-r5.ebuild: + mark 0.4.9_p20050226-r3 stable on ia64. add ~ia64 to 0.4.9_p20050226-r5 + + 06 May 2005; Diego Pettenò + ffmpeg-0.4.9_p20050226-r5.ebuild: + Marked amd64. + + 06 May 2005; Luca Barbato + ffmpeg-0.4.9_p20050226-r5.ebuild: + Marked ppc and x86 + + 05 May 2005; Donnie Berkholz ; + +files/0.4.8-gcc3.4-magicF2W.patch: + Re-add missing patch. + +*ffmpeg-0.4.9_pre1-r1 (04 May 2005) + + 04 May 2005; Lina Pezzella +files/ffmpeg-osx.patch, + +ffmpeg-0.4.9_pre1-r1.ebuild: + Re-added the pre1 ebuild since there are extensive patches made against it + that do not yet work with upstream's CVS. We're working on the latter, but + I'm not going to hold up ffmpeg any longer. + + 02 May 2005; Luca Barbato + ffmpeg-0.4.9_p20050226-r5.ebuild: + Forced -fomit-frame-pointer + +*ffmpeg-0.4.9_p20050226-r5 (26 Apr 2005) + + 26 Apr 2005; Jeremy Huddleston + -files/ffmpeg-0.4.7-2.6.patch, -files/0.4.8-gcc3.4-magicF2W.patch, + -files/alpha-idct.patch, +files/ffmpeg-a52.patch, + -files/ffmpeg-configure-extralibs.patch, + +files/ffmpeg-missing_links.patch, -ffmpeg-0.4.7.ebuild, + -ffmpeg-0.4.8.20040222.ebuild, -ffmpeg-0.4.8.20040322.ebuild, + -ffmpeg-0.4.8.20040322-r1.ebuild, -ffmpeg-0.4.9_pre1.ebuild, + -ffmpeg-0.4.9_p20050226-r1.ebuild, -ffmpeg-0.4.9_p20050226.ebuild, + -ffmpeg-0.4.9_p20050226-r2.ebuild, ffmpeg-0.4.9_p20050226-r3.ebuild, + -ffmpeg-0.4.9_p20050226-r4.ebuild, +ffmpeg-0.4.9_p20050226-r5.ebuild: + Revbump to add missing links to needed libs in libavformat. Handle a52 and + faad properly. Removing old versions. + + 25 Apr 2005; Martin Schlemmer + files/ffmpeg-0.4.9_p20050226-gcc4.patch, ffmpeg-0.4.9_p20050226-r4.ebuild: + Fixup mafteah's patch the other way around, else it breaks avifile among + things. + + 25 Apr 2005; Martin Schlemmer + +files/ffmpeg-0.4.9_p20050226-gcc4.patch, + ffmpeg-0.4.9_p20050226-r4.ebuild: + Fix building with gcc4. Patch from Genady Okrain (mafteah) 's overlay, with + some added hunks that was needed this side. + + 24 Apr 2005; Diego Pettenò + +files/ffmpeg-configure-extralibs.patch, ffmpeg-0.4.9_p20050226-r4.ebuild: + Added patch to link to libdc1394 when ieee1394 is enabled. Fixes #90150. + + 24 Apr 2005; Michael Hanselmann + ffmpeg-0.4.9_p20050226-r3.ebuild: + Stable on hppa. + + 24 Apr 2005; Bryan Østergaard + ffmpeg-0.4.9_p20050226-r3.ebuild: + Stable on alpha. + + 24 Apr 2005; Markus Rothe + ffmpeg-0.4.9_p20050226-r3.ebuild: + Stable on ppc64 + + 22 Apr 2005; Diego Pettenò + ffmpeg-0.4.9_p20050226-r4.ebuild: + Fixed typo on pic/mmx if condition. + +*ffmpeg-0.4.9_p20050226-r4 (21 Apr 2005) + + 21 Apr 2005; Diego Pettenò + +ffmpeg-0.4.9_p20050226-r4.ebuild: + Added new revision which applies cleanups on bug #89172, and patch to enable + mmx on amd64 as for bug #88965. + + 19 Apr 2005; Luca Barbato + ffmpeg-0.4.9_p20050226-r3.ebuild: + Marked ppc and x86 + + 19 Apr 2005; Diego Pettenò + ffmpeg-0.4.9_p20050226-r3.ebuild: + Mark ffmpeg-0.4.9_p20050226-r3 stable on amd64. + + 18 Apr 2005; Diego Pettenò + ffmpeg-0.4.9_p20050226-r3.ebuild: + Changed xvid dependency to 1.0. Fixes #88879. + +*ffmpeg-0.4.9_p20050226-r3 (03 Apr 2005) + + 03 Apr 2005; Jan Brinkmann + +ffmpeg-0.4.9_p20050226-r3.ebuild: + revision bump to indicate the latest changes, fixes #87681 + + 30 Mar 2005; Chris White + ffmpeg-0.4.9_p20050226-r1.ebuild, ffmpeg-0.4.9_p20050226-r2.ebuild, + ffmpeg-0.4.9_p20050226.ebuild: + Fixed bug #87069. + + 21 Mar 2005; Jeremy Huddleston + ffmpeg-0.4.9_p20050226-r2.ebuild: + Use the right toolchain compiler. + + 20 Mar 2005; Chris White + files/gentoo-ffmpeg001.patch, ffmpeg-0.4.9_p20050226-r2.ebuild: + Fixed a52 linking (again). Closes bugs #85929 and #85952. + +*ffmpeg-0.4.9_p20050226-r2 (19 Mar 2005) + + 19 Mar 2005; Chris White + +files/ffmpeg-libdir-pic.patch, files/gentoo-ffmpeg001.patch, + +ffmpeg-0.4.9_p20050226-r2.ebuild: + Fix bug #84241 (multilib and pic). + + 16 Mar 2005; Chris White + ffmpeg-0.4.9_p20050226-r1.ebuild: + Added missing emake. + + 11 Mar 2005; Luca Barbato + ffmpeg-0.4.9_p20050226-r1.ebuild: + Put back xvid support + +*ffmpeg-0.4.9_p20050226-r1 (10 Mar 2005) + + 10 Mar 2005; Chris White + +ffmpeg-0.4.9_p20050226-r1.ebuild: + Fixed bug #67947. -fPIC logic makes sense now. Thanks to Kevin Quin for + supplying the logic. + + 07 Mar 2005; Chris White + ffmpeg-0.4.9_p20050226.ebuild: + Added threading support. + + 03 Mar 2005; Luca Barbato + ffmpeg-0.4.9_p20050226.ebuild: + Removed xvid useflag + + 01 Mar 2005; Chris White + ffmpeg-0.4.9_p20050226.ebuild: + Fix bad spelling. + +*ffmpeg-0.4.9_p20050226 (01 Mar 2005) + + 01 Mar 2005; Chris White + +files/gentoo-ffmpeg001.patch, +ffmpeg-0.4.9_p20050226.ebuild: + Bumped to 20050226 snapshot release. + + 24 Feb 2005; Jan Brinkmann ffmpeg-0.4.8.ebuild: + fixed #82873, emerge failed due to missing patch. + + 06 Feb 2005; Jan Brinkmann ffmpeg-0.4.7.ebuild, + ffmpeg-0.4.8.20040222.ebuild, ffmpeg-0.4.8.20040322-r1.ebuild, + ffmpeg-0.4.8.20040322.ebuild, ffmpeg-0.4.8.ebuild, ffmpeg-0.4.9_pre1.ebuild: + added dummy src_test() to fix #77212 + + 16 Dec 2004; Markus Rothe ffmpeg-0.4.9_pre1.ebuild: + Stable on ppc64 + + 14 Dec 2004; Jeremy Huddleston + ffmpeg-0.4.7.ebuild, ffmpeg-0.4.8.20040222.ebuild, + ffmpeg-0.4.8.20040322-r1.ebuild, ffmpeg-0.4.8.20040322.ebuild, + ffmpeg-0.4.8.ebuild, ffmpeg-0.4.9_pre1.ebuild: + Using 'aac' instead of faad and faac. + + 02 Nov 2004; Markus Rothe ffmpeg-0.4.9_pre1.ebuild: + Marked ~ppc64 + + 25 Aug 2004; Sven Wegener ffmpeg-0.4.9_pre1.ebuild: + Changed SRC_URI to use mirror:// syntax. + +*ffmpeg-0.4.9_pre1 (21 Jul 2004) + + 21 Jul 2004; Jeremy Huddleston + +ffmpeg-0.4.9_pre1.ebuild: + Version bump closes bug #56613. + + 25 Jun 2004; Daniel Goller ffmpeg-0.4.8.20040322-r1.ebuild: + ffmpeg-0.4.8.20040322-r1.ebuild adding patch for gcc 3.4.x + closes 49383 Credit goes to Ed Catmur for the patch + + 24 Jun 2004; Martin Holzer + ffmpeg-0.4.8.20040322-r1.ebuild, ffmpeg-0.4.8.20040322.ebuild: + removing symblink from ffplay to ffmpeg. closes 51014 + + 09 Jun 2004; Luca Barbato + ffmpeg-0.4.8.20040322-r1.ebuild: + Same fix from amd64 + + 09 Jun 2004; Thomas Raschbacher + ffmpeg-0.4.8.20040322-r1.ebuild: + only enable faac when we are not on ia64 or alpha in src_compile + +*ffmpeg-0.4.8.20040322-r1 (09 Jun 2004) + + 09 Jun 2004; Thomas Raschbacher + +ffmpeg-0.4.8.20040322-r1.ebuild: + -r1 adds faac support, added local USE flag + fixes bug #48090, thanks to Stefan Briesenick + + 07 Jun 2004; Travis Tilley ffmpeg-0.4.8.20040322.ebuild: + stable on amd64 + + 05 Jun 2004; ffmpeg-0.4.8.20040322.ebuild: + No longer available from SRC_URI, changed the keywords to -*.. oops + we have it on our mirrors... sorry.. + + 30 Mar 2004; Sven Blumenstein + ffmpeg-0.4.8.20040322.ebuild: + Stable on sparc. + + 26 Mar 2004; Joel Martin ffmpeg-0.4.8.20040222.ebuild, + ffmpeg-0.4.8.20040322.ebuild: + Filter out -momit-leaf-frame-pointer flag from libpostproc compilation + +*ffmpeg-0.4.8.20040322 (22 Mar 2004) + + 22 Mar 2004; Luca Barbato ffmpeg-0.4.8.20040322.ebuild: + New snapshot, works with ppc + + 15 Mar 2004; Luca Barbato ffmpeg-0.4.8.20040222.ebuild: + Marked -ppc pending a fix for misbuild. + +*ffmpeg-0.4.8.20040222 (11 Mar 2004) + + 11 Mar 2004; ffmpeg-0.4.8.20040222.ebuild: + Install libpostproc library. Update to newer snapshot. Bug 27051 + + 17 Feb 2004; Aron Griffis ffmpeg-0.4.8.ebuild: + stable on alpha and ia64 + + 16 Jan 2004; Bartosch Pixa ffmpeg-0.4.8.ebuild: + set ppc in keywords + + 29 Nov 2003; Brad House ffmpeg-0.4.8.ebuild: + amd64 needs -fPIC to compile properly + + 22 Nov 2003; Luca Barbato ffmpeg-0.4.8.ebuild: + altivec related fix, thanks to Olivier for the report + and the patch + +*ffmpeg-0.4.8 (18 Oct 2003) + + 18 Oct 2003; ffmpeg-0.4.8.ebuild: + version bump, fix a bug where it was trying to include X11/Xlib.h for no + apparent reason + +*ffmpeg-0.4.7 (09 Sep 2003) + + 09 Sep 2003; Martin Holzer ffmpeg-0.4.7.ebuild: + Version bumped. + + 14 Jul 2003; Alastair Tse + ffmpeg-0.4.7_pre20030624.ebuild: + depend on a non-masked version of imlib2 + + 13 Jul 2003; Nick Hadaway ffmpeg-0.4.7_pre20030624.ebuild: + Adding sdl, imlib, and truetype use flags. + + 06 Jul 2003; Nick Hadaway ffmpeg-0.4.7_pre20030624.ebuild: + Marked stble for x86 + + 02 Jul 2003; Nick Hadaway ffmpeg-0.4.7_pre20030624.ebuild, + files/alpha-idct.patch: + Addresses bug #23563. This problem was fixed upstream in cvs. + Added a small patch. + +*ffmpeg-0.4.7_pre20030624 (26 Jun 2003) + + 26 Jun 2003; Nick Hadaway ffmpeg-0.4.7_pre20030624.ebuild: + As of June 9th, 0.4.6 is considered obsolete by the upstream author. + This build pulled from a cvs snapshot now has support for the dvd + and static use variables. Also added faad as a local use variable. + +*ffmpeg-0.4.6-r1 (4 Jan 2003) + + 10 Mar 2003; Will Woods ffmpeg-0.4.6-r1.ebuild: + Added ~alpha to keywords and -fPIC to flags, fixes bug #16281 + + 19 Feb 2003; Martin Holzer ffmpeg-0.4.6-r1.ebuild : + Marked as stable. + + 26 Jan 2003; Seemant Kulleen ffmpeg-0.4.6-r1.ebuild : + + Added -fPIC to the filter-flags to sort out compiling issues such as + those reported in bug #14500 by atomicdog@akier.net (Conrad Akier) + + 4 Jan 2003; Joshua Brindle ffmpeg-0.4.6-r1.ebuild : + merge patches to ebuild and package from Rene Wagner + to install libavcodec as a .so. + +*ffmpeg-0.4.6 (3 Jan 2003) + + 3 Jan 2003; Joshua Brindle ffmpeg-0.4.6.ebuild : + version bump, this is a release non-snapshot version, recommend upgrade + +*ffmpeg-0.4.5.20021212 (13 Dec 2002) + + 5 Jan 2002; Joshua Brindle ffmpeg-0.4.5.20021212.ebuild : + Changing url to reflect where author moved his. + + 13 Dec 2002; Bryon Roche ffmpeg-0.4.5.20021212.ebuild : + ffmpeg isn't REALLY x86 specific. Giving ppc and sparc a nice big ~. + + 12 Dec 2002; Joshua Brindle ffmpeg-0.4.5.20021212.ebuild : + cvs snapshot so that streaming will work, also added mp3lame and oggvorbis + support with encode and oggvorbis use vars. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*ffmpeg-0.4.5 (1 Feb 2002) + + 25 Sep 2002; Daniel Ahlberg ffmpeg-0.4.5.ebuild : + Filter out "-fforce-addr". + + 05 Sep 2002; Seemant Kulleen ffmpeg-0.4.5.ebuild : + + Added nasm to DEPEND. Thanks to: jfelice@cronosys.com (Jay 'Eraserhead' + Felice) in bug #7481. Also tagged it x86 only due to this. + + 1 Feb 2002; G.Bevin ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest new file mode 100644 index 0000000..1eff96b --- /dev/null +++ b/media-video/ffmpeg/Manifest @@ -0,0 +1,28 @@ +AUX ffmpeg-0.4.9_p20070330-asmpic.patch 2111 RMD160 3172d33b3f98933de028a279a55ceea488ab635a SHA1 1a60ea4599324bb29be2de818ee126804203b060 SHA256 a0799a9fda4312c468ec812af67e3a69f7e9f298f877734ce061dfaa4e5b1ce9 +MD5 cb246a8aa562c144f39894d5d7e1c00a files/ffmpeg-0.4.9_p20070330-asmpic.patch 2111 +RMD160 3172d33b3f98933de028a279a55ceea488ab635a files/ffmpeg-0.4.9_p20070330-asmpic.patch 2111 +SHA256 a0799a9fda4312c468ec812af67e3a69f7e9f298f877734ce061dfaa4e5b1ce9 files/ffmpeg-0.4.9_p20070330-asmpic.patch 2111 +AUX ffmpeg-libdir-2007.patch 313 RMD160 88b86d34eaf976db25db70449b0d4a3238a16a32 SHA1 43486a328913beec5ae1f38eb6fd987b2d756995 SHA256 08df45ff041269c1226eda787e9a30373ed7b5a469e06b6b30bd6a81e781f863 +MD5 7e0641383d698cdb826850074b38ca1f files/ffmpeg-libdir-2007.patch 313 +RMD160 88b86d34eaf976db25db70449b0d4a3238a16a32 files/ffmpeg-libdir-2007.patch 313 +SHA256 08df45ff041269c1226eda787e9a30373ed7b5a469e06b6b30bd6a81e781f863 files/ffmpeg-libdir-2007.patch 313 +AUX ffmpeg-shared-gcc4.1.patch 1667 RMD160 cf0318bcb812ad701e8cd55f10f59ca71933cf6c SHA1 0fd4d860efd8a0240fa66443429d8404d28a27dd SHA256 0bd67ed0cc1ea47c36756f5a66e504af4de85ce072c4b92083fb44065b5a3671 +MD5 d970f65795ef8b8ce839c01020b0e707 files/ffmpeg-shared-gcc4.1.patch 1667 +RMD160 cf0318bcb812ad701e8cd55f10f59ca71933cf6c files/ffmpeg-shared-gcc4.1.patch 1667 +SHA256 0bd67ed0cc1ea47c36756f5a66e504af4de85ce072c4b92083fb44065b5a3671 files/ffmpeg-shared-gcc4.1.patch 1667 +DIST ffmpeg-0.4.9-p20070616.tar.bz2 2275972 RMD160 73d0334b85f0859bbfc40a4d9c27fb987b36ca25 SHA1 6c649cf5b4c803bf7aec2f70adbd9d0992360e71 SHA256 bb15d2aee946ac6113928386f7385b15ffa4d9640e60830bd9868079bfb2da88 +EBUILD ffmpeg-0.4.9_p20070616-r1.ebuild 5700 RMD160 a89e67fcf75e66089e1fb32ed4bd940d71d419ed SHA1 f9de1d74b2303a3be1542b48274de9fdc0d4dc94 SHA256 f698298604688fd4fd11b1d7d3630ee211d1ffa3d51e6c98ac8c62c44ea82372 +MD5 87a5a516d35958362cc3d5fcff6e1785 ffmpeg-0.4.9_p20070616-r1.ebuild 5700 +RMD160 a89e67fcf75e66089e1fb32ed4bd940d71d419ed ffmpeg-0.4.9_p20070616-r1.ebuild 5700 +SHA256 f698298604688fd4fd11b1d7d3630ee211d1ffa3d51e6c98ac8c62c44ea82372 ffmpeg-0.4.9_p20070616-r1.ebuild 5700 +MISC ChangeLog 30262 RMD160 496c5c4594c4a5034fc1dc0fb30e41a9fd4b0b66 SHA1 4844ab3c8f98f60c02f77ce0db4be4181b1ed995 SHA256 34f99f9cdf1bd1cab21e626d3a14b34be964f8e19179122517232f17dd9744e7 +MD5 85a276586a6b9062ffd07dd54f090f46 ChangeLog 30262 +RMD160 496c5c4594c4a5034fc1dc0fb30e41a9fd4b0b66 ChangeLog 30262 +SHA256 34f99f9cdf1bd1cab21e626d3a14b34be964f8e19179122517232f17dd9744e7 ChangeLog 30262 +MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 +MD5 0338bfb24d7bfb6450aac4dd025c0096 metadata.xml 223 +RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 metadata.xml 223 +SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 metadata.xml 223 +MD5 d2897b91ef2d2bea444c09eec4285a09 files/digest-ffmpeg-0.4.9_p20070616-r1 274 +RMD160 2e7744442a12767ad4173f1e9d77db32a17d1b54 files/digest-ffmpeg-0.4.9_p20070616-r1 274 +SHA256 ec7aa955e39ac4df78f4709a57c2c215bfa9eceeb5e68328b7e6b70b4adb7ebb files/digest-ffmpeg-0.4.9_p20070616-r1 274 diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild new file mode 100644 index 0000000..e4ebf9c --- /dev/null +++ b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2007 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_p20070616-r1.ebuild,v 1.2 2007/07/07 21:00:46 drac Exp $ + +inherit eutils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="Complete solution to record, convert and stream audio and video. +Includes libavcodec. SVN revision 9330" +HOMEPAGE="http://ffmpeg.org/" +MY_P=${P/_/-} +S=${WORKDIR}/ffmpeg + +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="aac altivec amr debug doc ieee1394 a52 encode imlib mmx ogg vorbis oss + swscaler test theora threads truetype v4l x264 xvid network zlib sdl X" + +RDEPEND="imlib? ( media-libs/imlib2 ) + truetype? ( >=media-libs/freetype-2 ) + sdl? ( >=media-libs/libsdl-1.2.10 ) + encode? ( media-sound/lame + vorbis? ( media-libs/libvorbis ) + theora? ( media-libs/libtheora ) ) + ogg? ( media-libs/libogg ) + 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 ) + ieee1394? ( =media-libs/libdc1394-1* + sys-libs/libraw1394 ) + x264? ( >=media-libs/x264-svn-20061014 ) + X? ( x11-libs/libX11 x11-libs/libXext ) + amr? ( media-libs/amrnb media-libs/amrwb )" + +DEPEND="${RDEPEND} + doc? ( app-text/texi2html ) + test? ( net-misc/wget )" +# Make sure the mmx USE flag is unmasked +# Remove this once default-linux/amd64/2006.1 is deprecated +DEPEND="${DEPEND} amd64? ( >=sys-apps/portage-2.1.2 )" + +src_unpack() { + unpack ${A} || die + cd "${S}" + + #Append -DBROKEN_RELOCATIONS to build for bug 179872. + #Pretty please fix me if you can. + append-flags "-DBROKEN_RELOCATIONS" + + #Append -fomit-frame-pointer to avoid some common issues + use debug || append-flags "-fomit-frame-pointer" + + # for some reason it tries to #include , but doesn't use it + sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c + + # .pc files contain wrong libdir path + epatch ${FILESDIR}/${PN}-libdir-2007.patch + sed -i -e "s:GENTOOLIBDIR:$(get_libdir):" configure + + # 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 + + # Fix building with altivec for bug 183687 + sed -i -e "s:TARGET_ALTIVEC:HAVE_ALTIVEC:" libswscale/Makefile + + epatch "${FILESDIR}/${PN}-shared-gcc4.1.patch" + # disable non pic safe asm, bug #172877, bug #172845 and dupes + # epatch "${FILESDIR}/${PN}-0.4.9_p20070330-asmpic.patch" +} + +src_compile() { + replace-flags -O0 -O2 + #x86, what a wonderful arch.... + replace-flags -O1 -O2 + local myconf="${EXTRA_ECONF}" + + #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 ) ; then + myconf="${myconf} --disable-mmx" + 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 + if use encode + then + myconf="${myconf} --enable-libmp3lame" + use vorbis && myconf="${myconf} --enable-libvorbis --enable-libogg" + use theora && myconf="${myconf} --enable-libtheora --enable-libogg" + fi + use a52 && myconf="${myconf} --enable-liba52" + use ieee1394 && myconf="${myconf} --enable-dc1394" + use threads && myconf="${myconf} --enable-pthreads" + use xvid && myconf="${myconf} --enable-libxvid" + use X && myconf="${myconf} --enable-x11grab" + use ogg && myconf="${myconf} --enable-libogg" + use x264 && myconf="${myconf} --enable-libx264" + use aac && myconf="${myconf} --enable-libfaad --enable-libfaac" + use amr && myconf="${myconf} --enable-libamr-nb --enable-libamr-wb" + use swscaler && myconf="${myconf} --enable-swscaler" + + myconf="${myconf} --enable-gpl --enable-pp \ + --disable-strip" + + tc-is-cross-compiler && myconf="${myconf} --cross-compile --arch=$(tc-arch-kernel)" + + # 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 + + cd ${S} + ./configure \ + --prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --shlibdir=/usr/$(get_libdir) \ + --mandir=/usr/share/man \ + --enable-static --enable-shared \ + "--cc=$(tc-getCC)" \ + ${myconf} || die "configure failed" + + emake -j1 depend || die "depend failed" + emake || die "make failed" +} + +src_install() { + emake -j1 LDCONFIG=true DESTDIR=${D} install || die "Install Failed" + + use doc && emake -j1 documentation + dodoc Changelog README INSTALL + dodoc doc/* +} + +# Never die for now... +src_test() { + cd ${S}/tests + for t in "codectest libavtest test-server" ; do + make ${t} || ewarn "Some tests in ${t} failed" + 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." +} diff --git a/media-video/ffmpeg/files/digest-ffmpeg-0.4.9_p20070616-r1 b/media-video/ffmpeg/files/digest-ffmpeg-0.4.9_p20070616-r1 new file mode 100644 index 0000000..6665174 --- /dev/null +++ b/media-video/ffmpeg/files/digest-ffmpeg-0.4.9_p20070616-r1 @@ -0,0 +1,3 @@ +MD5 c6da417c0b6ce67aec96e75dcf0ee402 ffmpeg-0.4.9-p20070616.tar.bz2 2275972 +RMD160 73d0334b85f0859bbfc40a4d9c27fb987b36ca25 ffmpeg-0.4.9-p20070616.tar.bz2 2275972 +SHA256 bb15d2aee946ac6113928386f7385b15ffa4d9640e60830bd9868079bfb2da88 ffmpeg-0.4.9-p20070616.tar.bz2 2275972 diff --git a/media-video/ffmpeg/files/ffmpeg-0.4.9_p20070330-asmpic.patch b/media-video/ffmpeg/files/ffmpeg-0.4.9_p20070330-asmpic.patch new file mode 100644 index 0000000..0cf16c3 --- /dev/null +++ b/media-video/ffmpeg/files/ffmpeg-0.4.9_p20070330-asmpic.patch @@ -0,0 +1,35 @@ +Index: ffmpeg/libavcodec/cabac.h +=================================================================== +--- ffmpeg.orig/libavcodec/cabac.h ++++ ffmpeg/libavcodec/cabac.h +@@ -376,7 +376,7 @@ static int av_always_inline get_cabac_in + #define BYTE "16" + #define BYTEEND "20" + #endif +-#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE) ++#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE) && !(defined(PIC) && defined(__GNUC__)) + int bit; + + #ifndef BRANCHLESS_CABAC_DECODER +@@ -680,7 +680,7 @@ static av_always_inline int get_cabac_by + + //FIXME the x86 code from this file should be moved into i386/h264 or cabac something.c/h (note ill kill you if you move my code away from under my fingers before iam finished with it!) + //FIXME use some macros to avoid duplicatin get_cabac (cant be done yet as that would make optimization work hard) +-#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE) ++#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE) && !(defined(PIC) && defined(__GNUC__)) + static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *significant_coeff_ctx_base, int *index){ + void *end= significant_coeff_ctx_base + max_coeff - 1; + int minusstart= -(int)significant_coeff_ctx_base; +Index: ffmpeg/libavcodec/h264.c +=================================================================== +--- ffmpeg.orig/libavcodec/h264.c ++++ ffmpeg/libavcodec/h264.c +@@ -6111,7 +6111,7 @@ static int decode_cabac_residual( H264Co + index[coeff_count++] = last;\ + } + const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD]; +-#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE) ++#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE) && !(defined(PIC) && defined(__GNUC__)) + coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index, sig_off); + } else { + coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index); diff --git a/media-video/ffmpeg/files/ffmpeg-libdir-2007.patch b/media-video/ffmpeg/files/ffmpeg-libdir-2007.patch new file mode 100644 index 0000000..ca3f202 --- /dev/null +++ b/media-video/ffmpeg/files/ffmpeg-libdir-2007.patch @@ -0,0 +1,11 @@ +--- ffmpeg/configure.orig 2007-01-29 15:24:05.000000000 +0100 ++++ ffmpeg/configure 2007-01-29 15:37:23.000000000 +0100 +@@ -2166,7 +2166,7 @@ + cat <$name.pc + prefix=$PREFIX + exec_prefix=\${prefix} +-libdir=\${exec_prefix}/lib ++libdir=\${exec_prefix}/GENTOOLIBDIR + includedir=\${prefix}/include + + Name: $name diff --git a/media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch b/media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch new file mode 100644 index 0000000..680c755 --- /dev/null +++ b/media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch @@ -0,0 +1,40 @@ +--- ffmpeg.orig/libavcodec/i386/dsputil_mmx.c 2006-03-04 07:50:27.000000000 +0100 ++++ ffmpeg/libavcodec/i386/dsputil_mmx.c 2006-03-04 07:49:04.000000000 +0100 +@@ -619,10 +619,22 @@ + + static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int src_stride){ + asm volatile( //FIXME could save 1 instruction if done as 8x4 ... +- "movd %4, %%mm0 \n\t" +- "movd %5, %%mm1 \n\t" +- "movd %6, %%mm2 \n\t" +- "movd %7, %%mm3 \n\t" ++ "movd %0, %%mm0 \n\t" ++ "movd %1, %%mm1 \n\t" ++ "movd %2, %%mm2 \n\t" ++ ++ : ++ : "m" (*(uint32_t*)(src + 0*src_stride)), ++ "m" (*(uint32_t*)(src + 1*src_stride)), ++ "m" (*(uint32_t*)(src + 2*src_stride)) ++ ); ++ asm volatile( //FIXME could save 1 instruction if done as 8x4 ... ++ "movd %0, %%mm3 \n\t" ++ ++ : ++ : "m" (*(uint32_t*)(src + 3*src_stride)) ++ ); ++ asm volatile( //FIXME could save 1 instruction if done as 8x4 ... + "punpcklbw %%mm1, %%mm0 \n\t" + "punpcklbw %%mm3, %%mm2 \n\t" + "movq %%mm0, %%mm1 \n\t" +@@ -639,10 +651,6 @@ + "=m" (*(uint32_t*)(dst + 1*dst_stride)), + "=m" (*(uint32_t*)(dst + 2*dst_stride)), + "=m" (*(uint32_t*)(dst + 3*dst_stride)) +- : "m" (*(uint32_t*)(src + 0*src_stride)), +- "m" (*(uint32_t*)(src + 1*src_stride)), +- "m" (*(uint32_t*)(src + 2*src_stride)), +- "m" (*(uint32_t*)(src + 3*src_stride)) + ); + } + diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml new file mode 100644 index 0000000..edccfe5 --- /dev/null +++ b/media-video/ffmpeg/metadata.xml @@ -0,0 +1,8 @@ + + + +video + +media-video@gentoo.org + +