summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2011-07-07 09:39:00 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-07 10:54:44 +0200
commite67b65eed8f5e4551a527a07948e7ecc74764da3 (patch)
treeb6c9cdfcf78636bab55563601f6fde7f1e2f3cc1 /package
parent2f2542595f69734d61d208bfbf1094901be5432f (diff)
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>
Diffstat (limited to 'package')
-rw-r--r--package/multimedia/gst-plugins-base/Config.in3
-rw-r--r--package/multimedia/gst-plugins-base/gst-plugins-base.mk6
2 files changed, 9 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-base/Config.in b/package/multimedia/gst-plugins-base/Config.in
index 09c243cb6..3ac4dac08 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 1d0b19dd6..72188736c 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