From 06aa68394d4725c90500b35b75183ceec015c8fa Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 1 Jan 2011 14:31:47 +0100 Subject: gst-plugins-good: add option to build cairo plugin Fixes build issue when cairo is built without png support. Signed-off-by: Peter Korsgaard --- package/multimedia/gst-plugins-good/Config.in | 5 +++++ package/multimedia/gst-plugins-good/gst-plugins-good.mk | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'package/multimedia/gst-plugins-good') diff --git a/package/multimedia/gst-plugins-good/Config.in b/package/multimedia/gst-plugins-good/Config.in index dd293e9c1..368642f6c 100644 --- a/package/multimedia/gst-plugins-good/Config.in +++ b/package/multimedia/gst-plugins-good/Config.in @@ -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 diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk index 62d9d4701..f7a208724 100644 --- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk +++ b/package/multimedia/gst-plugins-good/gst-plugins-good.mk @@ -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 -- cgit v1.2.3