diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-04-20 14:25:17 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-04-20 14:25:17 +0000 |
commit | 3e618228b2fe922f3275fc59db5d3953c01013e6 (patch) | |
tree | e229238d836bc2e609601c584298f8c36afa37db /media-video/ffmpeg | |
parent | Initial commit, thanks to Aidan Taniane (bug #364245). (diff) | |
download | gentoo-2-3e618228b2fe922f3275fc59db5d3953c01013e6.tar.gz gentoo-2-3e618228b2fe922f3275fc59db5d3953c01013e6.tar.bz2 gentoo-2-3e618228b2fe922f3275fc59db5d3953c01013e6.zip |
simplify tests handling, add celt decoding support
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r-- | media-video/ffmpeg/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-9999.ebuild | 13 | ||||
-rw-r--r-- | media-video/ffmpeg/metadata.xml | 1 |
3 files changed, 12 insertions, 8 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog index b0337cd4e4ef..63ddbf8bf88c 100644 --- a/media-video/ffmpeg/ChangeLog +++ b/media-video/ffmpeg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/ffmpeg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.409 2011/04/13 12:49:47 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.410 2011/04/20 14:25:17 aballier Exp $ + + 20 Apr 2011; Alexis Ballier <aballier@gentoo.org> ffmpeg-9999.ebuild, + metadata.xml: + simplify tests handling, add celt decoding support 13 Apr 2011; Alexis Ballier <aballier@gentoo.org> -ffmpeg-0.6.90_rc0.ebuild, -ffmpeg-0.6.90_rc0-r1.ebuild: diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index 5417f2aad661..412f80d55a71 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v 1.41 2011/04/13 12:40:50 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v 1.42 2011/04/20 14:25:17 aballier Exp $ EAPI="2" @@ -29,7 +29,7 @@ if [ "${PV#9999}" = "${PV}" ] ; then KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" fi IUSE=" - +3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 cpudetection + +3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 celt cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l @@ -46,6 +46,7 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) amr? ( media-libs/opencore-amr ) bzip2? ( app-arch/bzip2 ) + celt? ( >=media-libs/celt-0.11.1 ) dirac? ( media-video/dirac ) encode? ( aac? ( media-libs/vo-aacenc ) @@ -156,7 +157,7 @@ src_configure() { # Decoders use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; } - for i in gsm dirac rtmp schroedinger speex vpx; do + for i in celt gsm dirac rtmp schroedinger speex vpx; do use ${i} && myconf="${myconf} --enable-lib${i}" done use jpeg2k && myconf="${myconf} --enable-libopenjpeg" @@ -267,10 +268,8 @@ src_install() { src_test() { if use encode ; then - for t in codectest lavftest seektest ; do - LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ - emake ${t} || die "Some tests in ${t} failed" - done + LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ + emake test || die "Some tests failed" else ewarn "Tests fail without USE=encode, skipping" fi diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml index 8bdce5ef664f..fbd7b3453384 100644 --- a/media-video/ffmpeg/metadata.xml +++ b/media-video/ffmpeg/metadata.xml @@ -13,6 +13,7 @@ </flag> <flag name="amr">Enables Adaptive Multi-Rate Audio support</flag> <flag name="avx">Adds support for Advanced Vector Extensions instructions (Intel Sandy Bridge, AMD Bulldozer and later chips)</flag> + <flag name="celt">Adds Xiph CELT/Opus audio decoding support via <pkg>media-libs/celt</pkg></flag> <flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)</flag> <flag name="dirac">Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac.</flag> <flag name="faac">Use external faac library for AAC encoding</flag> |