python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / gstreamer / gst-fsl-plugins / gst-fsl-plugins.mk
blob65993a278a14de7bda75a8e5269cc748df922b08
1 ################################################################################
3 # gst-fsl-plugins
5 ################################################################################
7 GST_FSL_PLUGINS_VERSION = 4.0.3
8 GST_FSL_PLUGINS_SITE = $(FREESCALE_IMX_SITE)
10 # Most is LGPLv2+, but some sources are copied from upstream and are
11 # LGPLv2.1+, which essentially makes it LGPLv2.1+
12 GST_FSL_PLUGINS_LICENSE = LGPLv2+, LGPLv2.1+, PROPRIETARY (asf.h)
13 GST_FSL_PLUGINS_LICENSE_FILES = COPYING-LGPL-2.1 COPYING-LGPL-2
15 GST_FSL_PLUGINS_INSTALL_STAGING = YES
16 GST_FSL_PLUGINS_AUTORECONF = YES
18 GST_FSL_PLUGINS_DEPENDENCIES += host-pkgconf gstreamer gst-plugins-base \
19 imx-lib imx-parser imx-codec
21 ifeq ($(BR2_PACKAGE_FREESCALE_IMX_HAS_VPU),y)
22 GST_FSL_PLUGINS_DEPENDENCIES += imx-vpuwrap
23 endif
25 GST_FSL_PLUGINS_CONF_ENV = \
26 PLATFORM=$(BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM) \
27 CROSS_ROOT="$(STAGING_DIR)"
29 # needs access to imx-specific kernel headers
30 GST_FSL_PLUGINS_DEPENDENCIES += linux
31 GST_FSL_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi"
33 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
34 GST_FSL_PLUGINS_DEPENDENCIES += xlib_libX11
35 GST_FSL_PLUGINS_CONF_OPTS += --enable-x11
36 else
37 GST_FSL_PLUGINS_CONF_OPTS += --disable-x11
38 endif
40 # Autoreconf requires an m4 directory to exist
41 define GST_FSL_PLUGINS_PATCH_M4
42 mkdir -p $(@D)/m4
43 endef
45 GST_FSL_PLUGINS_POST_PATCH_HOOKS += GST_FSL_PLUGINS_PATCH_M4
47 $(eval $(autotools-package))