Add support for the "opus" option (disabled by default, so no PKGREVISION bump)
Patch provided by Adrien Fernandes via #NetBSD
This commit is contained in:
parent
dd01360feb
commit
842f105164
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue