summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb70
1 files changed, 70 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb
new file mode 100644
index 000000000..f968dbcd4
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb
@@ -0,0 +1,70 @@
1DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
2LICENSE = "LGPLv2+"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
4SECTION = "multimedia"
5# gstreamer1.0-plugins-bad is in DEPENDS because the build script scans for the
6# GstPhotography headers and libraries
7DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad virtual/kernel"
8# add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers
9# for the uniaudio decoder, videoparsersbad for the VPU video decoder
10# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is
11# build (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS)
12RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good"
13RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers"
14RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad"
15
16SRCBRANCH ?= "master"
17SRCREV = "11a7b366f211e54e0ec67c692287603a02640ff6"
18SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}"
19
20S = "${WORKDIR}/git"
21
22inherit waf
23
24do_compile[depends] += "virtual/kernel:do_shared_workdir"
25
26# configure the eglvivsink element to use the appropriate EGL platform code
27# X11 if x11 is present in DISTRO_FEATURES
28# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is
29# Framebuffer otherwise
30EGLVIVSINK_PLATFORM = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', \
31 base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
32 'fb', d),d)}"
33
34EGL_PLATFORM_CONF = "--egl-platform=${EGLVIVSINK_PLATFORM}"
35EXTRA_OECONF = "--kernel-headers=${STAGING_KERNEL_DIR}/include"
36
37EGLVIVSINK_DEPENDS = " \
38 virtual/egl virtual/libgles2 \
39 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \
40 base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
41 '', d),d)}"
42
43PACKAGECONFIG ?= ""
44PACKAGECONFIG_mx6q = "uniaudiodec mp3encoder v4l2src g2d eglvivsink ipu vpu"
45PACKAGECONFIG_mx6dl = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink ipu vpu"
46PACKAGECONFIG_mx6sx = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink"
47PACKAGECONFIG_mx6sl = "uniaudiodec mp3encoder v4l2src pxp g2d"
48PACKAGECONFIG_mx7 = "uniaudiodec mp3encoder v4l2src pxp"
49
50PACKAGECONFIG[g2d] = ",--disable-g2d,imx-gpu-viv"
51PACKAGECONFIG[pxp] = ",--disable-pxp,"
52PACKAGECONFIG[ipu] = ",--disable-ipu,"
53PACKAGECONFIG[vpu] = ",--disable-vpu,libimxvpuapi"
54PACKAGECONFIG[eglvivsink] = "${EGL_PLATFORM_CONF},--disable-eglvivsink,${EGLVIVSINK_DEPENDS}"
55PACKAGECONFIG[v4l2src] = ",--disable-v4l2src,"
56PACKAGECONFIG[uniaudiodec] = ",--disable-uniaudiodec,libfslcodec"
57PACKAGECONFIG[mp3encoder] = ",--disable-mp3encoder,libfslcodec"
58
59# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0)
60LIBV = "1.0"
61require recipes-multimedia/gstreamer/gst-plugins-package.inc
62
63# the following line is required to produce one package for each plugin
64PACKAGES_DYNAMIC = "^${PN}-.*"
65
66COMPATIBLE_MACHINE = "(mx6|mx7)"
67
68# disable the false alarm (the "it isn't a build dependency" QA warning)
69INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps"
70INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps"