diff options
Diffstat (limited to 'recipes-multimedia')
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch | 33 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb) | 6 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb) | 6 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb) | 7 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb) | 13 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | 10 |
6 files changed, 58 insertions, 17 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch new file mode 100644 index 000000000..029b80e17 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 3bc5d48257032b6bbee532aad15062fbbcc43bfe Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | ||
| 3 | Date: Mon, 27 Jan 2020 10:22:35 +0000 | ||
| 4 | Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build | ||
| 5 | |||
| 6 | When Yocto build is performed, opencv searches for data dir using simple | ||
| 7 | 'test' command, this fails because pkg-config provides an absolute | ||
| 8 | path on the target which needs to be prepended by PKG_CONFIG_SYSROOT_DIR | ||
| 9 | in order for the 'test' utility to pick up the absolute path. | ||
| 10 | |||
| 11 | Upstream-Status: Inappropriate [OE-specific] | ||
| 12 | |||
| 13 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | ||
| 14 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | ||
| 15 | |||
| 16 | --- | ||
| 17 | ext/opencv/meson.build | 3 +++ | ||
| 18 | 1 file changed, 3 insertions(+) | ||
| 19 | |||
| 20 | diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build | ||
| 21 | index 1d86b90..b5c8b95 100644 | ||
| 22 | --- a/ext/opencv/meson.build | ||
| 23 | +++ b/ext/opencv/meson.build | ||
| 24 | @@ -87,6 +87,9 @@ if opencv_found | ||
| 25 | opencv_prefix = opencv_dep.get_variable('prefix') | ||
| 26 | gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"'] | ||
| 27 | |||
| 28 | + pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() | ||
| 29 | + opencv_prefix = pkgconf_sysroot + opencv_prefix | ||
| 30 | + | ||
| 31 | # Check the data dir used by opencv for its xml data files | ||
| 32 | # Use prefix from pkg-config to be compatible with cross-compilation | ||
| 33 | r = run_command('test', '-d', opencv_prefix + '/share/opencv', check: false) | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb index 7e9e71972..01971739d 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb | |||
| @@ -178,7 +178,7 @@ FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" | |||
| 178 | 178 | ||
| 179 | DEFAULT_PREFERENCE = "-1" | 179 | DEFAULT_PREFERENCE = "-1" |
| 180 | 180 | ||
| 181 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" | 181 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" |
| 182 | 182 | ||
| 183 | DEPENDS:append:imxgpu2d = " virtual/libg2d" | 183 | DEPENDS:append:imxgpu2d = " virtual/libg2d" |
| 184 | 184 | ||
| @@ -190,8 +190,8 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plug | |||
| 190 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " | 190 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " |
| 191 | SRC_URI:append = " file://0001-autovideoconvert-add-imxvideoconvert_g2d.patch" | 191 | SRC_URI:append = " file://0001-autovideoconvert-add-imxvideoconvert_g2d.patch" |
| 192 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" | 192 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" |
| 193 | SRCBRANCH = "MM_04.09.01_2408_L6.6.y" | 193 | SRCBRANCH = "MM_04.09.02_2410_L6.6.y" |
| 194 | SRCREV = "7011fdfa6d60fb3ee1dc8545f675cfdb519203cd" | 194 | SRCREV = "bba296b75dfb3e7ae4c836255edbd2b3c085c269" |
| 195 | 195 | ||
| 196 | S = "${WORKDIR}/git" | 196 | S = "${WORKDIR}/git" |
| 197 | 197 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb index 6e7bc20eb..1f3420247 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb | |||
| @@ -118,8 +118,8 @@ SRC_URI:remove = " \ | |||
| 118 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " | 118 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " |
| 119 | 119 | ||
| 120 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" | 120 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" |
| 121 | SRCBRANCH = "MM_04.09.01_2408_L6.6.y" | 121 | SRCBRANCH = "MM_04.09.02_2410_L6.6.y" |
| 122 | SRCREV = "97b1a45e945d3784790cafd2fcc4f6cb16e739d7" | 122 | SRCREV = "1493b6719e801154003172e89b5d30280b7cb6b6" |
| 123 | 123 | ||
| 124 | S = "${WORKDIR}/git" | 124 | S = "${WORKDIR}/git" |
| 125 | 125 | ||
| @@ -135,8 +135,6 @@ PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | |||
| 135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
| 136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" | 136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" |
| 137 | 137 | ||
| 138 | # GCC-14 otherwise errors out | ||
| 139 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
| 140 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" | 138 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" |
| 141 | 139 | ||
| 142 | # links with imx-gpu libs which are pre-built for glibc | 140 | # links with imx-gpu libs which are pre-built for glibc |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb index 67dc139fa..828f7cb8a 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb | |||
| @@ -94,7 +94,7 @@ FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" | |||
| 94 | DEFAULT_PREFERENCE = "-1" | 94 | DEFAULT_PREFERENCE = "-1" |
| 95 | 95 | ||
| 96 | LIC_FILES_CHKSUM = " \ | 96 | LIC_FILES_CHKSUM = " \ |
| 97 | file://LICENSE.txt;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | 97 | file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ |
| 98 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ | 98 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ |
| 99 | " | 99 | " |
| 100 | # Enable pulsesink in gstreamer | 100 | # Enable pulsesink in gstreamer |
| @@ -111,8 +111,8 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plu | |||
| 111 | 111 | ||
| 112 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " | 112 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " |
| 113 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" | 113 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" |
| 114 | SRCBRANCH = "MM_04.09.01_2408_L6.6.y" | 114 | SRCBRANCH = "MM_04.09.02_2410_L6.6.y" |
| 115 | SRCREV = "d8727edd56536a5c39de7905f073fce61896c0af" | 115 | SRCREV = "80c60e7c86ac0f73128531fa65c01c0be10ad7d4" |
| 116 | 116 | ||
| 117 | # set 32bit compile timer for 32-bit platform | 117 | # set 32bit compile timer for 32-bit platform |
| 118 | GLIBC_64BIT_TIME_FLAGS:mx6-nxp-bsp = "" | 118 | GLIBC_64BIT_TIME_FLAGS:mx6-nxp-bsp = "" |
| @@ -125,6 +125,7 @@ CFLAGS += " \ | |||
| 125 | -Wno-error=implicit-function-declaration \ | 125 | -Wno-error=implicit-function-declaration \ |
| 126 | -Wno-error=incompatible-pointer-types \ | 126 | -Wno-error=incompatible-pointer-types \ |
| 127 | " | 127 | " |
| 128 | |||
| 128 | S = "${WORKDIR}/git" | 129 | S = "${WORKDIR}/git" |
| 129 | 130 | ||
| 130 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 131 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb index 43cb6a4a2..bd090d156 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb | |||
| @@ -92,14 +92,21 @@ LIC_FILES_CHKSUM = " \ | |||
| 92 | " | 92 | " |
| 93 | 93 | ||
| 94 | # Use i.MX fork of GST for customizations | 94 | # Use i.MX fork of GST for customizations |
| 95 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz" | 95 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ |
| 96 | file://0001-tests-respect-the-idententaion-used-in-meson.patch \ | ||
| 97 | file://0002-tests-add-support-for-install-the-tests.patch \ | ||
| 98 | file://0003-tests-use-a-dictionaries-for-environment.patch \ | ||
| 99 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ | ||
| 100 | " | ||
| 96 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " | 101 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " |
| 97 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" | 102 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" |
| 98 | SRCBRANCH = "MM_04.09.01_2408_L6.6.y" | 103 | SRCBRANCH = "MM_04.09.02_2410_L6.6.y" |
| 99 | SRCREV = "eb286c0766a4fbbae70c8e9dda074f5a90e52e42" | 104 | SRCREV = "1a8f23da16cd224574ab2386803149c76f2cb628" |
| 100 | 105 | ||
| 101 | S = "${WORKDIR}/git" | 106 | S = "${WORKDIR}/git" |
| 102 | 107 | ||
| 108 | PACKAGECONFIG[tests] = "-Dtests=enabled,-Dtests=disabled" | ||
| 109 | |||
| 103 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 110 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
| 104 | 111 | ||
| 105 | ########### End of i.MX overrides ######### | 112 | ########### End of i.MX overrides ######### |
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index 53c5106cf..432338e50 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
| @@ -28,17 +28,19 @@ DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" | |||
| 28 | DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" | 28 | DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" |
| 29 | DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" | 29 | DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" |
| 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" | 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" |
| 31 | DEPENDS_IMX_OPENCL_CONVERTER:mx95-nxp-bsp = "imx-opencl-converter" | ||
| 31 | 32 | ||
| 32 | # For backwards compatibility | 33 | # For backwards compatibility |
| 33 | RREPLACES:${PN} = "gst1.0-fsl-plugin" | 34 | RREPLACES:${PN} = "gst1.0-fsl-plugin" |
| 34 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" | 35 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" |
| 35 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" | 36 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" |
| 36 | 37 | ||
| 37 | PV = "4.9.1+git${SRCPV}" | 38 | PV = "4.9.2+git${SRCPV}" |
| 38 | 39 | ||
| 39 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" | 40 | SRC_URI = "${IMXGST_SRC};branch=${SRCBRANCH}" |
| 40 | SRCBRANCH = "MM_04.09.01_2408_L6.6.y" | 41 | IMXGST_SRC ?= "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https" |
| 41 | SRCREV = "87135d5f084b6c61efa6671cddc3a5509ab11640" | 42 | SRCBRANCH = "MM_04.09.02_2410_L6.6.y" |
| 43 | SRCREV = "ef9c1a080e739e6f0be878148d9f4a050dc83bec" | ||
| 42 | 44 | ||
| 43 | S = "${WORKDIR}/git" | 45 | S = "${WORKDIR}/git" |
| 44 | 46 | ||
