package/pipewire: add option to build examples

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2021-09-09 18:37:25 -06:00 committed by Yann E. MORIN
parent 8654c8d80e
commit 3edc1cc44c
2 changed files with 11 additions and 1 deletions

View File

@ -14,6 +14,11 @@ config BR2_PACKAGE_PIPEWIRE
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

View File

@ -14,7 +14,6 @@ PIPEWIRE_DEPENDENCIES = host-pkgconf dbus $(TARGET_NLS_DEPENDENCIES)
PIPEWIRE_CONF_OPTS += \
-Ddocs=disabled \
-Dexamples=disabled \
-Dman=disabled \
-Dtests=disabled \
-Dspa-plugins=enabled \
@ -36,6 +35,12 @@ else
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