config BR2_PACKAGE_JANUS_VIDEO_ROOM
bool "video room"
+config BR2_PACKAGE_JANUS_VOICE_MAIL
+ bool "voice mail"
+ select BR2_PACKAGE_LIBOGG
+
endif
comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videoroom
endif
+ifeq ($(BR2_PACKAGE_JANUS_VOICE_MAIL),y)
+JANUS_GATEWAY_DEPENDENCIES += libogg
+JANUS_GATEWAY_CONF_OPTS += --enable-plugin-voicemail
+else
+JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
+endif
+
ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y)
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
JANUS_GATEWAY_CONF_OPTS += --enable-websockets
JANUS_GATEWAY_CONF_OPTS += --disable-websockets
endif
-ifeq ($(BR2_PACKAGE_LIBOGG),y)
-JANUS_GATEWAY_DEPENDENCIES += libogg
-JANUS_GATEWAY_CONF_OPTS += --enable-plugin-voicemail
-else
-JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
-endif
-
# Parallel build broken
JANUS_GATEWAY_MAKE = $(MAKE1)