gst-plugins-good: add option to build cairo plugin
Fixes build issue when cairo is built without png support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
e18087a601
commit
06aa68394d
@ -168,6 +168,11 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
|
||||
bool "annodex (XML Library)"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO
|
||||
bool "cairo"
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC
|
||||
bool "flac (libFLAC)"
|
||||
select BR2_PACKAGE_FLAC
|
||||
|
@ -302,6 +302,13 @@ else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-annodex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-cairo
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += cairo
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-cairo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-flac
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += flac
|
||||
|
Loading…
Reference in New Issue
Block a user