3f2aef5612
These are grouped together because several plugins have been re-arranged and there is no way to individually update each plugin package. Changes: Add the following to gst1-plugins-base and remove them from plugins-bad: - opengl - gles2 - glx - egl - x11 - dispmanx - audiomixer Add the following to plugins-good and remove them from plugins-ugly: - lame - mpg123 moved --disable-qt from plugins-bad to plugins-good Delete upstream patch from gst1-plugins-ugly ([1]) - 0001-x264enc-fix-build-with-newer-x264-with-support-for-m.patch Also add hashes for the license files. [1] https://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=83c38dc44622611c1f67dd26e4cb383c5aef90f6 Signed-off-by: Adam Duskett <aduskett@gmail.com> [Upate to 1.14.1] [Removed legacy lame/mpg123 option, add Config.in.legacy handling] [remove leftover audiomixer handling from gst1-plugins-bad.mk] [remove upstream patch from gst1-plugins-ugly] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
98 lines
2.9 KiB
Makefile
98 lines
2.9 KiB
Makefile
################################################################################
|
|
#
|
|
# gst1-plugins-ugly
|
|
#
|
|
################################################################################
|
|
|
|
GST1_PLUGINS_UGLY_VERSION = 1.14.1
|
|
GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz
|
|
GST1_PLUGINS_UGLY_SITE = https://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 = LGPL-2.1+
|
|
|
|
GST1_PLUGINS_UGLY_CONF_OPTS = --disable-examples --disable-valgrind
|
|
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += \
|
|
--disable-a52dec \
|
|
--disable-amrnb \
|
|
--disable-amrwb \
|
|
--disable-cdio \
|
|
--disable-sidplay \
|
|
--disable-twolame
|
|
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base
|
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-orc
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += orc
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-asfdemux
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-asfdemux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdlpcmdec
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-dvdlpcmdec
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdsub
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-dvdsub
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGL1_PLUGIN_XINGMUX),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-xingmux
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-xingmux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-realmedia
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-realmedia
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y)
|
|
# configure does not use pkg-config to detect libdvdread
|
|
ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy)
|
|
GST1_PLUGINS_UGLY_CONF_ENV += LIBS="-ldvdcss"
|
|
endif
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdread
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-dvdread
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-mpeg2dec
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-mpeg2dec
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-x264
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += x264
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-x264
|
|
endif
|
|
|
|
# Add GPL license if GPL plugins enabled.
|
|
ifeq ($(GST1_PLUGINS_UGLY_HAS_GPL_LICENSE),y)
|
|
GST1_PLUGINS_UGLY_LICENSE += GPL-2.0
|
|
endif
|
|
|
|
# Use the following command to extract license info for plugins.
|
|
# # find . -name 'plugin-*.xml' | xargs grep license
|
|
|
|
$(eval $(autotools-package))
|