summaryrefslogtreecommitdiffstats
path: root/package/multimedia/gst-plugins-good/gst-plugins-good.mk
diff options
context:
space:
mode:
authorDaniel Laird <danieljlaird@hotmail.com>2009-01-21 13:33:21 +0000
committerDaniel Laird <danieljlaird@hotmail.com>2009-01-21 13:33:21 +0000
commit87d040ee5038e7cec53e4bce6df9aa3ee6d2dbeb (patch)
tree763f3d3fe3da59fc83c9c480dc78ef7dbe0ab9fa /package/multimedia/gst-plugins-good/gst-plugins-good.mk
parent6e20da741b77f3e5c9b8a96e3101fcc4ab9cfee2 (diff)
downloadbuildroot-novena-87d040ee5038e7cec53e4bce6df9aa3ee6d2dbeb.tar.gz
buildroot-novena-87d040ee5038e7cec53e4bce6df9aa3ee6d2dbeb.zip
package/multimedia/gst-plugins-good/gst-plugins-good.mk
package/multimedia/gst-plugins-good/Config.in gst-plugins-good does not build unless some package dependencies are forced. This patch allows you to turn off some of the plugins with these dependencies and hides others that require some packages (like PNG/JPEG) Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
Diffstat (limited to 'package/multimedia/gst-plugins-good/gst-plugins-good.mk')
-rw-r--r--package/multimedia/gst-plugins-good/gst-plugins-good.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
index bef8d01b0..c120edbb3 100644
--- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk
+++ b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
@@ -142,6 +142,7 @@ endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-matroska
+GST_PLUGINS_GOOD_DEPENDENCIES += zlib bzip2
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-matroska
endif
@@ -236,4 +237,36 @@ else
GST_PLUGINS_GOOD_CONF_OPT += --disable-wavparse
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-annodex
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ESD),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-esd
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-esd
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_JPEG),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-jpeg
+GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-jpeg
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-oss
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-oss
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PNG),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-png
+GST_PLUGINS_GOOD_DEPENDENCIES += libpng
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-png
+endif
+
$(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-good))