adf6511013
Unless it was a group of sub-packages, packages was never regrouped by category. multimedia/ was an exception to this rule. This patch move packages/multimedia/ sub-directories to packages/. It keeps two subdirectories for gstream 0.10 and gstreamer 1.X. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
105 lines
2.9 KiB
Makefile
105 lines
2.9 KiB
Makefile
################################################################################
|
|
#
|
|
# gst1-plugins-ugly
|
|
#
|
|
################################################################################
|
|
|
|
GST1_PLUGINS_UGLY_VERSION = 1.0.10
|
|
GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz
|
|
GST1_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
|
GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
|
|
# GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled.
|
|
GST1_PLUGINS_UGLY_LICENSE = LGPLv2.1+
|
|
|
|
GST1_PLUGINS_UGLY_CONF_OPT = \
|
|
--disable-examples \
|
|
--disable-debug \
|
|
--disable-valgrind
|
|
|
|
GST_PLUGINS_BAD1_CONF_OPT += \
|
|
--disable-a52dec \
|
|
--disable-amrnb \
|
|
--disable-amrwb \
|
|
--disable-cdio \
|
|
--disable-sidplay \
|
|
--disable-twolame \
|
|
--disable-x264
|
|
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base
|
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-orc
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += orc
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-asfdemux
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-asfdemux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-dvdlpcmdec
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-dvdlpcmdec
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-dvdsub
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-dvdsub
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGL1_PLUGIN_XINGMUX),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-xingmux
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-xingmux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-realmedia
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-realmedia
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-dvdread
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-dvdread
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-lame
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += lame
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-lame
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-mad
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libid3tag libmad
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-mad
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --enable-mpeg2dec
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
|
|
GST1_PLUGINS_ULGY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPT += --disable-mpeg2dec
|
|
endif
|
|
|
|
# Add GPL license if GPL plugins enabled.
|
|
ifeq ($(GST1_PLUGINS_UGLY_HAS_GPL_LICENSE),y)
|
|
GST1_PLUGINS_UGLY_LICENSE += GPLv2
|
|
endif
|
|
|
|
# Use the following command to extract license info for plugins.
|
|
# # find . -name 'plugin-*.xml' | xargs grep license
|
|
|
|
$(eval $(autotools-package))
|