[Buildroot] [git commit] package/janus-gateway: add systemd socket support

From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2020-06-18 20:14:19
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=190d563b3847b9357835e0b6333c24cbc67c46d2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

If systemd is selected, add the systemd package to the dependency list and set
the conf opt --enable-systemd-sockets.

Signed-off-by: Adam Duskett <redacted>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/janus-gateway/janus-gateway.mk | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
index 0ecd83fce1..56b7d67332 100644
--- a/package/janus-gateway/janus-gateway.mk
+++ b/package/janus-gateway/janus-gateway.mk
@@ -112,4 +112,11 @@ else
 JANUS_GATEWAY_CONF_OPTS += --disable-websockets
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+JANUS_GATEWAY_DEPENDENCIES += systemd
+JANUS_GATEWAY_CONF_OPTS += --enable-systemd-sockets
+else
+JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets
+endif
+
 $(eval $(autotools-package))
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help