2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-12-08 18:57:26 +01:00
|
|
|
#
|
|
|
|
# gst-plugins-ugly
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-03-14 18:26:53 +01:00
|
|
|
GST_PLUGINS_UGLY_VERSION = 0.10.19
|
2013-09-06 08:14:15 +02:00
|
|
|
GST_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST_PLUGINS_UGLY_VERSION).tar.xz
|
2008-12-08 18:57:26 +01:00
|
|
|
GST_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS = \
|
2014-12-22 09:12:05 +01:00
|
|
|
--disable-examples
|
2008-12-08 18:57:26 +01:00
|
|
|
|
|
|
|
GST_PLUGINS_UGLY_DEPENDENCIES = gstreamer gst-plugins-base
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-asfdemux
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-asfdemux
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-dvdlpcmdec
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-dvdlpcmdec
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-dvdsub
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-dvdsub
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_IEC958),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-iec958
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-iec958
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGAUDIOPARSE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-mpegaudioparse
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-mpegaudioparse
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGSTREAM),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-mpegstream
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-mpegstream
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-realmedia
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-realmedia
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_SYNAESTHESIA),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-synaesthesia
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-synaesthesia
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
2011-10-03 12:10:33 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-lame
|
2011-10-03 12:10:33 +02:00
|
|
|
GST_PLUGINS_UGLY_DEPENDENCIES += lame
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-lame
|
2011-10-03 12:10:33 +02:00
|
|
|
endif
|
|
|
|
|
2008-12-08 18:57:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-mad
|
2011-07-16 00:33:00 +02:00
|
|
|
GST_PLUGINS_UGLY_DEPENDENCIES += libid3tag libmad
|
2008-12-08 18:57:26 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-mad
|
2008-12-08 18:57:26 +01:00
|
|
|
endif
|
|
|
|
|
2010-10-06 11:48:58 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --enable-mpeg2dec
|
2010-10-06 11:48:58 +02:00
|
|
|
GST_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_UGLY_CONF_OPTS += --disable-mpeg2dec
|
2010-10-06 11:48:58 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|