diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb')
-rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb new file mode 100644 index 00000000..c8bb6cd8 --- /dev/null +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb | |||
@@ -0,0 +1,84 @@ | |||
1 | # Copyright (C) 2014,2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2019 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 = "GPLv2 & LGPLv2 & LGPLv2.1" | ||
8 | SECTION = "multimedia" | ||
9 | |||
10 | DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | ||
11 | DEPENDS_append_mx6 = " imx-lib" | ||
12 | DEPENDS_append_mx7 = " imx-lib" | ||
13 | DEPENDS_append_imxvpu = " imx-vpuwrap libdrm" | ||
14 | |||
15 | # For backwards compatibility | ||
16 | RREPLACES_${PN} = "gst1.0-fsl-plugin" | ||
17 | RPROVIDES_${PN} = "gst1.0-fsl-plugin" | ||
18 | RCONFLICTS_${PN} = "gst1.0-fsl-plugin" | ||
19 | |||
20 | LIC_FILES_CHKSUM = "file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
21 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
22 | |||
23 | SRCBRANCH = "MM_04.05.07_2011_L5.4.70" | ||
24 | |||
25 | SRC_URI = " \ | ||
26 | git://source.codeaurora.org/external/imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ | ||
27 | " | ||
28 | SRCREV = "659ec4947d6b1903d26e4ec9e40ae251a659935d" | ||
29 | |||
30 | S = "${WORKDIR}/git" | ||
31 | |||
32 | inherit autotools pkgconfig use-imx-headers | ||
33 | |||
34 | PLATFORM_mx6 = "MX6" | ||
35 | PLATFORM_mx6sl = "MX6SL" | ||
36 | PLATFORM_mx6sx = "MX6SX" | ||
37 | PLATFORM_mx6ul = "MX6UL" | ||
38 | PLATFORM_mx6sll = "MX6SLL" | ||
39 | PLATFORM_mx7= "MX7D" | ||
40 | PLATFORM_mx7ulp= "MX7ULP" | ||
41 | PLATFORM_mx8 = "MX8" | ||
42 | |||
43 | # Todo add a mechanism to map possible build targets | ||
44 | EXTRA_OECONF = "PLATFORM=${PLATFORM} \ | ||
45 | CPPFLAGS="-I${STAGING_INCDIR_IMX}" \ | ||
46 | CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR} \ | ||
47 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', bb.utils.contains('DISTRO_FEATURES', 'x11', '--disable-x11', '', d), '', d)}" | ||
48 | |||
49 | PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN}-librecorder-engine ${PN}-libplayengine" | ||
50 | |||
51 | # Add codec list that the beep plugin run-time depended | ||
52 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" | ||
53 | RDEPENDS_${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " | ||
54 | |||
55 | # overlaysink rely on G2D, | ||
56 | # cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D | ||
57 | PACKAGECONFIG ?= "" | ||
58 | PACKAGECONFIG_imxgpu2d = "overlaysink" | ||
59 | |||
60 | |||
61 | # FIXME: Add all features | ||
62 | # feature from excluded mm packages | ||
63 | PACKAGECONFIG[ac3] += ",,imx-ac3codec,imx-ac3codec" | ||
64 | # feature from special mm packages | ||
65 | PACKAGECONFIG[aacp] += ",,imx-aacpcodec,imx-aacpcodec" | ||
66 | MSDEPENDS = "imx-msparser imx-mscodec" | ||
67 | PACKAGECONFIG[wma10dec] += ",,${MSDEPENDS},${MSDEPENDS}" | ||
68 | PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}" | ||
69 | OVDEPENDS = "virtual/libg2d" | ||
70 | PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink, ${OVDEPENDS}" | ||
71 | |||
72 | FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" | ||
73 | |||
74 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
75 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" | ||
76 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
77 | FILES_${PN}-gplay = "${bindir}/gplay-1.0" | ||
78 | FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}" | ||
79 | FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" | ||
80 | FILES_${PN}-grecorder = "${bindir}/grecorder-1.0" | ||
81 | FILES_${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" | ||
82 | FILES_${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" | ||
83 | |||
84 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | ||