gst-plugins-base: add option for dependency-less plugin

Make the build of the dependency-less plugin 'encoding' optional.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Sven Neumann 2011-07-07 09:39:00 +02:00 committed by Peter Korsgaard
parent 2f2542595f
commit e67b65eed8
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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