summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-11-30 19:08:50 +0000
committeradam <adam@pkgsrc.org>2014-11-30 19:08:50 +0000
commit78169f38ea7b59a672bc2ba8e3fd2e0faf9c27be (patch)
treeda09eba5a429d20eb4d0b73fc44125164499f236 /multimedia/ffmpeg2
parent3136c796d59dd77211482391cc387006b3f4c479 (diff)
downloadpkgsrc-78169f38ea7b59a672bc2ba8e3fd2e0faf9c27be.tar.gz
Added option for fdk-aac
Diffstat (limited to 'multimedia/ffmpeg2')
-rw-r--r--multimedia/ffmpeg2/options.mk16
1 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/ffmpeg2/options.mk b/multimedia/ffmpeg2/options.mk
index e1e9c588c1b..4dda0e46f2a 100644
--- a/multimedia/ffmpeg2/options.mk
+++ b/multimedia/ffmpeg2/options.mk
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.4 2014/07/02 13:49:06 adam Exp $
+# $NetBSD: options.mk,v 1.5 2014/11/30 19:08:50 adam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg2
-PKG_SUPPORTED_OPTIONS= faac lame ass libvpx theora vorbis x264 x265 xvid \
- opencore-amr
+PKG_SUPPORTED_OPTIONS= ass faac fdk-aac lame libvpx opencore-amr theora \
+ vorbis x264 x265 xvid
PKG_SUGGESTED_OPTIONS= lame ass libvpx theora vorbis x264 xvid
# Add VDPAU if it is available
@@ -42,6 +42,16 @@ CONFIGURE_ARGS+= --enable-nonfree
.include "../../audio/faac/buildlink3.mk"
.endif
+# Fraunhofer FDK AAC codec support
+.if !empty(PKG_OPTIONS:Mfdk-aac)
+RESTRICTED= This software may require the payment of patent royalties
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+CONFIGURE_ARGS+= --enable-libfdk_aac
+CONFIGURE_ARGS+= --enable-nonfree
+.include "../../audio/fdk-aac/buildlink3.mk"
+.endif
+
# opencore-amr option
.if !empty(PKG_OPTIONS:Mopencore-amr)
CONFIGURE_ARGS+= --enable-libopencore-amrnb