summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg3
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2017-01-01 22:36:34 +0000
committerleot <leot@pkgsrc.org>2017-01-01 22:36:34 +0000
commitee9bad642c5d6e0b64d4d08e7b7ad8e84a0aa8b0 (patch)
tree41d70e8370f896e607a9ccad128e0a7f60232b92 /multimedia/ffmpeg3
parentde84629b0fd18375efb8d846f26f2c2dd8f3868d (diff)
downloadpkgsrc-ee9bad642c5d6e0b64d4d08e7b7ad8e84a0aa8b0.tar.gz
Add support for the "opus" option (disabled by default, so no PKGREVISION bump)
Patch provided by Adrien Fernandes via #NetBSD
Diffstat (limited to 'multimedia/ffmpeg3')
-rw-r--r--multimedia/ffmpeg3/options.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/multimedia/ffmpeg3/options.mk b/multimedia/ffmpeg3/options.mk
index dd6afd905e9..133e826504a 100644
--- a/multimedia/ffmpeg3/options.mk
+++ b/multimedia/ffmpeg3/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.4 2016/11/03 21:25:55 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2017/01/01 22:36:34 leot Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3
PKG_SUPPORTED_OPTIONS= ass doc ebur128 fdk-aac fontconfig freetype \
- gnutls lame libvpx opencore-amr openssl theora vorbis \
- x264 x265 xcb xvid
+ gnutls lame libvpx opencore-amr openssl opus theora \
+ vorbis x264 x265 xcb xvid
PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \
theora vorbis x264 xvid
@@ -135,6 +135,12 @@ CONFIGURE_ARGS+= --enable-libmp3lame
.include "../../audio/lame/buildlink3.mk"
.endif
+# OPUS support
+.if !empty(PKG_OPTIONS:Mopus)
+CONFIGURE_ARGS+= --enable-libopus
+.include "../../audio/libopus/buildlink3.mk"
+.endif
+
# XviD support
.if !empty(PKG_OPTIONS:Mxvid)
CONFIGURE_ARGS+= --enable-libxvid