The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gstreamer1 / gst1-imx / gst1-imx.mk
1 ################################################################################
2 #
3 # gst1-imx
4 #
5 ################################################################################
6
7 GST1_IMX_VERSION = 0.10.1
8 GST1_IMX_SITE = $(call github,Freescale,gstreamer-imx,$(GST1_IMX_VERSION))
9
10 GST1_IMX_LICENSE = LGPLv2+
11 GST1_IMX_LICENSE_FILES = LICENSE
12
13 GST1_IMX_INSTALL_STAGING = YES
14
15 GST1_IMX_DEPENDENCIES += host-pkgconf host-python \
16         gpu-viv-bin-mx6q gstreamer1 gst1-plugins-base libfslvpuwrap
17
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"
22
23 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
24 GST1_IMX_DEPENDENCIES += xlib_libX11
25 GST1_IMX_CONF_OPTS += --egl-platform=x11
26 else
27 ifeq ($(BR2_PACKAGE_WAYLAND),y)
28 GST1_IMX_DEPENDENCIES += wayland
29 GST1_IMX_CONF_OPTS += --egl-platform=wayland
30 else
31 GST1_IMX_CONF_OPTS += --egl-platform=fb
32 endif
33 endif
34
35 define GST1_IMX_CONFIGURE_CMDS
36         cd $(@D); \
37                 $(TARGET_CONFIGURE_OPTS) \
38                 $(HOST_DIR)/usr/bin/python2 ./waf configure $(GST1_IMX_CONF_OPTS)
39 endef
40
41 define GST1_IMX_BUILD_CMDS
42         cd $(@D); \
43                 $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)
44 endef
45
46 define GST1_IMX_INSTALL_TARGET_CMDS
47         cd $(@D); \
48                 $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
49                 install
50 endef
51
52 $(eval $(generic-package))