1 ################################################################################
5 ################################################################################
7 GST1_IMX_VERSION = 0.10.1
8 GST1_IMX_SITE = $(call github,Freescale,gstreamer-imx,$(GST1_IMX_VERSION))
10 GST1_IMX_LICENSE = LGPLv2+
11 GST1_IMX_LICENSE_FILES = LICENSE
13 GST1_IMX_INSTALL_STAGING = YES
15 GST1_IMX_DEPENDENCIES += host-pkgconf host-python \
16 gpu-viv-bin-mx6q gstreamer1 gst1-plugins-base libfslvpuwrap
18 # needs access to imx-specific kernel headers
19 GST1_IMX_DEPENDENCIES += linux
20 GST1_IMX_CONF_OPTS += --prefix="/usr" \
21 --kernel-headers="$(LINUX_DIR)/include"
23 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
24 GST1_IMX_DEPENDENCIES += xlib_libX11
25 GST1_IMX_CONF_OPTS += --egl-platform=x11
27 ifeq ($(BR2_PACKAGE_WAYLAND),y)
28 GST1_IMX_DEPENDENCIES += wayland
29 GST1_IMX_CONF_OPTS += --egl-platform=wayland
31 GST1_IMX_CONF_OPTS += --egl-platform=fb
35 define GST1_IMX_CONFIGURE_CMDS
37 $(TARGET_CONFIGURE_OPTS) \
38 $(HOST_DIR)/usr/bin/python2 ./waf configure $(GST1_IMX_CONF_OPTS)
41 define GST1_IMX_BUILD_CMDS
43 $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)
46 define GST1_IMX_INSTALL_TARGET_CMDS
48 $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
52 $(eval $(generic-package))