summaryrefslogtreecommitdiffstats
path: root/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
diff options
context:
space:
mode:
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))