[Buildroot] [PATCH 3/3] package/pipewire: add optional roc

Théo Lebrun theo.lebrun at bootlin.com
Thu Mar 10 15:20:48 UTC 2022


Roc is a toolkit for real-time audio streaming over the network, that
can be used as a PipeWire module.

Successful if libpipewire-module-roc-{sink,source}.so get built.

Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>
---
 package/pipewire/pipewire.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk
index fc521c86ac..de27bce10c 100644
--- a/package/pipewire/pipewire.mk
+++ b/package/pipewire/pipewire.mk
@@ -189,6 +189,13 @@ else
 PIPEWIRE_CONF_OPTS += -Draop=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_ROC),y)
+PIPEWIRE_CONF_OPTS += -Droc=enabled
+PIPEWIRE_DEPENDENCIES += roc
+else
+PIPEWIRE_CONF_OPTS += -Droc=disabled
+endif
+
 define PIPEWIRE_USERS
 	pipewire -1 pipewire -1 * - - audio,video PipeWire System Daemon
 endef
-- 
2.35.1




More information about the buildroot mailing list