diff options
Diffstat (limited to 'recipes-multimedia')
33 files changed, 205 insertions, 230 deletions
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb index 7ad815b16..d38e97e8f 100644 --- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb +++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright 2013-2016 Freescale Semiconductor | 1 | # Copyright 2013-2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Freescale alsa-lib plugins" | 5 | DESCRIPTION = "Freescale alsa-lib plugins" |
| @@ -20,10 +20,8 @@ inherit autotools pkgconfig use-imx-headers | |||
| 20 | PV = "1.0.26+${SRCPV}" | 20 | PV = "1.0.26+${SRCPV}" |
| 21 | 21 | ||
| 22 | SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" | 22 | SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" |
| 23 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 23 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 24 | SRCREV = "eaf0900662d6381bcc433165219280cca1752890" | 24 | SRCREV = "40e45c8023f95c06c4ea10185ca85db7eb2dfcd8" |
| 25 | |||
| 26 | S = "${WORKDIR}/git" | ||
| 27 | 25 | ||
| 28 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" | 26 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" |
| 29 | 27 | ||
diff --git a/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch b/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch index c0e458135..b596f2ef9 100644 --- a/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch +++ b/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 73b1002eda17451db1f58431b42c25203f1d3097 Mon Sep 17 00:00:00 2001 | 1 | From 67809420230cd4fcc63069f78efdc90c7b4c4ee1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 | 3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 |
| 4 | Subject: [PATCH] connect has a different signature on musl | 4 | Subject: [PATCH] connect has a different signature on musl |
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb index 9f7f890d5..9a619f5a0 100644 --- a/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb | |||
| @@ -6,13 +6,13 @@ SECTION = "multimedia" | |||
| 6 | LICENSE = "LGPL-2.1-or-later" | 6 | LICENSE = "LGPL-2.1-or-later" |
| 7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | 7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/gst-devtools-1.22.5" | 9 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${@get_gst_ver("${PV}")}.tar.xz \ |
| 10 | |||
| 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.5.tar.xz \ | ||
| 12 | file://0001-connect-has-a-different-signature-on-musl.patch \ | 10 | file://0001-connect-has-a-different-signature-on-musl.patch \ |
| 13 | " | 11 | " |
| 14 | 12 | ||
| 15 | SRC_URI[sha256sum] = "2add1519aa6eeb01d544cb94293688ee3bc2079f6bca6075bf5c23d00a0921be" | 13 | S = "${UNPACKDIR}/gst-devtools-${@get_gst_ver("${PV}")}" |
| 14 | |||
| 15 | SRC_URI[sha256sum] = "eff33d7dc292bb074a2788ea887b6283398ffdefafa49fb7d08efe6658a65648" | ||
| 16 | 16 | ||
| 17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | 17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" |
| 18 | RRECOMMENDS:${PN} = "git" | 18 | RRECOMMENDS:${PN} = "git" |
| @@ -40,6 +40,9 @@ EXTRA_OEMESON += " \ | |||
| 40 | -Dvalidate=enabled \ | 40 | -Dvalidate=enabled \ |
| 41 | ${@gettext_oemeson(d)} \ | 41 | ${@gettext_oemeson(d)} \ |
| 42 | " | 42 | " |
| 43 | # Drop .imx from PV | ||
| 44 | def get_gst_ver(v): | ||
| 45 | return oe.utils.trim_version(v, 3) | ||
| 43 | 46 | ||
| 44 | do_install:append () { | 47 | do_install:append () { |
| 45 | for fn in ${bindir}/gst-validate-launcher \ | 48 | for fn in ${bindir}/gst-validate-launcher \ |
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb index 3830846b3..9db0051a1 100644 --- a/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb | |||
| @@ -17,7 +17,7 @@ SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;b | |||
| 17 | 17 | ||
| 18 | SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2" | 18 | SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2" |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git/subprojects/gst-examples" | 20 | S = "${UNPACKDIR}/${BP}/subprojects/gst-examples" |
| 21 | 21 | ||
| 22 | inherit meson pkgconfig features_check | 22 | inherit meson pkgconfig features_check |
| 23 | 23 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/ffmpeg-6.0.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/ffmpeg-6.0.patch deleted file mode 100644 index 0a06540fb..000000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/ffmpeg-6.0.patch +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | From cde31d23c071ee93fae96331805f696856084254 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "U. Artie Eoff" <ullysses.a.eoff@intel.com> | ||
| 3 | Date: Mon, 13 Feb 2023 17:02:01 -0500 | ||
| 4 | Subject: [PATCH] avviddec: change | ||
| 5 | AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS | ||
| 6 | |||
| 7 | This fixes a compile error with recent upstream FFmpeg. | ||
| 8 | |||
| 9 | The AV_CODEC_CAP_AUTO_THREADS was deprecated and renamed to | ||
| 10 | AV_CODEC_CAP_OTHER_THREADS in FFmpeg upstream commit | ||
| 11 | 7d09579190de (lavc 58.132.100). | ||
| 12 | |||
| 13 | The AV_CODEC_CAP_AUTO_THREADS was finally removed in FFmpeg upstream | ||
| 14 | commit 10c9a0874cb3 (lavc 59.63.100). | ||
| 15 | |||
| 16 | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3964> | ||
| 17 | |||
| 18 | Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/cde31d23c071ee93fae96331805f696856084254?merge_request_iid=3964] | ||
| 19 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 20 | --- | ||
| 21 | ext/libav/gstavviddec.c | 6 +++++- | ||
| 22 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
| 23 | |||
| 24 | diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c | ||
| 25 | index 43cea456ae8..6d7c4cd0de8 100644 | ||
| 26 | --- a/ext/libav/gstavviddec.c | ||
| 27 | +++ b/ext/libav/gstavviddec.c | ||
| 28 | @@ -35,6 +35,10 @@ | ||
| 29 | |||
| 30 | GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE); | ||
| 31 | |||
| 32 | +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,132,100) | ||
| 33 | +#define AV_CODEC_CAP_OTHER_THREADS AV_CODEC_CAP_AUTO_THREADS | ||
| 34 | +#endif | ||
| 35 | + | ||
| 36 | #define GST_FFMPEG_VIDEO_CODEC_FRAME_FLAG_ALLOCATED (1<<15) | ||
| 37 | |||
| 38 | #define MAX_TS_MASK 0xff | ||
| 39 | @@ -615,7 +619,7 @@ gst_ffmpegviddec_set_format (GstVideoDecoder * decoder, | ||
| 40 | if (ffmpegdec->max_threads == 0) { | ||
| 41 | /* When thread type is FF_THREAD_FRAME, extra latency is introduced equal | ||
| 42 | * to one frame per thread. We thus need to calculate the thread count ourselves */ | ||
| 43 | - if ((!(oclass->in_plugin->capabilities & AV_CODEC_CAP_AUTO_THREADS)) || | ||
| 44 | + if ((!(oclass->in_plugin->capabilities & AV_CODEC_CAP_OTHER_THREADS)) || | ||
| 45 | (ffmpegdec->context->thread_type & FF_THREAD_FRAME)) | ||
| 46 | ffmpegdec->context->thread_count = | ||
| 47 | MIN (gst_ffmpeg_auto_max_threads (), 16); | ||
| 48 | -- | ||
| 49 | GitLab | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb index accca06ab..138398d85 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb | |||
| @@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | |||
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${@get_gst_ver('${PV}')}.tar.xz" | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${@get_gst_ver('${PV}')}.tar.xz" |
| 15 | SRC_URI[sha256sum] = "c3e4179ba183c2d3101edf87ff70dd07e728c766a5fee34e6ecded76ca5802df" | 15 | SRC_URI[sha256sum] = "707a8b687ff5fddcee5b02415e2ec9b71b4ac44d0b7aec3b477364ceecbf1ecf" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/gst-libav-${@get_gst_ver('${PV}')}" | 17 | S = "${UNPACKDIR}/gst-libav-${@get_gst_ver('${PV}')}" |
| 18 | 18 | ||
| 19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | 19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" |
| 20 | 20 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.imx.bb index 7f5cd0b3d..1c4ee72d0 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.imx.bb | |||
| @@ -187,10 +187,10 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plug | |||
| 187 | " | 187 | " |
| 188 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " | 188 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " |
| 189 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" | 189 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" |
| 190 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 190 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 191 | SRCREV = "7bb1254fcb0a0dcb1ecb4ac21efbc5068151943d" | 191 | SRCREV = "4320364e6be53cae81ac2bca3ce0e09cf8707590" |
| 192 | 192 | ||
| 193 | S = "${WORKDIR}/git" | 193 | S = "${UNPACKDIR}/${BP}" |
| 194 | 194 | ||
| 195 | inherit use-imx-headers | 195 | inherit use-imx-headers |
| 196 | 196 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bb index 6859d26b5..5c2492638 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bb | |||
| @@ -118,10 +118,10 @@ 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.03_2412_L6.12.y" | 121 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 122 | SRCREV = "858ae5a1fb2bd2692ca7ebbd5bde2eee14e1842d" | 122 | SRCREV = "bbe6aa6f5b666fda0b172c3e1f417c7eadb16549" |
| 123 | 123 | ||
| 124 | S = "${WORKDIR}/git" | 124 | S = "${UNPACKDIR}/${BP}" |
| 125 | 125 | ||
| 126 | inherit use-imx-headers | 126 | inherit use-imx-headers |
| 127 | 127 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bbappend index 528d7e1a3..528d7e1a3 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bbappend | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.imx.bb index 933adb5ef..7c921d97c 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.imx.bb | |||
| @@ -111,10 +111,10 @@ 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.03_2412_L6.12.y" | 114 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 115 | SRCREV = "626a972e9ef448f1017cfad07a3486a0fb340a0d" | 115 | SRCREV = "6a0df1aee0ef2477dbacedd79df08c5bcb648e55" |
| 116 | 116 | ||
| 117 | S = "${WORKDIR}/git" | 117 | S = "${UNPACKDIR}/${BP}" |
| 118 | 118 | ||
| 119 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 119 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
| 120 | 120 | ||
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 index f09a5bc77..cc2cedfd5 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb | |||
| @@ -18,8 +18,6 @@ SRCBRANCH ?= "master" | |||
| 18 | SRCREV = "ce4f86e60f12c56574f727f3317fa8aa30a11387" | 18 | SRCREV = "ce4f86e60f12c56574f727f3317fa8aa30a11387" |
| 19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" | 19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | inherit pkgconfig meson use-imx-headers | 21 | inherit pkgconfig meson use-imx-headers |
| 24 | 22 | ||
| 25 | # libg2d on i.MX8 SoCs with a DPU is emulated via the DPU. | 23 | # libg2d on i.MX8 SoCs with a DPU is emulated via the DPU. |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bb index 55bb975b4..1f5956ab4 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bb | |||
| @@ -14,9 +14,9 @@ LICENSE_FLAGS = "commercial" | |||
| 14 | SRC_URI = " \ | 14 | SRC_URI = " \ |
| 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${@get_gst_ver("${PV}")}.tar.xz \ | 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${@get_gst_ver("${PV}")}.tar.xz \ |
| 16 | " | 16 | " |
| 17 | SRC_URI[sha256sum] = "c5d1cbdf71ab0c675bca236f70edfa1feb3f813fd4bfff563308f466d8805ca5" | 17 | SRC_URI[sha256sum] = "a86b51c8454a813120848c803421f327d8c07aabcae461e0597cc49398c0fcde" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/gst-plugins-ugly-${@get_gst_ver("${PV}")}" | 19 | S = "${UNPACKDIR}/gst-plugins-ugly-${@get_gst_ver("${PV}")}" |
| 20 | 20 | ||
| 21 | DEPENDS += "gstreamer1.0-plugins-base" | 21 | DEPENDS += "gstreamer1.0-plugins-base" |
| 22 | 22 | ||
| @@ -43,6 +43,7 @@ EXTRA_OEMESON += " \ | |||
| 43 | def get_gst_ver(v): | 43 | def get_gst_ver(v): |
| 44 | return oe.utils.trim_version(v, 3) | 44 | return oe.utils.trim_version(v, 3) |
| 45 | 45 | ||
| 46 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" | ||
| 46 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" | 47 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" |
| 47 | 48 | ||
| 48 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 49 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bbappend new file mode 100644 index 000000000..ea144b396 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bbappend | |||
| @@ -0,0 +1 @@ | |||
| PACKAGECONFIG:remove = "a52dec mpeg2dec" | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch b/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch deleted file mode 100644 index fd6b1c16e..000000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | From 8d7e2eaed10e2928358805f613223a6a149790d6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hiago De Franco <hiago.franco@toradex.com> | ||
| 3 | Date: Wed, 31 Jul 2024 11:51:06 -0300 | ||
| 4 | Subject: [PATCH] meson.build: Fix missing python_opt | ||
| 5 | |||
| 6 | 'python_opt' was not declared earlier, giving the following build error: | ||
| 7 | |||
| 8 | | Message: python_abi_flags = | ||
| 9 | | | ||
| 10 | | ../gst-python-1.24.0/meson.build:84:16: ERROR: Unknown variable "python_opt". | ||
| 11 | |||
| 12 | Remove it and keep the error message. | ||
| 13 | |||
| 14 | Upstream-Status: Inappropriate [oe specific] | ||
| 15 | |||
| 16 | The patch already exists upstream, but this is related to another fix [1] | ||
| 17 | not suitable for OE. Moreover, the backport does not apply since | ||
| 18 | the patch was added to the gstreamer monorepo. | ||
| 19 | |||
| 20 | [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6734? | ||
| 21 | |||
| 22 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> | ||
| 23 | --- | ||
| 24 | meson.build | 7 +------ | ||
| 25 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
| 26 | |||
| 27 | diff --git a/meson.build b/meson.build | ||
| 28 | index f240b6fd8aca..53f7a43702c7 100644 | ||
| 29 | --- a/meson.build | ||
| 30 | +++ b/meson.build | ||
| 31 | @@ -80,12 +80,7 @@ foreach loc: pylib_locs | ||
| 32 | endforeach | ||
| 33 | endforeach | ||
| 34 | if pylib_fname == '' | ||
| 35 | - error_msg = 'Could not find python library to load' | ||
| 36 | - if python_opt.enabled() | ||
| 37 | - error(error_msg) | ||
| 38 | - else | ||
| 39 | - message(error_msg) | ||
| 40 | - endif | ||
| 41 | + message('Could not find python library to load') | ||
| 42 | endif | ||
| 43 | |||
| 44 | pygi_override_dir = get_option('pygi-overrides-dir') | ||
| 45 | -- | ||
| 46 | 2.39.2 | ||
| 47 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb index 0ba9a1aea..388ee81e6 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb | |||
| @@ -7,18 +7,17 @@ SECTION = "multimedia" | |||
| 7 | LICENSE = "LGPL-2.1-or-later" | 7 | LICENSE = "LGPL-2.1-or-later" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" |
| 9 | 9 | ||
| 10 | SRC_URI = "\ | 10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" |
| 11 | https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz \ | 11 | SRC_URI[sha256sum] = "e5046a05d77abb15671ad01cd1908d17d62e5a06f5d7841be4342ade2a3fb8db" |
| 12 | file://0001-meson.build-Fix-missing-python_opt.patch \ | ||
| 13 | " | ||
| 14 | SRC_URI[sha256sum] = "041c2255c1ea9936c777dcb08a36ecaa6a24a69a12fc46ef53f1530d46c59f9d" | ||
| 15 | 12 | ||
| 16 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
| 14 | DEPENDS:append = " gstreamer1.0-plugins-bad" | ||
| 15 | |||
| 17 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 16 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
| 18 | 17 | ||
| 19 | PNREAL = "gst-python" | 18 | PNREAL = "gst-python" |
| 20 | 19 | ||
| 21 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}" | 20 | S = "${UNPACKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}" |
| 22 | 21 | ||
| 23 | EXTRA_OEMESON += "\ | 22 | EXTRA_OEMESON += "\ |
| 24 | -Dtests=disabled \ | 23 | -Dtests=disabled \ |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.imx.bb index c866d2332..b5dd9a322 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.imx.bb | |||
| @@ -10,9 +10,9 @@ PNREAL = "gst-rtsp-server" | |||
| 10 | 10 | ||
| 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" | 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" |
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "5b0fa6b12ba95b1d336a4b274cbe19e982aa3e6819f1d97bfd8e0102b103ed9b" | 13 | SRC_URI[sha256sum] = "e983c039496e3f75e39696554ce74db4120e2465de17aa1cc37160568e9b40bc" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver("${PV}")}" | 15 | S = "${UNPACKDIR}/${PNREAL}-${@get_gst_ver("${PV}")}" |
| 16 | 16 | ||
| 17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | 17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection |
| 18 | 18 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.imx.bb index dde7b5b1d..1d83ca031 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.imx.bb | |||
| @@ -9,11 +9,11 @@ REALPN = "gstreamer-vaapi" | |||
| 9 | LICENSE = "LGPL-2.1-or-later" | 9 | LICENSE = "LGPL-2.1-or-later" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | 10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
| 11 | 11 | ||
| 12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-1.24.0.tar.xz" | 12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${@get_gst_ver("${PV}")}.tar.xz" |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "6b1f3b91ca65dedc67dc67a25dc1d1e464f11825a27ab9c7ac7c1bda67f03596" | 14 | SRC_URI[sha256sum] = "573931d455f5a96f63db7c8d35d51322b8d287816e8c6a77d84cfbb9fa1351f1" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/${REALPN}-${@get_gst_ver('${PV}')}" | 16 | S = "${UNPACKDIR}/${REALPN}-${@get_gst_ver('${PV}')}" |
| 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" |
| 18 | 18 | ||
| 19 | inherit meson pkgconfig features_check upstream-version-is-even | 19 | inherit meson pkgconfig features_check upstream-version-is-even |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.imx.bb index 8daeed667..5b315ed7f 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.imx.bb | |||
| @@ -87,7 +87,7 @@ PTEST_BUILD_HOST_FILES = "" | |||
| 87 | DEFAULT_PREFERENCE = "-1" | 87 | DEFAULT_PREFERENCE = "-1" |
| 88 | 88 | ||
| 89 | LIC_FILES_CHKSUM = " \ | 89 | LIC_FILES_CHKSUM = " \ |
| 90 | file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ | 90 | file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ |
| 91 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ | 91 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ |
| 92 | " | 92 | " |
| 93 | 93 | ||
| @@ -100,10 +100,10 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV | |||
| 100 | " | 100 | " |
| 101 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " | 101 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " |
| 102 | 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" |
| 103 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 103 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 104 | SRCREV = "e0d37a7d773a502956f54eced8cd701ec7fa5ff5" | 104 | SRCREV = "dba94b66ed28cc6537608a68c31c8be52f6f53a5" |
| 105 | 105 | ||
| 106 | S = "${WORKDIR}/git" | 106 | S = "${UNPACKDIR}/${BP}" |
| 107 | 107 | ||
| 108 | PACKAGECONFIG[tests] = "-Dtests=enabled,-Dtests=disabled" | 108 | PACKAGECONFIG[tests] = "-Dtests=enabled,-Dtests=disabled" |
| 109 | 109 | ||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch new file mode 100644 index 000000000..cb314b38d --- /dev/null +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From b88aec4d7a8c8993c8c75f002a1f2af1635337d1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Sat, 9 Aug 2025 08:20:50 +0000 | ||
| 4 | Subject: [PATCH] gplay2: fix termio.h no longer existing | ||
| 5 | |||
| 6 | glibc 2.42 removed the long deprecated termio.h header which | ||
| 7 | in 2.41 only included termios.h and sys/ioctl.h. [1] | ||
| 8 | |||
| 9 | Replacing it with sys/ioctl.h seems to provide all the needed | ||
| 10 | declaration for successfully compiling. | ||
| 11 | |||
| 12 | [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS#l91 | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 16 | --- | ||
| 17 | tools/gplay2/gplay2.c | 2 +- | ||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/tools/gplay2/gplay2.c b/tools/gplay2/gplay2.c | ||
| 21 | index 9e406b9ea8c7..98b3ee5cf666 100755 | ||
| 22 | --- a/tools/gplay2/gplay2.c | ||
| 23 | +++ b/tools/gplay2/gplay2.c | ||
| 24 | @@ -26,7 +26,7 @@ | ||
| 25 | */ | ||
| 26 | |||
| 27 | |||
| 28 | -#include <termio.h> | ||
| 29 | +#include <sys/ioctl.h> | ||
| 30 | #include <unistd.h> | ||
| 31 | #include <pthread.h> | ||
| 32 | #include <stdio.h> | ||
| 33 | -- | ||
| 34 | 2.42.0 | ||
| 35 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index a96b5b31a..2ba8fdd1d 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
| @@ -27,22 +27,21 @@ DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}" | |||
| 27 | DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" | 27 | 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:mx8-nxp-bsp = "imx-opencl-converter" | ||
| 31 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" | 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" |
| 32 | DEPENDS_IMX_OPENCL_CONVERTER:mx95-nxp-bsp = "imx-opencl-converter" | ||
| 33 | 31 | ||
| 34 | # For backwards compatibility | 32 | # For backwards compatibility |
| 35 | RREPLACES:${PN} = "gst1.0-fsl-plugin" | 33 | RREPLACES:${PN} = "gst1.0-fsl-plugin" |
| 36 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" | 34 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" |
| 37 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" | 35 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" |
| 38 | 36 | ||
| 39 | PV = "4.9.3+git${SRCPV}" | 37 | PV = "4.10.0+git${SRCPV}" |
| 40 | 38 | ||
| 41 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" | 39 | SRC_URI = " \ |
| 42 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 40 | git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ |
| 43 | SRCREV = "370510ef8137874339df18a2a35ec1d04d98fa0b" | 41 | file://0001-gplay2-fix-termio.h-no-longer-existing.patch \ |
| 44 | 42 | " | |
| 45 | S = "${WORKDIR}/git" | 43 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 44 | SRCREV = "6861aec99901375f5ebcd5170ce1f5232cd38fd6" | ||
| 46 | 45 | ||
| 47 | inherit meson pkgconfig use-imx-headers | 46 | inherit meson pkgconfig use-imx-headers |
| 48 | 47 | ||
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.9.3.bb b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb index b435dacd1..6a5c2c32c 100644 --- a/recipes-multimedia/imx-codec/imx-codec_4.9.3.bb +++ b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb | |||
| @@ -1,23 +1,23 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2024 NXP | 2 | # Copyright (C) 2017-2025 NXP |
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | DESCRIPTION = "Freescale Multimedia codec libs" | 6 | DESCRIPTION = "Freescale Multimedia codec libs" |
| 7 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 8 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 10 | 10 | ||
| 11 | # Backward compatibility | 11 | # Backward compatibility |
| 12 | PROVIDES += "libfslcodec" | 12 | PROVIDES += "libfslcodec" |
| 13 | 13 | ||
| 14 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 14 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 15 | SRC_URI[sha256sum] = "61b40623e1c2322f1ba85da57ab6949f749d02b3b5cbc2b1ef583a99b59e8968" | 15 | SRC_URI[sha256sum] = "82242219e0d3536aeff31d9c215543bfe5541540bdb4fa8d61e83067b015e31f" |
| 16 | IMX_SRCREV_ABBREV = "394336b" | 16 | IMX_SRCREV_ABBREV = "464e9d8" |
| 17 | 17 | ||
| 18 | inherit fsl-eula-unpack autotools pkgconfig | 18 | inherit fsl-eula-unpack autotools pkgconfig |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 20 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 21 | 21 | ||
| 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" | 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" |
| 23 | # Support Chips&Media VPU only | 23 | # Support Chips&Media VPU only |
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb index 4e42110b5..96656f85b 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb | |||
| @@ -9,7 +9,7 @@ inherit fsl-eula-unpack autotools pkgconfig | |||
| 9 | IMX_SRCREV_ABBREV = "ea4fe3f" | 9 | IMX_SRCREV_ABBREV = "ea4fe3f" |
| 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 12 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" | 14 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" |
| 15 | 15 | ||
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb deleted file mode 100644 index 9655b1f7d..000000000 --- a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | # Copyright 2019 NXP | ||
| 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" | ||
| 3 | LICENSE = "Proprietary" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=72c0f70181bb6e83eee6aab8de12a9f3" | ||
| 6 | |||
| 7 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "e79cbf4788a86a0068bbe80c37317e3332ae76e3d5c3ff2eabd71f03121fab6a" | ||
| 10 | |||
| 11 | inherit fsl-eula-unpack autotools pkgconfig | ||
| 12 | |||
| 13 | EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" | ||
| 14 | |||
| 15 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 16 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 18 | |||
| 19 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" | ||
| 20 | |||
| 21 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb new file mode 100644 index 000000000..9cf4fa968 --- /dev/null +++ b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Copyright 2019, 2025 NXP | ||
| 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" | ||
| 3 | LICENSE = "Proprietary" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 6 | |||
| 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 8 | |||
| 9 | IMX_SRCREV_ABBREV = "ce4ae5a" | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "6382e46e5c60c844fc6a7a05876e19eed690c587300337624c66fa9cb20a3b7c" | ||
| 12 | |||
| 13 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 14 | |||
| 15 | inherit fsl-eula-unpack autotools pkgconfig | ||
| 16 | |||
| 17 | EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" | ||
| 18 | |||
| 19 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 20 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 21 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 22 | |||
| 23 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" | ||
| 24 | |||
| 25 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.8.0.bb index 07ea662cc..cf4e4d182 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.8.0.bb | |||
| @@ -1,16 +1,16 @@ | |||
| 1 | # Copyright 2023-2024 NXP | 1 | # Copyright 2023-2025 NXP |
| 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" | 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" |
| 3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
| 4 | SECTION = "multimedia" | 4 | SECTION = "multimedia" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | DEPENDS = "virtual/opencl-icd" | 6 | DEPENDS = "virtual/libopencl1" |
| 7 | 7 | ||
| 8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 9 | IMX_SRCREV_ABBREV = "ad0094a" | 9 | IMX_SRCREV_ABBREV = "b81b785" |
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "d23ad4234f34ffcfb37d77c91345b935894937913a68995223d2f9f421eade46" | 11 | SRC_URI[sha256sum] = "a4dee08d5949d41cb9c61d44ce0b5a055b9416129216f9d36d0bc6d9e512ab64" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 13 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 14 | inherit fsl-eula-unpack autotools pkgconfig meson | 14 | inherit fsl-eula-unpack autotools pkgconfig meson |
| 15 | 15 | ||
| 16 | FILES:${PN} += "${datadir}/" | 16 | FILES:${PN} += "${datadir}/" |
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.9.3.bb b/recipes-multimedia/imx-parser/imx-parser_4.10.0.bb index 15df0aebd..60add6e33 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.9.3.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.10.0.bb | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | DESCRIPTION = "Freescale Multimedia parser libs" | 5 | DESCRIPTION = "Freescale Multimedia parser libs" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 9 | 9 | ||
| 10 | # For backwards compatibility | 10 | # For backwards compatibility |
| 11 | PROVIDES += "libfslparser" | 11 | PROVIDES += "libfslparser" |
| @@ -14,10 +14,10 @@ RPROVIDES:${PN} = "libfslparser" | |||
| 14 | RCONFLICTS:${PN} = "libfslparser" | 14 | RCONFLICTS:${PN} = "libfslparser" |
| 15 | 15 | ||
| 16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 17 | IMX_SRCREV_ABBREV = "c296eb2" | 17 | IMX_SRCREV_ABBREV = "e8a7ec7" |
| 18 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 19 | 19 | ||
| 20 | SRC_URI[sha256sum] = "997a7f79f291ef4b3c8dd3ba6f2f32c430c63feb4bb29d923f71da0d1ccf20a9" | 20 | SRC_URI[sha256sum] = "90b4b7f7c3cffc9d57774dbb06e37d810a2618e059f30244e1b4155fb9bc82d5" |
| 21 | 21 | ||
| 22 | inherit fsl-eula-unpack autotools pkgconfig | 22 | inherit fsl-eula-unpack autotools pkgconfig |
| 23 | 23 | ||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch deleted file mode 100644 index 74ea5206c..000000000 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From a3c2f61649afd05e4bab457370f0b32d7644505c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Mon, 3 Mar 2025 08:24:51 +0000 | ||
| 4 | Subject: [PATCH] vpu_wrapper_hantro_encoder: fix missing include | ||
| 5 | |||
| 6 | gettimeofday is declared in sys/time.h. Add the include. | ||
| 7 | |||
| 8 | Fixes the build error: | ||
| 9 | | ../git/vpu_wrapper_hantro_encoder.c:953:3: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] | ||
| 10 | | 953 | gettimeofday (&pObj->tvEnd, NULL); | ||
| 11 | |||
| 12 | Upstream-Status: Pending | ||
| 13 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 14 | --- | ||
| 15 | vpu_wrapper_hantro_encoder.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/vpu_wrapper_hantro_encoder.c b/vpu_wrapper_hantro_encoder.c | ||
| 19 | index 3819c389320c..a0bdb2f4f6c0 100755 | ||
| 20 | --- a/vpu_wrapper_hantro_encoder.c | ||
| 21 | +++ b/vpu_wrapper_hantro_encoder.c | ||
| 22 | @@ -25,6 +25,7 @@ | ||
| 23 | #include <string.h> | ||
| 24 | #include <time.h> | ||
| 25 | #include <semaphore.h> | ||
| 26 | +#include <sys/time.h> | ||
| 27 | |||
| 28 | #include "headers/OMX_Video.h" | ||
| 29 | #include "headers/OMX_VideoExt.h" | ||
| 30 | -- | ||
| 31 | 2.42.0 | ||
| 32 | |||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index 98e9ea4de..1ad735152 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | |||
| @@ -1,23 +1,18 @@ | |||
| 1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2023 NXP | 2 | # Copyright (C) 2017-2023,2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 9 | 9 | ||
| 10 | DEPENDS = "virtual/imxvpu" | 10 | DEPENDS = "virtual/imxvpu" |
| 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
| 12 | 12 | ||
| 13 | SRC_URI = " \ | 13 | SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" |
| 14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ | 14 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 15 | file://0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch \ | 15 | SRCREV = "feeb9109a027d3a0f040b0bddb5f79a1daad3587" |
| 16 | " | ||
| 17 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | ||
| 18 | SRCREV = "d8703ee3245797111ad21c52982efa8b6db33241" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | 16 | ||
| 22 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
| 23 | 18 | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb index 2b2dbdfdc..cce4e56ad 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb | |||
| @@ -14,8 +14,6 @@ SRCBRANCH ?= "master" | |||
| 14 | SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271" | 14 | SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271" |
| 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit waf pkgconfig use-imx-headers python3native | 17 | inherit waf pkgconfig use-imx-headers python3native |
| 20 | 18 | ||
| 21 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" | 19 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" |
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb index 9391a5fb4..55063db18 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb | |||
| @@ -12,8 +12,6 @@ SRCBRANCH ?= "v1" | |||
| 12 | SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e" | 12 | SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e" |
| 13 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 13 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit waf pkgconfig python3native | 15 | inherit waf pkgconfig python3native |
| 18 | 16 | ||
| 19 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)" | 17 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)" |
diff --git a/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb new file mode 100644 index 000000000..7afa44cb1 --- /dev/null +++ b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | # Copyright 2025 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "NXP RetuneDSP Voice Seeker Libraries" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837" | ||
| 7 | |||
| 8 | inherit pkgconfig | ||
| 9 | |||
| 10 | DEPENDS += "alsa-lib nxp-afe" | ||
| 11 | |||
| 12 | PV = "2.0+git" | ||
| 13 | |||
| 14 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" | ||
| 15 | SRC_URI = "git://github.com/nxp-imx/imx-voiceui.git;protocol=https;branch=${SRCBRANCH}" | ||
| 16 | |||
| 17 | SRCREV = "737c156469eeede28fe1a0777c968becf6fea886" | ||
| 18 | |||
| 19 | EXTRA_CONF = "--enable-armv8 --bindir=/unit_tests/ --libdir=${libdir}" | ||
| 20 | |||
| 21 | EXTRA_OEMAKE:mx8-nxp-bsp = "BUILD_ARCH=CortexA53" | ||
| 22 | EXTRA_OEMAKE:mx8ulp-nxp-bsp = "BUILD_ARCH=CortexA35" | ||
| 23 | EXTRA_OEMAKE:mx9-nxp-bsp = "BUILD_ARCH=CortexA55" | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | install -d ${D}${libdir}/nxp-afe | ||
| 27 | install -d ${D}/unit_tests/nxp-afe | ||
| 28 | install -m 0644 ${S}/release/*.so.2.0 ${D}${libdir}/nxp-afe/ | ||
| 29 | ln -sf -r ${D}${libdir}/nxp-afe/libvoiceseekerlight.so.2.0 ${D}${libdir}/nxp-afe/libvoiceseekerlight.so | ||
| 30 | install -m 0755 ${S}/release/voice_ui_app ${D}/unit_tests/nxp-afe | ||
| 31 | install -m 0644 ${S}/release/Config.ini ${D}/unit_tests/nxp-afe | ||
| 32 | } | ||
| 33 | |||
| 34 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 35 | |||
| 36 | FILES:${PN} += "${libdir}/nxp-afe/* \ | ||
| 37 | /unit_tests/* \ | ||
| 38 | " | ||
| 39 | INSANE_SKIP:${PN} += "dev-so" | ||
| 40 | |||
| 41 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-multimedia/nxp-afe/nxp-afe_git.bb b/recipes-multimedia/nxp-afe/nxp-afe_git.bb new file mode 100644 index 000000000..a401bedeb --- /dev/null +++ b/recipes-multimedia/nxp-afe/nxp-afe_git.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # Copyright 2025 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012" | ||
| 6 | |||
| 7 | PV = "1.0+git" | ||
| 8 | |||
| 9 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" | ||
| 10 | SRC_URI = " git://github.com/nxp-imx/nxp-afe.git;protocol=https;branch=${SRCBRANCH}" | ||
| 11 | |||
| 12 | SRCREV = "c6b8fee21376e724b8441f3cf6c04dee69b5242e" | ||
| 13 | |||
| 14 | DEPENDS += "alsa-lib" | ||
| 15 | |||
| 16 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 17 | |||
| 18 | do_compile() { | ||
| 19 | oe_runmake clean | ||
| 20 | oe_runmake all | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install() { | ||
| 24 | install -d ${D}${libdir}/nxp-afe | ||
| 25 | install -d ${D}/unit_tests/nxp-afe | ||
| 26 | install -m 0644 ${UNPACKDIR}/deploy_afe/*.so.1.0 ${D}${libdir}/nxp-afe | ||
| 27 | ln -sf -r ${D}${libdir}/nxp-afe/libdummyimpl.so.1.0 ${D}${libdir}/nxp-afe/libdummyimpl.so | ||
| 28 | install -m 0755 ${UNPACKDIR}/deploy_afe/afe ${D}/unit_tests/nxp-afe | ||
| 29 | install -m 0644 ${UNPACKDIR}/deploy_afe/asound.conf* ${D}/unit_tests/nxp-afe | ||
| 30 | install -m 0644 ${UNPACKDIR}/deploy_afe/TODO.md ${D}/unit_tests/nxp-afe | ||
| 31 | install -m 0755 ${UNPACKDIR}/deploy_afe/UAC_VCOM_composite.sh ${D}/unit_tests/nxp-afe | ||
| 32 | } | ||
| 33 | |||
| 34 | FILES:${PN} += "/unit_tests" | ||
| 35 | INSANE_SKIP:${PN} += "dev-so" | ||
diff --git a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb index f37e786b6..48edf0769 100644 --- a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb +++ b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb | |||
| @@ -13,6 +13,4 @@ SRCREV = "f3ba6e5c2126f2fb07e3d890f990d50c3e204e67" | |||
| 13 | 13 | ||
| 14 | EXTRA_OECONF:append = " --enable-pcm" | 14 | EXTRA_OECONF:append = " --enable-pcm" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
