From: Sven Neumann Date: Thu, 7 Jul 2011 07:39:00 +0000 (+0200) Subject: gst-plugins-base: add option for dependency-less plugin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e67b65eed8f5e4551a527a07948e7ecc74764da3;p=buildroot.git gst-plugins-base: add option for dependency-less plugin Make the build of the dependency-less plugin 'encoding' optional. Signed-off-by: Sven Neumann Signed-off-by: Peter Korsgaard --- diff --git a/package/multimedia/gst-plugins-base/Config.in b/package/multimedia/gst-plugins-base/Config.in index 09c243cb6f..3ac4dac085 100644 --- a/package/multimedia/gst-plugins-base/Config.in +++ b/package/multimedia/gst-plugins-base/Config.in @@ -30,6 +30,9 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC bool "audiotestsrc" +config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING + bool "encoding" + config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE bool "ffmpegcolorspace (mandatory for video playback)" default y diff --git a/package/multimedia/gst-plugins-base/gst-plugins-base.mk b/package/multimedia/gst-plugins-base/gst-plugins-base.mk index 1d0b19dd61..72188736c5 100644 --- a/package/multimedia/gst-plugins-base/gst-plugins-base.mk +++ b/package/multimedia/gst-plugins-base/gst-plugins-base.mk @@ -69,6 +69,12 @@ else GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc endif +ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y) +GST_PLUGINS_BASE_CONF_OPT += --enable-encoding +else +GST_PLUGINS_BASE_CONF_OPT += --disable-encoding +endif + ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y) GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace else