From: James Hilliard Date: Fri, 10 Sep 2021 00:37:25 +0000 (-0600) Subject: package/pipewire: add option to build examples X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3edc1cc44c7bd2deed31d28fa9534e67f32334e8;p=buildroot.git package/pipewire: add option to build examples Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- 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