summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-13 10:41:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-13 10:41:49 +0000
commitc292c78665a6e8f5d8a5bb77ee1be22c6d897a94 (patch)
treed350267905a67f39f1f86302aa5ce71ead62594c /media-video/ffmpeg
parentRemove old versions broken with newer eel, bug #214301. (diff)
downloadhistorical-c292c78665a6e8f5d8a5bb77ee1be22c6d897a94.tar.gz
historical-c292c78665a6e8f5d8a5bb77ee1be22c6d897a94.tar.bz2
historical-c292c78665a6e8f5d8a5bb77ee1be22c6d897a94.zip
old
Package-Manager: portage-2.1.6/cvs/Linux 2.6.27.7 i686 RepoMan-Options: --force
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/Manifest6
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild173
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r2.ebuild178
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r20.ebuild181
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20070616.ebuild169
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20080326.ebuild177
6 files changed, 0 insertions, 884 deletions
diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest
index d6c48cf06a6e..f6ec083ecd70 100644
--- a/media-video/ffmpeg/Manifest
+++ b/media-video/ffmpeg/Manifest
@@ -14,14 +14,8 @@ AUX ffmpeg-shared-gcc4.patch 1575 RMD160 9a7c31deb50caa7f7a209a02eb750ce43a6bcc7
AUX ffmpeg-soname-symlink.patch 4937 RMD160 3a3c83eb3e4bab26d039cd12bba938cf1a3f4f3b SHA1 77dbb66c84bc76dbb1b10b53b708c49f2d4a4c86 SHA256 0dc937f36d55e4c984dac967e1d0a4c261ebd6871f473dc2633a0a15332c5693
AUX ffmpeg-unknown-options.patch 414 RMD160 46f7d8e81ab42368dabb6e29dec29a02d780055b SHA1 004e49a8461c5bf5923fd206e14d59a3e6b0ff84 SHA256 eb6f32617a42a9f55408ac64afd62c938aadb40bcf72c060a24ef5c426b4981b
DIST ffmpeg-0.4.9-p20070616.tar.bz2 2275972 RMD160 73d0334b85f0859bbfc40a4d9c27fb987b36ca25 SHA1 6c649cf5b4c803bf7aec2f70adbd9d0992360e71 SHA256 bb15d2aee946ac6113928386f7385b15ffa4d9640e60830bd9868079bfb2da88
-DIST ffmpeg-0.4.9-p20080326.tar.bz2 2505113 RMD160 72e6c77e1d3abad32582e1e226fdfd6139d744b7 SHA1 4b348d8b8d8a1c4073b5f9eab2092eea6188b9a3 SHA256 72684719183fee4ef110b82af3960700470622a756cfb116cfd5c3e3b6ae89d3
DIST ffmpeg-0.4.9-p20081014.tar.bz2 2676641 RMD160 6b7e556292425dabcf1f6e94c01d493a3d353835 SHA1 016fdd2798ce442dddfe4551e04a2324b0587428 SHA256 a039ac78b31e24b1a1a06daa927bdf24fc3cc7b73adbb7a5d936a0c828b84018
-EBUILD ffmpeg-0.4.9_p20070616-r1.ebuild 5699 RMD160 94c445c9bd78d6cc95da614e91a23d86f70931bf SHA1 7942cca45089d18eb3ea79158cf1a6ee395469b1 SHA256 ba3ccb2342fb85e685f8690f6f94ba5c8219f8238074b99c06f7654632326a9f
-EBUILD ffmpeg-0.4.9_p20070616-r2.ebuild 5771 RMD160 fb2e74b9cfc7d3c9d6ad81c22dd891563df51526 SHA1 843abc308274477f87007917e7b97e7c09140b98 SHA256 d9513588ff3c80f74e5d1edd96935b19ed67203de68812718df9260d1a973c53
-EBUILD ffmpeg-0.4.9_p20070616-r20.ebuild 5844 RMD160 00b6269f5ec5c072ea83e7f53072c5b97ecc2380 SHA1 6051ba9c952f6049fdec509c8645965a00597514 SHA256 da5a4aa238afbda4dbc400f7cf06cc63f8f444c44f2fa5ab828ea5f6c12ce952
EBUILD ffmpeg-0.4.9_p20070616-r3.ebuild 5637 RMD160 d4ff64b78a9582e72b05d95a61e8504b6b1c56d3 SHA1 0709499f3441daf36512203ecaa33047522a1a4f SHA256 ece204a4a8eb8d853265291e421441df2c26cc034956bf5cb496b7ab03048864
-EBUILD ffmpeg-0.4.9_p20070616.ebuild 5554 RMD160 ad6c7ccbe43ca2bf6087cf92c1347058cf76186a SHA1 e48d474ba3bc03352ceb2661cd014c6d1820e981 SHA256 0fc5c61b6243e8e70003ce9e00dedf698643466dd15d66fd19914b999524bbba
-EBUILD ffmpeg-0.4.9_p20080326.ebuild 5349 RMD160 8028fedc334797c0c4c712650d411d9063e8aeae SHA1 9f692e9b93d5057f1f48ae1258f86f6cdc478bcd SHA256 25669cdd27996c2f01333e87b8ae94faf42f3c439f40c991bb9568567856939a
EBUILD ffmpeg-0.4.9_p20081014.ebuild 6345 RMD160 0052f7412603b7c2c4f2763482704e8680335206 SHA1 04215ded19769be92331f045aff887f4fabf2ecf SHA256 630e7065414c9084ebdebfe04a293bacb6c209983cde89532d9cc2f6443abff1
MISC ChangeLog 37184 RMD160 bdc9914dfa0e751bb3fcfd7554ee903a7e61e8e7 SHA1 114da6abd59a62501f767810416cf3b48393de8b SHA256 d22b35562981e1fb7c3851c03e01003b84512d5bf75300e9521628d716993bea
MISC metadata.xml 1158 RMD160 f666c9d210c950f862cbf0fcc323a7085f5febe7 SHA1 e5c84b8a4916b9bb20960ae16345c6d0844baa81 SHA256 ab916e46e6a91bf195e25dfe23c777436744017dfdb96d3330fd633bec599e2f
diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild
deleted file mode 100644
index 6c25ed0bd41a..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2008 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.6 2008/10/14 09:09:26 aballier 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
- test theora threads truetype v4l x264 xvid network zlib sdl X"
-
-RDEPEND="imlib? ( >=media-libs/imlib2-1.4.0 )
- 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 )
- 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 <X11/Xlib.h>, 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}-arm-pld.patch
- 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"
-
- myconf="${myconf} --enable-gpl --enable-pp \
- --enable-swscaler --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 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_p20070616-r2.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r2.ebuild
deleted file mode 100644
index 90ab85b03b58..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r2.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2008 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-r2.ebuild,v 1.5 2008/10/14 09:09:26 aballier 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 ipv6 mmx ogg vorbis
- oss test theora threads truetype v4l x264 xvid network zlib sdl X"
-
-RDEPEND="imlib? ( >=media-libs/imlib2-1.4.0 )
- 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 )
- 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 <X11/Xlib.h>, 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}-arm-pld.patch
- 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 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-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"
-
- myconf="${myconf} --enable-gpl --enable-pp \
- --enable-swscaler --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 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_p20070616-r20.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r20.ebuild
deleted file mode 100644
index 8cddf4995d96..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r20.ebuild
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2008 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-r20.ebuild,v 1.2 2008/10/14 09:09:26 aballier 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 ipv6 mmx ogg vorbis
- oss test theora threads truetype v4l x264 xvid network zlib sdl X"
-
-RDEPEND="imlib? ( >=media-libs/imlib2-1.4.0 )
- 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 )
- 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 <X11/Xlib.h>, 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}-arm-pld.patch
- 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"
-
- # Security fix, bug #231831
- epatch "${FILESDIR}/CVE-2008-3162.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 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-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"
-
- myconf="${myconf} --enable-gpl --enable-pp \
- --enable-swscaler --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 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_p20070616.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616.ebuild
deleted file mode 100644
index a6ac2b09c8b6..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2008 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.ebuild,v 1.15 2008/10/14 09:09:26 aballier 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
- test theora threads truetype v4l x264 xvid network zlib sdl X"
-
-RDEPEND="imlib? ( >=media-libs/imlib2-1.4.0 )
- 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 )
- 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 <X11/Xlib.h>, 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
-
- epatch "${FILESDIR}"/${PN}-arm-pld.patch
- 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"
-
- 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 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_p20080326.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20080326.ebuild
deleted file mode 100644
index 053e9c87ac5e..000000000000
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20080326.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2008 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_p20080326.ebuild,v 1.6 2008/10/18 22:35:19 loki_val Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="Complete solution to record, convert and stream audio and video.
-Includes libavcodec. svn revision 11878"
-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 doc ieee1394 a52 encode imlib ipv6 mmx vorbis
- test theora threads truetype x264 xvid network zlib sdl X mp3
- hardcoded-tables bindist"
-
-RDEPEND="imlib? ( >=media-libs/imlib2-1.4.0 )
- truetype? ( >=media-libs/freetype-2 )
- sdl? ( >=media-libs/libsdl-1.2.10 )
- encode? (
- aac? ( media-libs/faac )
- mp3? ( media-sound/lame )
- vorbis? ( media-libs/libvorbis )
- theora? ( media-libs/libtheora )
- x264? ( <media-libs/x264-0.0.20081006 )
- xvid? ( >=media-libs/xvid-1.1.0 ) )
- aac? ( media-libs/faad2 )
- a52? ( >=media-libs/a52dec-0.7.4-r4 )
- zlib? ( sys-libs/zlib )
- ieee1394? ( =media-libs/libdc1394-1*
- sys-libs/libraw1394 )
- X? ( x11-libs/libX11 x11-libs/libXext )
- amr? ( media-libs/amrnb media-libs/amrwb )"
-
-DEPEND="${RDEPEND}
- doc? ( app-text/texi2html )
- test? ( net-misc/wget )"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- #Append -DBROKEN_RELOCATIONS to build for bug 179872.
- #Pretty please fix me if you can.
- append-flags "-DBROKEN_RELOCATIONS"
-
- # .pc files contain wrong libdir path
- epatch "${FILESDIR}/${PN}-libdir-2007.patch"
- sed -i -e "s:GENTOOLIBDIR:$(get_libdir):" configure
-
- # To make sure the ffserver test will work
- sed -i -e "s:-e debug=off::" tests/server-regression.sh
-
- 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"
-
- # HPPA (parisc) needs PIC (bug #241124):
- epatch "${FILESDIR}"/${P}-hppa.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 --disable-mmx2"
- fi
-
- # enabled by default
- use altivec || myconf="${myconf} --disable-altivec"
- 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
- use a52 && myconf="${myconf} --enable-liba52"
- use ieee1394 && myconf="${myconf} --enable-libdc1394"
- use threads && myconf="${myconf} --enable-pthreads"
- use X && myconf="${myconf} --enable-x11grab"
- use aac && myconf="${myconf} --enable-libfaad"
- if use bindist
- then
- use amr && einfo "libamr is nonfree and cannot be distributed"
- else
- use amr && myconf="${myconf} --enable-libamr-nb \
- --enable-libamr-wb \
- --enable-nonfree"
- fi
-
- myconf="${myconf} --enable-gpl --enable-postproc \
- --enable-avfilter --enable-avfilter-lavf \
- --enable-swscale --disable-stripping"
-
- tc-is-cross-compiler && myconf="${myconf} --cross-compile --arch=$(tc-arch-kernel)"
-
- 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 || 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 have had ABI changes, if ffmpeg based programs"
- ewarn "like xine-lib or vlc stop working as expected please"
- ewarn "rebuild them."
-}