2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-19 14:37:36 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# gst-fsl-plugins
|
2012-12-19 14:37:36 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-19 14:37:36 +01:00
|
|
|
|
2015-09-11 11:39:48 +02:00
|
|
|
GST_FSL_PLUGINS_VERSION = 4.0.3
|
2014-02-14 01:26:18 +01:00
|
|
|
GST_FSL_PLUGINS_SITE = $(FREESCALE_IMX_SITE)
|
2012-12-19 14:37:36 +01:00
|
|
|
|
2017-04-17 11:27:13 +02:00
|
|
|
# Most is LGPL-2.0+, but some sources are copied from upstream and are
|
|
|
|
# LGPL-2.1+, which essentially makes it LGPL-2.1+
|
2017-03-30 15:43:37 +02:00
|
|
|
GST_FSL_PLUGINS_LICENSE = LGPL-2.0+, LGPL-2.1+, PROPRIETARY (asf.h)
|
2012-12-19 14:37:36 +01:00
|
|
|
GST_FSL_PLUGINS_LICENSE_FILES = COPYING-LGPL-2.1 COPYING-LGPL-2
|
|
|
|
|
|
|
|
GST_FSL_PLUGINS_INSTALL_STAGING = YES
|
|
|
|
GST_FSL_PLUGINS_AUTORECONF = YES
|
|
|
|
|
|
|
|
GST_FSL_PLUGINS_DEPENDENCIES += host-pkgconf gstreamer gst-plugins-base \
|
2016-06-10 20:13:18 +02:00
|
|
|
imx-lib imx-parser imx-codec
|
2016-03-09 16:05:09 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FREESCALE_IMX_HAS_VPU),y)
|
2016-06-10 20:13:29 +02:00
|
|
|
GST_FSL_PLUGINS_DEPENDENCIES += imx-vpuwrap
|
2016-03-09 16:05:09 +01:00
|
|
|
endif
|
2012-12-19 14:37:36 +01:00
|
|
|
|
2014-06-30 23:52:09 +02:00
|
|
|
GST_FSL_PLUGINS_CONF_ENV = \
|
|
|
|
PLATFORM=$(BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM) \
|
|
|
|
CROSS_ROOT="$(STAGING_DIR)"
|
2012-12-19 14:37:36 +01:00
|
|
|
|
|
|
|
# needs access to imx-specific kernel headers
|
|
|
|
GST_FSL_PLUGINS_DEPENDENCIES += linux
|
2014-06-30 23:52:09 +02:00
|
|
|
GST_FSL_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi"
|
2012-12-19 14:37:36 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
|
|
GST_FSL_PLUGINS_DEPENDENCIES += xlib_libX11
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_FSL_PLUGINS_CONF_OPTS += --enable-x11
|
2012-12-19 14:37:36 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_FSL_PLUGINS_CONF_OPTS += --disable-x11
|
2012-12-19 14:37:36 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
# Autoreconf requires an m4 directory to exist
|
|
|
|
define GST_FSL_PLUGINS_PATCH_M4
|
|
|
|
mkdir -p $(@D)/m4
|
|
|
|
endef
|
|
|
|
|
|
|
|
GST_FSL_PLUGINS_POST_PATCH_HOOKS += GST_FSL_PLUGINS_PATCH_M4
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|