summaryrefslogtreecommitdiffstats
path: root/package/multimedia
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
parentd089c987a67359f1f1b697d0b6bb60e95be2ba62 (diff)
downloadbuildroot-novena-3506706dad5234a33d862bdc7baac6a732d1b466.tar.gz
buildroot-novena-3506706dad5234a33d862bdc7baac6a732d1b466.zip
gst-plugins-ugle: add option for mpeg2dec support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia')
-rw-r--r--package/multimedia/gst-plugins-ugly/Config.in4
-rw-r--r--package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk7
2 files changed, 11 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-ugly/Config.in b/package/multimedia/gst-plugins-ugly/Config.in
index 190c4d882..9f738cf17 100644
--- a/package/multimedia/gst-plugins-ugly/Config.in
+++ b/package/multimedia/gst-plugins-ugly/Config.in
@@ -47,4 +47,8 @@ config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD
select BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_ID3TAG
select BR2_PACKAGE_LIBMAD
+config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC
+ bool "mpeg2dec"
+ select BR2_PACKAGE_LIBMPEG2
+
endif
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))