From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/7] janus-gatway: add rabbitmq to transports section
Date: Thu, 15 Jun 2017 08:13:11 -0400 [thread overview]
Message-ID: <20170615121314.1485-4-aduskett@codeblue.com> (raw)
In-Reply-To: <20170615121314.1485-1-aduskett@codeblue.com>
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
package/janus-gateway/Config.in | 4 ++++
package/janus-gateway/janus-gateway.mk | 8 +++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/package/janus-gateway/Config.in b/package/janus-gateway/Config.in
index eaec8a1..3b3d148 100644
--- a/package/janus-gateway/Config.in
+++ b/package/janus-gateway/Config.in
@@ -64,6 +64,10 @@ config BR2_PACKAGE_JANUS_WEBSOCKETS
bool "WebSockets"
select BR2_PACKAGE_LIBWEBSOCKETS
+config BR2_PACKAGE_JANUS_RABBITMQ
+ bool "RabbitMQ"
+ select BR2_PACKAGE_RABBITMQ_C
+
endif
comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
index 4a13199..6aa824e 100644
--- a/package/janus-gateway/janus-gateway.mk
+++ b/package/janus-gateway/janus-gateway.mk
@@ -24,7 +24,6 @@ JANUS_GATEWAY_POST_PATCH_HOOKS += JANUS_GATEWAY_M4
JANUS_GATEWAY_CONF_OPTS = \
--disable-data-channels \
- --disable-rabbitmq \
--disable-sample-event-handler
ifeq ($(BR2_PACKAGE_JANUS_AUDIO_BRIDGE),y)
@@ -98,6 +97,13 @@ else
JANUS_GATEWAY_CONF_OPTS += --disable-rest
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
+
# Parallel build broken
JANUS_GATEWAY_MAKE = $(MAKE1)
--
2.9.4
next prev parent reply other threads:[~2017-06-15 12:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 12:13 [Buildroot] [PATCH 1/7] janus-gateway: bump to version 0.2.3 Adam Duskett
2017-06-15 12:13 ` [Buildroot] [PATCH 2/7] janus-gateway: add transports section to config Adam Duskett
2017-06-20 21:13 ` Thomas Petazzoni
2017-06-15 12:13 ` [Buildroot] [PATCH 3/7] janus-gatway: add websockets to transport section Adam Duskett
2017-06-15 12:13 ` Adam Duskett [this message]
2017-06-15 12:13 ` [Buildroot] [PATCH 5/7] janus-gatway: add mqtt " Adam Duskett
2017-06-15 12:13 ` [Buildroot] [PATCH 6/7] janus-gatway: add unix-sockets " Adam Duskett
2017-06-15 12:13 ` [Buildroot] [PATCH 7/7] DEVELOPERS: Add janus-gateway to Adam Duskett Adam Duskett
2017-06-15 21:34 ` [Buildroot] [PATCH 1/7] janus-gateway: bump to version 0.2.3 Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170615121314.1485-4-aduskett@codeblue.com \
--to=aduskett@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox