gst-plugins-good: add option to build cairo plugin
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 1 Jan 2011 13:31:47 +0000 (14:31 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 1 Jan 2011 13:31:47 +0000 (14:31 +0100)
Fixes build issue when cairo is built without png support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/gst-plugins-good/Config.in
package/multimedia/gst-plugins-good/gst-plugins-good.mk

index dd293e9c17e6bb4cce0b1743552f94c584a6d88f..368642f6c1442afeb113090bd4ab4f65465ba6a9 100644 (file)
@@ -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
index 62d9d47016666d6fcb5ac60a8a7c908ae03c5229..f7a20872403f8c5acc5921537bd63114f658a200 100644 (file)
@@ -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