summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-09-13 19:25:33 +0000
committerLuca Barbato <lu_zero@gentoo.org>2012-09-13 19:25:33 +0000
commit4b5be7fb1c9a91fb35f349a8a0c0c4e45deef65e (patch)
treed10c1a5eca8d6bbf962ad271993b3e7475398a4c /media-video/libav
parent[bump] virtual/perl-version-0.990.100 (diff)
downloadgentoo-2-4b5be7fb1c9a91fb35f349a8a0c0c4e45deef65e.tar.gz
gentoo-2-4b5be7fb1c9a91fb35f349a8a0c0c4e45deef65e.tar.bz2
gentoo-2-4b5be7fb1c9a91fb35f349a8a0c0c4e45deef65e.zip
Add support for fdk-aac encoder
(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)
Diffstat (limited to 'media-video/libav')
-rw-r--r--media-video/libav/ChangeLog6
-rw-r--r--media-video/libav/libav-9999.ebuild8
-rw-r--r--media-video/libav/metadata.xml1
3 files changed, 11 insertions, 4 deletions
diff --git a/media-video/libav/ChangeLog b/media-video/libav/ChangeLog
index 2d5fd97f2ba2..77c002807c00 100644
--- a/media-video/libav/ChangeLog
+++ b/media-video/libav/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/libav
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/libav/ChangeLog,v 1.101 2012/08/23 08:44:54 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/libav/ChangeLog,v 1.102 2012/09/13 19:25:33 lu_zero Exp $
+
+ 13 Sep 2012; Luca Barbato <lu_zero@gentoo.org> libav-9999.ebuild,
+ metadata.xml:
+ Add support for fdk-aac encoder
23 Aug 2012; Michael Weber <xmw@gentoo.org> libav-0.8.3.ebuild:
ppc stable (bug 422537).
diff --git a/media-video/libav/libav-9999.ebuild b/media-video/libav/libav-9999.ebuild
index e1f96fb34fff..1f5be0b7eccb 100644
--- a/media-video/libav/libav-9999.ebuild
+++ b/media-video/libav/libav-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9999.ebuild,v 1.51 2012/08/07 18:22:21 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9999.ebuild,v 1.52 2012/09/13 19:25:33 lu_zero Exp $
EAPI=4
@@ -28,7 +28,7 @@ SLOT="0"
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
~x64-solaris ~x86-solaris"
IUSE="aac alsa amr bindist +bzip2 cdio cpudetection custom-cflags debug doc
- +encode faac frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3
+ +encode faac fdk frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3
network openssl oss pic pulseaudio rtmp schroedinger sdl speex ssl
static-libs test theora threads tools truetype v4l vaapi vdpau vorbis vpx X
x264 xvid +zlib"
@@ -52,6 +52,7 @@ RDEPEND="
aac? ( media-libs/vo-aacenc )
amr? ( media-libs/vo-amrwbenc )
faac? ( media-libs/faac )
+ fdk? ( media-libs/fdk-aac )
mp3? ( >=media-sound/lame-3.98.3 )
theora? (
>=media-libs/libtheora-1.1.1[encode]
@@ -108,7 +109,7 @@ DEPEND="${RDEPEND}
# faac and aac are concurent implementations
# amr and aac require at least lgpl3
# x264 requires gpl2
-REQUIRED_USE="bindist? ( !faac !openssl )
+REQUIRED_USE="bindist? ( !faac !openssl !fdk )
rtmp? ( network )
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl )
test? ( encode zlib )
@@ -159,6 +160,7 @@ src_configure() {
# Encoders
if use encode; then
use faac && myconf+=" --enable-nonfree"
+ use fdk && myconf+=" --enable-nonfree --enable-libfdk-aac"
use mp3 && myconf+=" --enable-libmp3lame"
use amr && myconf+=" --enable-libvo-amrwbenc"
use aac && myconf+=" --enable-libvo-aacenc"
diff --git a/media-video/libav/metadata.xml b/media-video/libav/metadata.xml
index a5f9f996bf68..3d89fb660f4e 100644
--- a/media-video/libav/metadata.xml
+++ b/media-video/libav/metadata.xml
@@ -18,6 +18,7 @@
<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>
+ <flag name="fdk">Use external fdk-aac library for AAC encoding</flag>
<flag name="frei0r">Enable frei0r wrapping in libavfilter</flag>
<flag name="gpl">Build all GPL licensed code. Without this flag set the package is build under LGPL license.</flag>
<flag name="hardcoded-tables">Use pre-calculated tables rather than calculating them on the fly.</flag>