gst-plugins-good: Add option for v4l2

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Phil Edworthy 2010-11-16 13:28:09 +00:00 committed by Peter Korsgaard
parent eeea3ea6a8
commit 4696e075f6
2 changed files with 9 additions and 1 deletions

View File

@ -159,6 +159,9 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M
bool "y4m" bool "y4m"
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2
bool "v4l2"
comment "plugins with external dependencies" comment "plugins with external dependencies"
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX

View File

@ -15,7 +15,6 @@ GST_PLUGINS_GOOD_CONF_OPT = \
--disable-sunaudio \ --disable-sunaudio \
--disable-osx_audio \ --disable-osx_audio \
--disable-osx_video \ --disable-osx_video \
--disable-gst_v4l2 \
--disable-x \ --disable-x \
--disable-xshm \ --disable-xshm \
--disable-xvideo \ --disable-xvideo \
@ -290,6 +289,12 @@ else
GST_PLUGINS_GOOD_CONF_OPT += --disable-y4m GST_PLUGINS_GOOD_CONF_OPT += --disable-y4m
endif 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) ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
GST_PLUGINS_GOOD_DEPENDENCIES += libxml2 GST_PLUGINS_GOOD_DEPENDENCIES += libxml2