config BR2_PACKAGE_JANUS_GATEWAY
	bool "janus-gateway"
	select BR2_PACKAGE_LIBMICROHTTPD
	select BR2_PACKAGE_JANSSON
	select BR2_PACKAGE_LIBNICE
	select BR2_PACKAGE_SOFIA_SIP
	select BR2_PACKAGE_LIBSRTP
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_DING_LIBS
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libmicrohttpd
	depends on BR2_USE_WCHAR # libnice -> libglib2
	depends on BR2_USE_MMU # libnice
	depends on !BR2_STATIC_LIBS # dlopen
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305 # libmicrohttpd
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libmicrohttpd
	help
	  Janus is an open source, general purpose, WebRTC gateway
	  designed and developed by Meetecho.

	  https://github.com/meetecho/janus-gateway

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
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
