Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
if BR2_PACKAGE_PIPEWIRE
+config BR2_PACKAGE_PIPEWIRE_EXAMPLES
+ bool "pipewire examples"
+ help
+ Build pipewire examples
+
config BR2_PACKAGE_PIPEWIRE_GSTREAMER
bool "pipewire gstreamer plugins"
depends on BR2_USE_WCHAR # libglib2
PIPEWIRE_CONF_OPTS += \
-Ddocs=disabled \
- -Dexamples=disabled \
-Dman=disabled \
-Dtests=disabled \
-Dspa-plugins=enabled \
PIPEWIRE_CONF_OPTS += -Dudev=disabled
endif
+ifeq ($(BR2_PACKAGE_PIPEWIRE_EXAMPLES),y)
+PIPEWIRE_CONF_OPTS += -Dexamples=enabled
+else
+PIPEWIRE_CONF_OPTS += -Dexamples=disabled
+endif
+
ifeq ($(BR2_PACKAGE_PIPEWIRE_GSTREAMER),y)
PIPEWIRE_CONF_OPTS += -Dgstreamer=enabled
PIPEWIRE_DEPENDENCIES += libglib2 gstreamer1 gst1-plugins-base