mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
janus-gateway: add rabbitmq to transports section
Signed-off-by: Adam Duskett <aduskett@codeblue.com> [Thomas: propagate rabbitmq-c dependency, use alphabetic ordering.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b447ed4a84
commit
5dc7252d73
@@ -56,6 +56,14 @@ config BR2_PACKAGE_JANUS_VOICE_MAIL
|
|||||||
|
|
||||||
comment "transports"
|
comment "transports"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_JANUS_RABBITMQ
|
||||||
|
bool "RabbitMQ"
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
select BR2_PACKAGE_RABBITMQ_C
|
||||||
|
|
||||||
|
comment "RabbitMQ transport needs a toolchain w/ threads"
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_JANUS_REST
|
config BR2_PACKAGE_JANUS_REST
|
||||||
bool "REST (HTTP/HTTPS)"
|
bool "REST (HTTP/HTTPS)"
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ JANUS_GATEWAY_POST_PATCH_HOOKS += JANUS_GATEWAY_M4
|
|||||||
|
|
||||||
JANUS_GATEWAY_CONF_OPTS = \
|
JANUS_GATEWAY_CONF_OPTS = \
|
||||||
--disable-data-channels \
|
--disable-data-channels \
|
||||||
--disable-rabbitmq \
|
|
||||||
--disable-sample-event-handler
|
--disable-sample-event-handler
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_JANUS_AUDIO_BRIDGE),y)
|
ifeq ($(BR2_PACKAGE_JANUS_AUDIO_BRIDGE),y)
|
||||||
@@ -84,6 +83,13 @@ else
|
|||||||
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
|
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_JANUS_RABBITMQ),y)
|
||||||
|
JANUS_GATEWAY_DEPENDENCIES += rabbitmq-c
|
||||||
|
JANUS_GATEWAY_CONF_OPTS += --enable-rabbitmq
|
||||||
|
else
|
||||||
|
JANUS_GATEWAY_CONF_OPTS += --disable-rabbitmq
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_JANUS_REST),y)
|
ifeq ($(BR2_PACKAGE_JANUS_REST),y)
|
||||||
JANUS_GATEWAY_DEPENDENCIES += libmicrohttpd
|
JANUS_GATEWAY_DEPENDENCIES += libmicrohttpd
|
||||||
JANUS_GATEWAY_CONF_OPTS += --enable-rest
|
JANUS_GATEWAY_CONF_OPTS += --enable-rest
|
||||||
|
|||||||
Reference in New Issue
Block a user