summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2010-11-16 13:28:09 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-31 00:17:19 +0100
commit4696e075f6461d467340c78ecd7033301cac1dd7 (patch)
tree3efadcf94f11b63b5544b0f67e126f0dd186bbab /package
parenteeea3ea6a88a8f1c7511abf0b429297a562e7d30 (diff)
downloadbuildroot-novena-4696e075f6461d467340c78ecd7033301cac1dd7.tar.gz
buildroot-novena-4696e075f6461d467340c78ecd7033301cac1dd7.zip
gst-plugins-good: Add option for v4l2
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/multimedia/gst-plugins-good/Config.in3
-rw-r--r--package/multimedia/gst-plugins-good/gst-plugins-good.mk7
2 files changed, 9 insertions, 1 deletions
diff --git a/package/multimedia/gst-plugins-good/Config.in b/package/multimedia/gst-plugins-good/Config.in
index 3b37b5e78..dd293e9c1 100644
--- a/package/multimedia/gst-plugins-good/Config.in
+++ b/package/multimedia/gst-plugins-good/Config.in
@@ -159,6 +159,9 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M
bool "y4m"
+config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2
+ bool "v4l2"
+
comment "plugins with external dependencies"
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
index c44bdff50..62d9d4701 100644
--- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk
+++ b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
@@ -15,7 +15,6 @@ GST_PLUGINS_GOOD_CONF_OPT = \
--disable-sunaudio \
--disable-osx_audio \
--disable-osx_video \
- --disable-gst_v4l2 \
--disable-x \
--disable-xshm \
--disable-xvideo \
@@ -290,6 +289,12 @@ else
GST_PLUGINS_GOOD_CONF_OPT += --disable-y4m
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-gst_v4l2
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-gst_v4l2
+endif
+
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
GST_PLUGINS_GOOD_DEPENDENCIES += libxml2