summaryrefslogtreecommitdiff
path: root/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-10-06 11:48:58 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-10-06 11:48:58 +0200
commit3506706dad5234a33d862bdc7baac6a732d1b466 (patch)
tree1ba2614015dde6134ca4022d8e8bd7d3aa539d30 /package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
parentd089c987a67359f1f1b697d0b6bb60e95be2ba62 (diff)
gst-plugins-ugle: add option for mpeg2dec support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk')
-rw-r--r--package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk b/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
index c87451fdf..fc2fcffe7 100644
--- a/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
+++ b/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
@@ -75,4 +75,11 @@ else
GST_PLUGINS_UGLY_CONF_OPT += --disable-mad
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
+GST_PLUGINS_UGLY_CONF_OPT += --enable-mpeg2dec
+GST_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
+else
+GST_PLUGINS_UGLY_CONF_OPT += --disable-mpeg2dec
+endif
+
$(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-ugly))