03b5c4f91d
The double quotes from GST1_PLUGINS_UGLY_LDFLAGS += "-ldvdcss" raise the following build failure: sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm926ej-s%g' -e 's%@TARGET_ENDIAN@%little%g' -e 's%@TARGET_CFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-g2", "-static"%g' -e 's%@TARGET_LDFLAGS@%"-static", ""-ldvdcss""%g' -e 's%@TARGET_CXXFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-g2", "-static", "-static"%g' -e 's%@HOST_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot%g' -e 's%@STATIC@%true%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-2/output-1/build/gst1-plugins-ugly-1.16.2//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=static --buildtype=debug --cross-file=/home/buildroot/autobuild/run/instance-2/output-1/build/gst1-plugins-ugly-1.16.2//build/cross-compilation.conf -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-2/output-1/host/lib/pkgconfig -Dexamples=disabled -Dtests=disabled -Da52dec=disabled -Damrnb=disabled -Damrwbdec=disabled -Dcdio=disabled -Dsidplay=disabled -Dorc=disabled -Dasfdemux=enabled -Ddvdlpcmdec=disabled -Ddvdsub=disabled -Dxingmux=disabled -Drealmedia=disabled -Ddvdread=enabled -Dmpeg2dec=disabled -Dx264=disabled /home/buildroot/autobuild/run/instance-2/output-1/build/gst1-plugins-ugly-1.16.2/ /home/buildroot/autobuild/run/instance-2/output-1/build/gs t1-plugins-ugly-1.16.2//build ERROR: Malformed value in cross file variable c_link_args. However since the switch to messon, this workaround is not needed so drop it Fixes: - http://autobuild.buildroot.org/results/56a830625cf6e6b0d63b6e7e2761496abc146152 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
99 lines
2.9 KiB
Makefile
99 lines
2.9 KiB
Makefile
################################################################################
|
|
#
|
|
# gst1-plugins-ugly
|
|
#
|
|
################################################################################
|
|
|
|
GST1_PLUGINS_UGLY_VERSION = 1.16.2
|
|
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_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += \
|
|
-Dexamples=disabled \
|
|
-Dtests=disabled
|
|
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += \
|
|
-Da52dec=disabled \
|
|
-Damrnb=disabled \
|
|
-Damrwbdec=disabled \
|
|
-Dcdio=disabled \
|
|
-Dsidplay=disabled
|
|
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base
|
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=enabled
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += orc
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=enabled
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=enabled
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=enabled
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=enabled
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=enabled
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=enabled
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=enabled
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264),y)
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=enabled
|
|
GST1_PLUGINS_UGLY_DEPENDENCIES += x264
|
|
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
|
|
else
|
|
GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=disabled
|
|
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 $(meson-package))
|