summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Rafael Giani <crg7475@mailbox.org>2026-04-07 09:25:32 +0200
committerCarlos Rafael Giani <crg7475@mailbox.org>2026-04-07 20:28:45 +0200
commita9a4455fa6327bc3c212379d29f8863120aa6116 (patch)
treee6405884c65c9554e083a5a09c791954db8bee49
parent670d1a4f554fb17051c3e1069786666336012b47 (diff)
downloadmeta-freescale-a9a4455fa6327bc3c212379d29f8863120aa6116.tar.gz
gstreamer1.0-plugins-imx: Add accidentally deleted recipe
Commit 25c0c7d34a6031ca1d347433291ad07c2c93626e accidentally deleted the recipe, so add it again to undo this. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
new file mode 100644
index 000000000..b042adb94
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
@@ -0,0 +1,66 @@
1# Copyright (C) 2018 O.S. Systems Software LTDA.
2DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
3LICENSE = "LGPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
5SECTION = "multimedia"
6DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libimxdmabuffer"
7# add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers
8# for the uniaudio decoder, videoparsersbad for the VPU video decoder
9# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is
10# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS)
11RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
12RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers"
13RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad"
14
15PV .= "+git${SRCPV}"
16
17SRCBRANCH ?= "master"
18SRCREV = "ce4f86e60f12c56574f727f3317fa8aa30a11387"
19SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https"
20
21inherit pkgconfig meson use-imx-headers
22
23# libg2d on i.MX8 SoCs with a DPU is emulated via the DPU.
24# That particular libg2d .so depends on libdrm, however.
25# Also, due to behavioral differences, an additional flag
26# is needed to improve performance.
27LIBG2D_DPU_OPTION = "-Dg2d-based-on-dpu=false"
28LIBG2D_DEPENDENCIES = "virtual/libg2d"
29LIBG2D_DPU_OPTION:imxdpu = "-Dg2d-based-on-dpu=true"
30LIBG2D_DEPENDENCIES:imxdpu = "virtual/libg2d libdrm"
31
32# v4l2-amphion and v4l2-isi are meant for the Amphion Malone
33# VPU decoder and the ISI drivers in older kernels, which had
34# lots of bugs that required nontrivial workarounds. In the
35# kernels in this release, newer drivers are present, which
36# obviate the need for these special elements.
37EXTRA_OEMESON += "-Dimx-headers-path=${STAGING_INCDIR_IMX} -Dv4l2-amphion=disabled -Dv4l2-isi=false"
38
39PACKAGECONFIG ?= "uniaudiodec"
40PACKAGECONFIG:append:imxgpu2d = " g2d"
41PACKAGECONFIG:append:imxvpu = " vpu"
42PACKAGECONFIG:append:imxipu = " ipu"
43PACKAGECONFIG:append:imxpxp = " pxp"
44# The custom imxv4l2 source and sink elements are only
45# available on the i.MX6.
46# The 2D blitter sinks require an MXC framebuffer, which
47# is not available anymore on the i.MX8 (since these SoCs
48# now use KMS instead of the old Linux framebuffer).
49PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink"
50PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink"
51
52PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}"
53PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled,"
54PACKAGECONFIG[ipu] = "-Dipu=enabled,-Dipu=disabled,"
55PACKAGECONFIG[vpu] = "-Dvpu=enabled,-Dvpu=disabled,libimxvpuapi2"
56PACKAGECONFIG[imx2dvideosink] = "-Dimx2d-videosink=true,-Dimx2d-videosink=false,"
57PACKAGECONFIG[v4l2-mxc-source-sink] = "-Dv4l2-mxc-source-sink=true,-Dv4l2-mxc-source-sink=false,"
58PACKAGECONFIG[uniaudiodec] = "-Duniaudiodec=enabled,-Duniaudiodec=disabled,imx-codec"
59PACKAGECONFIG[mp3encoder] = "-Dmp3encoder=enabled,-Dmp3encoder=disabled,imx-codec"
60
61require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
62
63# the following line is required to produce one package for each plugin
64PACKAGES_DYNAMIC = "^${PN}-.*"
65
66COMPATIBLE_MACHINE = "(mx6dl-nxp-bsp|mx6q-nxp-bsp|mx6sl-nxp-bsp|mx6sx-nxp-bsp|mx6ul-nxp-bsp|mx6ull-nxp-bsp|mx7d-nxp-bsp|mx8-nxp-bsp)"