Files
H1502_buildroot/package/janus-gateway/Config.in
Adam Duskett 6f8f669341 janus-gateway: make audio bridge plugin optional
Currently janus-gateway is built by default with the audio bridge plugin.
This causes a example config file to be placed on the target filing system
that the user may not need or want, creates a 119K .so
file on the target directory, adds the dependency of opus for this
plugin, and janus will also create a warning when ran if the plugin does
not have a matching configuration file setup by the user, as it will not use
the example config file by default.

This patch makes the audio bridge plugin a option, removes the check for opus,
adds opus as a dependency to the audio bridge plugin, and selects the opus
package automatically when the user selects the plugin.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-28 21:39:40 +13:00

35 lines
927 B
Plaintext

menuconfig BR2_PACKAGE_JANUS_GATEWAY
bool "janus-gateway"
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBNICE
select BR2_PACKAGE_LIBSRTP
select BR2_PACKAGE_OPENSSL
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libnice -> libglib2
depends on BR2_USE_MMU # libnice
depends on !BR2_STATIC_LIBS # dlopen
help
Janus is an open source, general purpose, WebRTC gateway
designed and developed by Meetecho.
https://github.com/meetecho/janus-gateway
if BR2_PACKAGE_JANUS_GATEWAY
comment "plugins"
config BR2_PACKAGE_JANUS_AUDIO_BRIDGE
bool "audio bridge"
select BR2_PACKAGE_OPUS
config BR2_PACKAGE_JANUS_SIP_GATEWAY
bool "sip gateway"
select BR2_PACKAGE_SOFIA_SIP
endif
comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR