From 3506706dad5234a33d862bdc7baac6a732d1b466 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 6 Oct 2010 11:48:58 +0200 Subject: gst-plugins-ugle: add option for mpeg2dec support Signed-off-by: Peter Korsgaard --- package/multimedia/gst-plugins-ugly/Config.in | 4 ++++ package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'package') 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)) -- cgit v1.2.3