diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb')
-rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb new file mode 100644 index 00000000..cdd5d848 --- /dev/null +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
@@ -0,0 +1,85 @@ | |||
1 | # Copyright (C) 2014,2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2021 NXP | ||
3 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | ||
4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
5 | |||
6 | DESCRIPTION = "Gstreamer freescale plugins" | ||
7 | LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" | ||
8 | SECTION = "multimedia" | ||
9 | |||
10 | DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | ||
11 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" | ||
12 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | ||
13 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" | ||
14 | DEPENDS:append:mx9-nxp-bsp = " imx-lib" | ||
15 | DEPENDS:append:imxvpu = " imx-vpuwrap" | ||
16 | DEPENDS:append:imxfbdev:imxgpu = " libdrm" | ||
17 | |||
18 | # For backwards compatibility | ||
19 | RREPLACES:${PN} = "gst1.0-fsl-plugin" | ||
20 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" | ||
21 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" | ||
22 | |||
23 | LIC_FILES_CHKSUM = "file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
24 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
25 | |||
26 | PV = "4.7.2+git${SRCPV}" | ||
27 | |||
28 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" | ||
29 | SRCBRANCH = "MM_04.07.02_2210_L5.15.y" | ||
30 | SRCREV = "3a0250b983f2610e6936d10c63b45e2d39eadd7e" | ||
31 | |||
32 | S = "${WORKDIR}/git" | ||
33 | |||
34 | inherit meson pkgconfig use-imx-headers | ||
35 | |||
36 | PLATFORM:mx6-nxp-bsp = "MX6" | ||
37 | PLATFORM:mx6sl-nxp-bsp = "MX6SL" | ||
38 | PLATFORM:mx6sx-nxp-bsp = "MX6SX" | ||
39 | PLATFORM:mx6ul-nxp-bsp = "MX6UL" | ||
40 | PLATFORM:mx6sll-nxp-bsp = "MX6SLL" | ||
41 | PLATFORM:mx7-nxp-bsp= "MX7D" | ||
42 | PLATFORM:mx7ulp-nxp-bsp= "MX7ULP" | ||
43 | PLATFORM:mx8-nxp-bsp = "MX8" | ||
44 | PLATFORM:mx9-nxp-bsp = "MX9" | ||
45 | |||
46 | # Todo add a mechanism to map possible build targets | ||
47 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ | ||
48 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ | ||
49 | " | ||
50 | |||
51 | PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN}-librecorder-engine ${PN}-libplayengine" | ||
52 | |||
53 | # Add codec list that the beep plugin run-time depended | ||
54 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" | ||
55 | RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " | ||
56 | RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp" | ||
57 | RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp" | ||
58 | RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp" | ||
59 | RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp" | ||
60 | RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp" | ||
61 | |||
62 | PACKAGECONFIG ?= "" | ||
63 | |||
64 | # FIXME: Add all features | ||
65 | # feature from excluded mm packages | ||
66 | PACKAGECONFIG[ac3] = ",,imx-ac3codec,imx-ac3codec" | ||
67 | # feature from special mm packages | ||
68 | PACKAGECONFIG[aacp] = ",,imx-aacpcodec,imx-aacpcodec" | ||
69 | MSDEPENDS = "imx-msparser imx-mscodec" | ||
70 | PACKAGECONFIG[wma10dec] = ",,${MSDEPENDS},${MSDEPENDS}" | ||
71 | PACKAGECONFIG[wma8enc] = ",,${MSDEPENDS},${MSDEPENDS}" | ||
72 | |||
73 | FILES:${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" | ||
74 | |||
75 | FILES:${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
76 | FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" | ||
77 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
78 | FILES:${PN}-gplay = "${bindir}/gplay-1.0" | ||
79 | FILES:${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}" | ||
80 | FILES:${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" | ||
81 | FILES:${PN}-grecorder = "${bindir}/grecorder-1.0" | ||
82 | FILES:${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" | ||
83 | FILES:${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" | ||
84 | |||
85 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||