diff options
Diffstat (limited to 'recipes-multimedia/gstreamer')
19 files changed, 80 insertions, 140 deletions
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 | ||
