[Buildroot] [git commit] package/pipewire: add option to build examples
From: Yann E. MORIN <hidden>
Date: 2021-09-12 12:01:00
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=3edc1cc44c7bd2deed31d28fa9534e67f32334e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: James Hilliard <redacted> Signed-off-by: Yann E. MORIN <redacted> --- package/pipewire/Config.in | 5 +++++ package/pipewire/pipewire.mk | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in
index 6c61dd2021..b15bbfa8d3 100644
--- a/package/pipewire/Config.in
+++ b/package/pipewire/Config.in@@ -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
diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk
index 9259f0421f..e4ea60c39c 100644
--- a/package/pipewire/pipewire.mk
+++ b/package/pipewire/pipewire.mk@@ -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
_______________________________________________ buildroot mailing list buildroot@lists.buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot