From 4b5be7fb1c9a91fb35f349a8a0c0c4e45deef65e Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Thu, 13 Sep 2012 19:25:33 +0000 Subject: Add support for fdk-aac encoder (Portage version: 2.2.0_alpha125/cvs/Linux x86_64) --- media-video/libav/ChangeLog | 6 +++++- media-video/libav/libav-9999.ebuild | 8 +++++--- media-video/libav/metadata.xml | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'media-video/libav') 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 libav-9999.ebuild, + metadata.xml: + Add support for fdk-aac encoder 23 Aug 2012; Michael Weber 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 @@ Enables runtime CPU detection (useful for bindist, compatibility on other CPUs). Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac. Use external faac library for AAC encoding + Use external fdk-aac library for AAC encoding Enable frei0r wrapping in libavfilter Build all GPL licensed code. Without this flag set the package is build under LGPL license. Use pre-calculated tables rather than calculating them on the fly. -- cgit v1.2.3-65-gdbad