summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-04-04 15:54:16 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-04-04 15:54:16 +0000
commit74352ac3881a2a624e316dbd50fa6f5353b04d77 (patch)
treef92ddad22290cbe388b06cadafb9b9bf9e6a87a8 /media-video/ffmpeg
parentAdd ~arm (diff)
downloadhistorical-74352ac3881a2a624e316dbd50fa6f5353b04d77.tar.gz
historical-74352ac3881a2a624e316dbd50fa6f5353b04d77.tar.bz2
historical-74352ac3881a2a624e316dbd50fa6f5353b04d77.zip
remove old
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/ChangeLog9
-rw-r--r--media-video/ffmpeg/Manifest21
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20081014.ebuild210
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20081219.ebuild202
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20090121.ebuild202
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20090201-r1.ebuild206
-rw-r--r--media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-sparc-gcc43.patch12
-rw-r--r--media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch40
8 files changed, 19 insertions, 883 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog
index bd63215c66c9..da49766107cc 100644
--- a/media-video/ffmpeg/ChangeLog
+++ b/media-video/ffmpeg/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/ffmpeg
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.281 2009/04/04 15:05:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.282 2009/04/04 15:54:15 aballier Exp $
+
+ 04 Apr 2009; Alexis Ballier <aballier@gentoo.org>
+ -files/ffmpeg-0.4.9_p20081014-sparc-gcc43.patch,
+ -files/ffmpeg-shared-gcc4.1.patch, -ffmpeg-0.4.9_p20081014.ebuild,
+ -ffmpeg-0.4.9_p20081219.ebuild, -ffmpeg-0.4.9_p20090121.ebuild,
+ -ffmpeg-0.4.9_p20090201-r1.ebuild:
+ remove old
04 Apr 2009; Raúl Porcel <armin76@gentoo.org>
ffmpeg-0.4.9_p20090201.ebuild, ffmpeg-0.4.9_p20090201-r1.ebuild,
diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest
index ec48b61c2502..5995e2ef1f3d 100644
--- a/media-video/ffmpeg/Manifest
+++ b/media-video/ffmpeg/Manifest
@@ -1,16 +1,17 @@
-AUX ffmpeg-0.4.9_p20081014-sparc-gcc43.patch 503 RMD160 3b7b0deb5c8ceac2b8ec39c45d761c6f6f9158f3 SHA1 f538896e44e15bb07fd500d0bf0360c96bc6a9da SHA256 4f7675477d51ddce885a7a1bb647a30663e0294db0f6936fa37d162f2d4a94b0
-AUX ffmpeg-shared-gcc4.1.patch 1667 RMD160 cf0318bcb812ad701e8cd55f10f59ca71933cf6c SHA1 0fd4d860efd8a0240fa66443429d8404d28a27dd SHA256 0bd67ed0cc1ea47c36756f5a66e504af4de85ce072c4b92083fb44065b5a3671
-DIST ffmpeg-0.4.9-p20081014.tar.bz2 2676641 RMD160 6b7e556292425dabcf1f6e94c01d493a3d353835 SHA1 016fdd2798ce442dddfe4551e04a2324b0587428 SHA256 a039ac78b31e24b1a1a06daa927bdf24fc3cc7b73adbb7a5d936a0c828b84018
-DIST ffmpeg-0.4.9-p20081219.tar.bz2 2669507 RMD160 0de7935340bfd477d6be9407285bcc066e8b6347 SHA1 b1af74fbed65c4060b8882bd1ea3e029263cd811 SHA256 626184a86ad8159b1702c93e80714e87aec5b17163e7a5360d6b976ecc4453fc
-DIST ffmpeg-0.4.9-p20090121.tar.bz2 2692413 RMD160 5dabe8aaa191d4a2bdd57e1aea8c1c01ff905ba1 SHA1 90dd2321ca309f8ae44338e94f365d5f59b01423 SHA256 452751cc14067ff99498de05e593bdf7e18fd256303915fcbf276b4311fba329
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST ffmpeg-0.4.9-p20090201.tar.bz2 2697161 RMD160 8cd01f4d6b6adc772d836de592dceecdb5a1a174 SHA1 97262f1bc663c4bd4fdcb12e8572628174cceae6 SHA256 60af968bdcac2284799a2395d4d9cdcb5319493c91da231992f5f90cd663647a
DIST ffmpeg-0.5.tar.bz2 2744768 RMD160 23b4a591c422f98b634eba0ba82817ad27a4ff07 SHA1 f930971bc0ac3d11a4ffbb1af439425c24f6f5b1 SHA256 16de61d7426b1df7aee54b48c16aa728de1ed82f95db5fc4d8886d5d2702d90a
-EBUILD ffmpeg-0.4.9_p20081014.ebuild 6400 RMD160 ece41c320da3ab98bbd93dcab604c67e2e31aea5 SHA1 e8517457d731a9821efd87930782e8ca38aa6133 SHA256 0e3119b7f1a8edf9b7fd544708989f7438431652a81f0ed5b087f3fc5368f9e6
-EBUILD ffmpeg-0.4.9_p20081219.ebuild 6146 RMD160 d9ace186852d82930fb988e5ef265f3a8bf58e85 SHA1 f12fa4e3326ed25c4d12078792e3b5a325ca420b SHA256 570e02a5a98db588cf56cbf3e51078cc5ae266ee961a53d7fe7748b411549bb4
-EBUILD ffmpeg-0.4.9_p20090121.ebuild 6151 RMD160 af9848d2992e88c99a9b907542e95c5ee571f638 SHA1 b3f5d2e73a78f6c647e9096d8d3c7c23eb95fff2 SHA256 2ca908b5a71741b347aea0e7c44f74e24356b691f3c13705ff957580d3230c37
-EBUILD ffmpeg-0.4.9_p20090201-r1.ebuild 6253 RMD160 6bf5dc6ed486731d4beccb8a45f7e37b8836025e SHA1 1cd66f9156fdf4874290e480b9b5365a55fd2883 SHA256 fe5b24862948eceb991241cba5e3a8149fb2ae23bcd67f894e6d1b33ec2571e4
EBUILD ffmpeg-0.4.9_p20090201.ebuild 6270 RMD160 9f5df63085a7c7851a3cae03b1a4429eaa60efc1 SHA1 63250edd4d6f7ecacf42b8a1ea176e3704bd85f2 SHA256 cb346a085c719dd5db7df5beebab4fd658777b4c2c7adc00a3cc4503d815bc3a
EBUILD ffmpeg-0.5-r1.ebuild 6143 RMD160 3859df1a2fcb6ae7ab275348453185549a7dbca7 SHA1 1dfa2e7ec3adf6133adc3300eb7079111bdb6208 SHA256 74c97f436ce3d399f11b864e1d90216625ef8d89c68e7a67df579352cde77d11
EBUILD ffmpeg-9999.ebuild 6099 RMD160 9a2295634750fef1994835ab4a5a0ef7ce2cd66c SHA1 742fdde215c79a28f40d74152002dc16f0ed22f1 SHA256 aa809f2a737dab1583257c52278daeb510202a206b02de907aeb16d86ab41709
-MISC ChangeLog 42843 RMD160 d0457ba1afa18fd87aa7f00130b0a6364e54930e SHA1 1c765bf51abcabb59d46f6fd78771aa0d5a3dcc5 SHA256 14517680e6fd2bcafa76b203e0148d0b9f7a5fa7a5f1e3d50246a903284b44a0
+MISC ChangeLog 43133 RMD160 a213d2bed4a241d43132ce9b0dd777f1c4b778dd SHA1 52cf5da0a02d3c5f7775dc24f71de3f9041ec2e1 SHA256 e8e58dc0f778d375ee6b9064ff9633803913788570567136b05c3e53e8b1e8ec
MISC metadata.xml 1573 RMD160 befd4c2d30f834fda711f150843aebcc6f027b57 SHA1 a5128622bfb5d2c1bdc44e1542a2a09664516193 SHA256 7c1a4821aa99606ae3c52df66cf3a3fa8d32d94cfc0e07d346b203e6966a1183
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAknXgqsACgkQvFcC4BYPU0owqQCfesklehCePq2teoht8LfmsFqT
+HjQAnjy0XN5waNkobBNt0XdcVNg8YtK2
+=Hwi9
+-----END PGP SIGNATURE-----
diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20081014.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20081014.ebuild
deleted file mode 100644
index e08dec9657a9..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20081014.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2009 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_p20081014.ebuild,v 1.22 2009/01/19 09:28:23 aballier Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-FFMPEG_SVN_REV="15615"
-
-DESCRIPTION="Complete solution to record, convert and stream audio and video.
-Includes libavcodec. svn revision ${FFMPEG_SVN_REV}"
-HOMEPAGE="http://ffmpeg.org/"
-MY_P=${P/_/-}
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
-
-S=${WORKDIR}/ffmpeg
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa -ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="aac altivec amr debug dirac doc ieee1394 encode gsm ipv6 mmx mmxext vorbis
- test theora threads x264 xvid network zlib sdl X mp3 schroedinger
- hardcoded-tables bindist v4l v4l2 ssse3 vhook"
-
-RDEPEND="vhook? ( >=media-libs/imlib2-1.4.0 >=media-libs/freetype-2 )
- sdl? ( >=media-libs/libsdl-1.2.10 )
- encode? (
- aac? ( media-libs/faac )
- mp3? ( media-sound/lame )
- vorbis? ( media-libs/libvorbis media-libs/libogg )
- theora? ( media-libs/libtheora media-libs/libogg )
- x264? ( >=media-libs/x264-0.0.20081006 )
- xvid? ( >=media-libs/xvid-1.1.0 ) )
- aac? ( >=media-libs/faad2-2.6.1 )
- zlib? ( sys-libs/zlib )
- ieee1394? ( media-libs/libdc1394
- sys-libs/libraw1394 )
- dirac? ( media-video/dirac )
- gsm? ( >=media-sound/gsm-1.0.12-r1 )
- schroedinger? ( media-libs/schroedinger )
- X? ( x11-libs/libX11 x11-libs/libXext )
- amr? ( media-libs/amrnb media-libs/amrwb )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/make-3.81
- mmx? ( dev-lang/yasm )
- doc? ( app-text/texi2html )
- test? ( net-misc/wget )
- v4l? ( sys-kernel/linux-headers )
- v4l2? ( sys-kernel/linux-headers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-shared-gcc4.1.patch
- epatch "${FILESDIR}"/${P}-sparc-gcc43.patch #247653
-
- # Set version #
- # Any better idea? We can't do much more as we use an exported svn snapshot.
- sed -i s/UNKNOWN/SVN-r${FFMPEG_SVN_REV}/ "${S}/version.sh"
-}
-
-src_compile() {
- replace-flags -O0 -O2
- #x86, what a wonderful arch....
- replace-flags -O1 -O2
- local myconf="${EXTRA_ECONF}"
-
- # enabled by default
- use debug || myconf="${myconf} --disable-debug"
- use zlib || myconf="${myconf} --disable-zlib"
- use sdl || myconf="${myconf} --disable-ffplay"
-
- if use network; then
- use ipv6 || myconf="${myconf} --disable-ipv6"
- else
- myconf="${myconf} --disable-network"
- fi
-
- myconf="${myconf} --disable-optimizations"
-
- # disabled by default
- if use encode
- then
- use aac && myconf="${myconf} --enable-libfaac"
- use mp3 && myconf="${myconf} --enable-libmp3lame"
- use vorbis && myconf="${myconf} --enable-libvorbis"
- use theora && myconf="${myconf} --enable-libtheora"
- use x264 && myconf="${myconf} --enable-libx264"
- use xvid && myconf="${myconf} --enable-libxvid"
- else
- myconf="${myconf} --disable-encoders"
- fi
-
- # libavdevice options
- use ieee1394 && myconf="${myconf} --enable-libdc1394"
- for i in v4l v4l2 ; do
- use $i || myconf="${myconf} --disable-demuxer=$i"
- done
- use X && myconf="${myconf} --enable-x11grab"
-
- # Threads; we only support pthread for now but ffmpeg supports more
- use threads && myconf="${myconf} --enable-pthreads"
-
- # Decoders
- use aac && myconf="${myconf} --enable-libfaad"
- use dirac && myconf="${myconf} --enable-libdirac"
- use schroedinger && myconf="${myconf} --enable-libschroedinger"
- if use gsm; then
- myconf="${myconf} --enable-libgsm"
- # Crappy detection or our installation is weird, pick one (FIXME)
- append-flags -I/usr/include/gsm
- fi
- if use bindist
- then
- use amr && ewarn "libamr is nonfree and cannot be distributed; disabling amr support."
- else
- use amr && myconf="${myconf} --enable-libamr-nb \
- --enable-libamr-wb \
- --enable-nonfree"
- fi
-
- # CPU features
- for i in mmx ssse3 altivec ; do
- use $i || myconf="${myconf} --disable-$i"
- done
- use mmxext || myconf="${myconf} --disable-mmx2"
- # disable mmx accelerated code if PIC is required
- # as the provided asm decidedly is not PIC.
- if gcc-specs-pie ; then
- myconf="${myconf} --disable-mmx --disable-mmx2"
- fi
-
- # Try to get cpu type based on CFLAGS.
- # Bug #172723
- # We need to do this so that features of that CPU will be better used
- # If they contain an unknown CPU it will not hurt since ffmpeg's configure
- # will just ignore it.
- local mymarch=$(get-flag march)
- local mymcpu=$(get-flag mcpu)
- local mymtune=$(get-flag mtune)
- for i in $mymarch $mymcpu $mymtune ; do
- myconf="${myconf} --cpu=$i"
- break
- done
-
- # video hooking support. replaced by libavfilter, probably needs to be
- # dropped at some point.
- use vhook || myconf="${myconf} --disable-vhook"
-
- # Mandatory configuration
- myconf="${myconf} --enable-gpl --enable-postproc \
- --enable-avfilter --enable-avfilter-lavf \
- --enable-swscale --disable-stripping"
-
- # cross compile support
- tc-is-cross-compiler && myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)"
-
- # Misc stuff
- use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
-
- # 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 version.h || die #252269
- emake || die "make failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "Install Failed"
-
- use doc && emake -j1 documentation
- dodoc Changelog README INSTALL
- dodoc doc/*
-}
-
-# Never die for now...
-src_test() {
- for t in codectest libavtest servertest seektest ; do
- emake ${t} || ewarn "Some tests in ${t} failed"
- done
-}
-
-pkg_postinst() {
- ewarn "ffmpeg may have 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/ffmpeg-0.4.9_p20081219.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20081219.ebuild
deleted file mode 100644
index 082841554ed8..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20081219.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2009 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_p20081219.ebuild,v 1.8 2009/01/31 20:26:02 klausman Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-FFMPEG_SVN_REV="16238"
-
-DESCRIPTION="Complete solution to record, convert and stream audio and video.
-Includes libavcodec. svn revision ${FFMPEG_SVN_REV}"
-HOMEPAGE="http://ffmpeg.org/"
-MY_P=${P/_/-}
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
-
-S=${WORKDIR}/ffmpeg
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
-IUSE="aac altivec amr debug dirac doc ieee1394 encode gsm ipv6 mmx mmxext vorbis
- test theora threads x264 xvid network zlib sdl X mp3 schroedinger
- hardcoded-tables bindist v4l v4l2 speex ssse3 vhook"
-
-RDEPEND="vhook? ( >=media-libs/imlib2-1.4.0 >=media-libs/freetype-2 )
- sdl? ( >=media-libs/libsdl-1.2.10 )
- encode? (
- aac? ( media-libs/faac )
- mp3? ( media-sound/lame )
- vorbis? ( media-libs/libvorbis media-libs/libogg )
- theora? ( media-libs/libtheora media-libs/libogg )
- x264? ( >=media-libs/x264-0.0.20081006 )
- xvid? ( >=media-libs/xvid-1.1.0 ) )
- aac? ( >=media-libs/faad2-2.6.1 )
- zlib? ( sys-libs/zlib )
- ieee1394? ( media-libs/libdc1394
- sys-libs/libraw1394 )
- dirac? ( media-video/dirac )
- gsm? ( >=media-sound/gsm-1.0.12-r1 )
- schroedinger? ( media-libs/schroedinger )
- speex? ( >=media-libs/speex-1.2_beta3 )
- X? ( x11-libs/libX11 x11-libs/libXext )
- amr? ( media-libs/amrnb media-libs/amrwb )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/make-3.81
- mmx? ( dev-lang/yasm )
- doc? ( app-text/texi2html )
- test? ( net-misc/wget )
- v4l? ( sys-kernel/linux-headers )
- v4l2? ( sys-kernel/linux-headers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Set version #
- # Any better idea? We can't do much more as we use an exported svn snapshot.
- sed -i s/UNKNOWN/SVN-r${FFMPEG_SVN_REV}/ "${S}/version.sh"
-}
-
-src_compile() {
- replace-flags -O0 -O2
- #x86, what a wonderful arch....
- replace-flags -O1 -O2
- local myconf="${EXTRA_ECONF}"
-
- # enabled by default
- use debug || myconf="${myconf} --disable-debug"
- use zlib || myconf="${myconf} --disable-zlib"
- use sdl || myconf="${myconf} --disable-ffplay"
-
- if use network; then
- use ipv6 || myconf="${myconf} --disable-ipv6"
- else
- myconf="${myconf} --disable-network"
- fi
-
- myconf="${myconf} --disable-optimizations"
-
- # disabled by default
- if use encode
- then
- use aac && myconf="${myconf} --enable-libfaac"
- use mp3 && myconf="${myconf} --enable-libmp3lame"
- use vorbis && myconf="${myconf} --enable-libvorbis"
- use theora && myconf="${myconf} --enable-libtheora"
- use x264 && myconf="${myconf} --enable-libx264"
- use xvid && myconf="${myconf} --enable-libxvid"
- else
- myconf="${myconf} --disable-encoders"
- fi
-
- # libavdevice options
- use ieee1394 && myconf="${myconf} --enable-libdc1394"
- for i in v4l v4l2 ; do
- use $i || myconf="${myconf} --disable-demuxer=$i"
- done
- use X && myconf="${myconf} --enable-x11grab"
-
- # Threads; we only support pthread for now but ffmpeg supports more
- use threads && myconf="${myconf} --enable-pthreads"
-
- # Decoders
- use aac && myconf="${myconf} --enable-libfaad"
- use dirac && myconf="${myconf} --enable-libdirac"
- use schroedinger && myconf="${myconf} --enable-libschroedinger"
- use speex && myconf="${myconf} --enable-libspeex"
- if use gsm; then
- myconf="${myconf} --enable-libgsm"
- # Crappy detection or our installation is weird, pick one (FIXME)
- append-flags -I/usr/include/gsm
- fi
- if use bindist
- then
- use amr && ewarn "libamr is nonfree and cannot be distributed; disabling amr support."
- else
- use amr && myconf="${myconf} --enable-libamr-nb \
- --enable-libamr-wb \
- --enable-nonfree"
- fi
-
- # CPU features
- for i in mmx ssse3 altivec ; do
- use $i || myconf="${myconf} --disable-$i"
- done
- use mmxext || myconf="${myconf} --disable-mmx2"
- # disable mmx accelerated code if PIC is required
- # as the provided asm decidedly is not PIC.
- if gcc-specs-pie ; then
- myconf="${myconf} --disable-mmx --disable-mmx2"
- fi
-
- # Try to get cpu type based on CFLAGS.
- # Bug #172723
- # We need to do this so that features of that CPU will be better used
- # If they contain an unknown CPU it will not hurt since ffmpeg's configure
- # will just ignore it.
- local mymarch=$(get-flag march)
- local mymcpu=$(get-flag mcpu)
- local mymtune=$(get-flag mtune)
- for i in $mymarch $mymcpu $mymtune ; do
- myconf="${myconf} --cpu=$i"
- break
- done
-
- # video hooking support. replaced by libavfilter, probably needs to be
- # dropped at some point.
- use vhook || myconf="${myconf} --disable-vhook"
-
- # Mandatory configuration
- myconf="${myconf} --enable-gpl --enable-postproc \
- --enable-avfilter --enable-avfilter-lavf \
- --enable-swscale --disable-stripping"
-
- # cross compile support
- tc-is-cross-compiler && myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)"
-
- # Misc stuff
- use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
-
- # 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 version.h || die #252269
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install Failed"
-
- dodoc Changelog README INSTALL
- dodoc doc/*
-}
-
-# Never die for now...
-src_test() {
- for t in codectest libavtest servertest seektest ; do
- emake ${t} || ewarn "Some tests in ${t} failed"
- done
-}
diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20090121.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20090121.ebuild
deleted file mode 100644
index adf6d27a7843..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20090121.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2009 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_p20090121.ebuild,v 1.1 2009/01/21 10:08:20 aballier Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-FFMPEG_SVN_REV="16707"
-
-DESCRIPTION="Complete solution to record, convert and stream audio and video.
-Includes libavcodec. svn revision ${FFMPEG_SVN_REV}"
-HOMEPAGE="http://ffmpeg.org/"
-MY_P=${P/_/-}
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
-
-S=${WORKDIR}/ffmpeg
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="aac altivec amr debug dirac doc ieee1394 encode gsm ipv6 mmx mmxext vorbis
- test theora threads x264 xvid network zlib sdl X mp3 schroedinger
- hardcoded-tables bindist v4l v4l2 speex ssse3 vhook"
-
-RDEPEND="vhook? ( >=media-libs/imlib2-1.4.0 >=media-libs/freetype-2 )
- sdl? ( >=media-libs/libsdl-1.2.10 )
- encode? (
- aac? ( media-libs/faac )
- mp3? ( media-sound/lame )
- vorbis? ( media-libs/libvorbis media-libs/libogg )
- theora? ( media-libs/libtheora media-libs/libogg )
- x264? ( >=media-libs/x264-0.0.20081006 )
- xvid? ( >=media-libs/xvid-1.1.0 ) )
- aac? ( >=media-libs/faad2-2.6.1 )
- zlib? ( sys-libs/zlib )
- ieee1394? ( media-libs/libdc1394
- sys-libs/libraw1394 )
- dirac? ( media-video/dirac )
- gsm? ( >=media-sound/gsm-1.0.12-r1 )
- schroedinger? ( media-libs/schroedinger )
- speex? ( >=media-libs/speex-1.2_beta3 )
- X? ( x11-libs/libX11 x11-libs/libXext )
- amr? ( media-libs/amrnb media-libs/amrwb )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/make-3.81
- mmx? ( dev-lang/yasm )
- doc? ( app-text/texi2html )
- test? ( net-misc/wget )
- v4l? ( sys-kernel/linux-headers )
- v4l2? ( sys-kernel/linux-headers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Set version #
- # Any better idea? We can't do much more as we use an exported svn snapshot.
- sed -i s/UNKNOWN/SVN-r${FFMPEG_SVN_REV}/ "${S}/version.sh"
-}
-
-src_compile() {
- replace-flags -O0 -O2
- #x86, what a wonderful arch....
- replace-flags -O1 -O2
- local myconf="${EXTRA_ECONF}"
-
- # enabled by default
- use debug || myconf="${myconf} --disable-debug"
- use zlib || myconf="${myconf} --disable-zlib"
- use sdl || myconf="${myconf} --disable-ffplay"
-
- if use network; then
- use ipv6 || myconf="${myconf} --disable-ipv6"
- else
- myconf="${myconf} --disable-network"
- fi
-
- myconf="${myconf} --disable-optimizations"
-
- # disabled by default
- if use encode
- then
- use aac && myconf="${myconf} --enable-libfaac"
- use mp3 && myconf="${myconf} --enable-libmp3lame"
- use vorbis && myconf="${myconf} --enable-libvorbis"
- use theora && myconf="${myconf} --enable-libtheora"
- use x264 && myconf="${myconf} --enable-libx264"
- use xvid && myconf="${myconf} --enable-libxvid"
- else
- myconf="${myconf} --disable-encoders"
- fi
-
- # libavdevice options
- use ieee1394 && myconf="${myconf} --enable-libdc1394"
- for i in v4l v4l2 ; do
- use $i || myconf="${myconf} --disable-demuxer=$i"
- done
- use X && myconf="${myconf} --enable-x11grab"
-
- # Threads; we only support pthread for now but ffmpeg supports more
- use threads && myconf="${myconf} --enable-pthreads"
-
- # Decoders
- use aac && myconf="${myconf} --enable-libfaad"
- use dirac && myconf="${myconf} --enable-libdirac"
- use schroedinger && myconf="${myconf} --enable-libschroedinger"
- use speex && myconf="${myconf} --enable-libspeex"
- if use gsm; then
- myconf="${myconf} --enable-libgsm"
- # Crappy detection or our installation is weird, pick one (FIXME)
- append-flags -I/usr/include/gsm
- fi
- if use bindist
- then
- use amr && ewarn "libamr is nonfree and cannot be distributed; disabling amr support."
- else
- use amr && myconf="${myconf} --enable-libamr-nb \
- --enable-libamr-wb \
- --enable-nonfree"
- fi
-
- # CPU features
- for i in mmx ssse3 altivec ; do
- use $i || myconf="${myconf} --disable-$i"
- done
- use mmxext || myconf="${myconf} --disable-mmx2"
- # disable mmx accelerated code if PIC is required
- # as the provided asm decidedly is not PIC.
- if gcc-specs-pie ; then
- myconf="${myconf} --disable-mmx --disable-mmx2"
- fi
-
- # Try to get cpu type based on CFLAGS.
- # Bug #172723
- # We need to do this so that features of that CPU will be better used
- # If they contain an unknown CPU it will not hurt since ffmpeg's configure
- # will just ignore it.
- local mymarch=$(get-flag march)
- local mymcpu=$(get-flag mcpu)
- local mymtune=$(get-flag mtune)
- for i in $mymarch $mymcpu $mymtune ; do
- myconf="${myconf} --cpu=$i"
- break
- done
-
- # video hooking support. replaced by libavfilter, probably needs to be
- # dropped at some point.
- use vhook || myconf="${myconf} --disable-vhook"
-
- # Mandatory configuration
- myconf="${myconf} --enable-gpl --enable-postproc \
- --enable-avfilter --enable-avfilter-lavf \
- --enable-swscale --disable-stripping"
-
- # cross compile support
- tc-is-cross-compiler && myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)"
-
- # Misc stuff
- use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
-
- # 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 version.h || die #252269
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install Failed"
-
- dodoc Changelog README INSTALL
- dodoc doc/*
-}
-
-# Never die for now...
-src_test() {
- for t in codectest libavtest servertest seektest ; do
- emake ${t} || ewarn "Some tests in ${t} failed"
- done
-}
diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20090201-r1.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20090201-r1.ebuild
deleted file mode 100644
index 7330c1545488..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20090201-r1.ebuild
+++ /dev/null
@@ -1,206 +0,0 @@
-# Copyright 1999-2009 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_p20090201-r1.ebuild,v 1.3 2009/04/04 15:05:05 armin76 Exp $
-
-EAPI=1
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-FFMPEG_SVN_REV="16916"
-
-DESCRIPTION="Complete solution to record, convert and stream audio and video.
-Includes libavcodec. svn revision ${FFMPEG_SVN_REV}"
-HOMEPAGE="http://ffmpeg.org/"
-MY_P=${P/_/-}
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
-
-S=${WORKDIR}/ffmpeg
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="+3dnow aac alsa altivec amr custom-cflags debug dirac doc ieee1394
- +encode gsm ipv6 +mmx +mmxext vorbis test theora threads x264 xvid
- network zlib sdl X mp3 oss schroedinger +hardcoded-tables bindist
- v4l v4l2 speex +ssse3 vhook"
-
-RDEPEND="vhook? ( >=media-libs/imlib2-1.4.0 >=media-libs/freetype-2 )
- sdl? ( >=media-libs/libsdl-1.2.10 )
- alsa? ( media-libs/alsa-lib )
- encode? (
- aac? ( media-libs/faac )
- mp3? ( media-sound/lame )
- vorbis? ( media-libs/libvorbis media-libs/libogg )
- theora? ( media-libs/libtheora media-libs/libogg )
- x264? ( >=media-libs/x264-0.0.20081006 )
- xvid? ( >=media-libs/xvid-1.1.0 ) )
- aac? ( >=media-libs/faad2-2.6.1 )
- zlib? ( sys-libs/zlib )
- ieee1394? ( media-libs/libdc1394
- sys-libs/libraw1394 )
- dirac? ( media-video/dirac )
- gsm? ( >=media-sound/gsm-1.0.12-r1 )
- schroedinger? ( media-libs/schroedinger )
- speex? ( >=media-libs/speex-1.2_beta3 )
- X? ( x11-libs/libX11 x11-libs/libXext )
- amr? ( media-libs/amrnb media-libs/amrwb )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/make-3.81
- mmx? ( dev-lang/yasm )
- doc? ( app-text/texi2html )
- test? ( net-misc/wget )
- v4l? ( sys-kernel/linux-headers )
- v4l2? ( sys-kernel/linux-headers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Set version #
- # Any better idea? We can't do much more as we use an exported svn snapshot.
- sed -i s/UNKNOWN/SVN-r${FFMPEG_SVN_REV}/ "${S}/version.sh"
-}
-
-src_compile() {
- local myconf="${EXTRA_ECONF}"
-
- # enabled by default
- use debug || myconf="${myconf} --disable-debug"
- use zlib || myconf="${myconf} --disable-zlib"
- use sdl || myconf="${myconf} --disable-ffplay"
-
- if use network; then
- use ipv6 || myconf="${myconf} --disable-ipv6"
- else
- myconf="${myconf} --disable-network"
- fi
-
- use custom-cflags && myconf="${myconf} --disable-optimizations"
-
- # enabled by default
- if use encode
- then
- use aac && myconf="${myconf} --enable-libfaac"
- use mp3 && myconf="${myconf} --enable-libmp3lame"
- use vorbis && myconf="${myconf} --enable-libvorbis"
- use theora && myconf="${myconf} --enable-libtheora"
- use x264 && myconf="${myconf} --enable-libx264"
- use xvid && myconf="${myconf} --enable-libxvid"
- else
- myconf="${myconf} --disable-encoders"
- fi
-
- # libavdevice options
- use ieee1394 && myconf="${myconf} --enable-libdc1394"
- # Demuxers
- for i in v4l v4l2 alsa oss ; do
- use $i || myconf="${myconf} --disable-demuxer=$i"
- done
- # Muxers
- for i in alsa oss ; do
- use $i || myconf="${myconf} --disable-muxer=$i"
- done
- use X && myconf="${myconf} --enable-x11grab"
-
- # Threads; we only support pthread for now but ffmpeg supports more
- use threads && myconf="${myconf} --enable-pthreads"
-
- # Decoders
- use aac && myconf="${myconf} --enable-libfaad"
- use dirac && myconf="${myconf} --enable-libdirac"
- use schroedinger && myconf="${myconf} --enable-libschroedinger"
- use speex && myconf="${myconf} --enable-libspeex"
- if use gsm; then
- myconf="${myconf} --enable-libgsm"
- # Crappy detection or our installation is weird, pick one (FIXME)
- append-flags -I/usr/include/gsm
- fi
- if use bindist
- then
- use amr && ewarn "libamr is nonfree and cannot be distributed; disabling amr support."
- else
- use amr && myconf="${myconf} --enable-libamr-nb \
- --enable-libamr-wb \
- --enable-nonfree"
- fi
-
- # CPU features
- for i in mmx ssse3 altivec ; do
- use $i || myconf="${myconf} --disable-$i"
- done
- use mmxext || myconf="${myconf} --disable-mmx2"
- use 3dnow || myconf="${myconf} --disable-amd3dnow"
- # disable mmx accelerated code if PIC is required
- # as the provided asm decidedly is not PIC.
- if gcc-specs-pie ; then
- myconf="${myconf} --disable-mmx --disable-mmx2"
- fi
-
- # Try to get cpu type based on CFLAGS.
- # Bug #172723
- # We need to do this so that features of that CPU will be better used
- # If they contain an unknown CPU it will not hurt since ffmpeg's configure
- # will just ignore it.
- for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
- myconf="${myconf} --cpu=$i"
- break
- done
-
- # video hooking support. replaced by libavfilter, probably needs to be
- # dropped at some point.
- use vhook || myconf="${myconf} --disable-vhook"
-
- # Mandatory configuration
- myconf="${myconf} --enable-gpl --enable-postproc \
- --enable-avfilter --enable-avfilter-lavf \
- --enable-swscale --disable-stripping"
-
- # cross compile support
- tc-is-cross-compiler && myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)"
-
- # Misc stuff
- use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
-
- # 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 version.h || die #252269
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install Failed"
-
- dodoc Changelog README INSTALL
- dodoc doc/*
-}
-
-# Never die for now...
-src_test() {
- for t in codectest libavtest seektest ; do
- emake ${t} || ewarn "Some tests in ${t} failed"
- done
-}
diff --git a/media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-sparc-gcc43.patch b/media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-sparc-gcc43.patch
deleted file mode 100644
index 1599647b8733..000000000000
--- a/media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-sparc-gcc43.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur ffmpeg.orig/libavcodec/sparc/simple_idct_vis.c ffmpeg/libavcodec/sparc/simple_idct_vis.c
---- ffmpeg.orig/libavcodec/sparc/simple_idct_vis.c 2008-05-09 14:56:36.000000000 +0300
-+++ ffmpeg/libavcodec/sparc/simple_idct_vis.c 2008-12-13 11:52:04.000000000 +0200
-@@ -384,7 +384,7 @@
- "st %%f14, [%12+" dest "] \n\t"\
-
-
--inline void ff_simple_idct_vis(DCTELEM *data) {
-+void ff_simple_idct_vis(DCTELEM *data) {
- int out1, out2, out3, out4;
- DECLARE_ALIGNED_8(int16_t, temp[8*8]);
-
diff --git a/media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch b/media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch
deleted file mode 100644
index 680c75573b35..000000000000
--- a/media-video/ffmpeg/files/ffmpeg-shared-gcc4.1.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- 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))
- );
- }
-