From d1c6878cf25575f98ab12c5e685a0728afa4424a Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Fri, 26 Jul 2024 17:55:45 -0300 Subject: gstreamer: Update 6.6.3-1.0.0 to 6.6.23-2.0.0 Upgrade gstreamer and all related recipes to 1.24.0, syncing with meta-imx layer. Signed-off-by: Hiago De Franco --- .../0001-meson.build-Fix-missing-python_opt.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch') 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 new file mode 100644 index 00000000..fd6b1c16 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch @@ -0,0 +1,47 @@ +From 8d7e2eaed10e2928358805f613223a6a149790d6 Mon Sep 17 00:00:00 2001 +From: Hiago De Franco +Date: Wed, 31 Jul 2024 11:51:06 -0300 +Subject: [PATCH] meson.build: Fix missing python_opt + +'python_opt' was not declared earlier, giving the following build error: + +| Message: python_abi_flags = +| +| ../gst-python-1.24.0/meson.build:84:16: ERROR: Unknown variable "python_opt". + +Remove it and keep the error message. + +Upstream-Status: Inappropriate [oe specific] + +The patch already exists upstream, but this is related to another fix [1] +not suitable for OE. Moreover, the backport does not apply since +the patch was added to the gstreamer monorepo. + +[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6734? + +Signed-off-by: Hiago De Franco +--- + meson.build | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/meson.build b/meson.build +index f240b6fd8aca..53f7a43702c7 100644 +--- a/meson.build ++++ b/meson.build +@@ -80,12 +80,7 @@ foreach loc: pylib_locs + endforeach + endforeach + if pylib_fname == '' +- error_msg = 'Could not find python library to load' +- if python_opt.enabled() +- error(error_msg) +- else +- message(error_msg) +- endif ++ message('Could not find python library to load') + endif + + pygi_override_dir = get_option('pygi-overrides-dir') +-- +2.39.2 + -- cgit v1.2.3-54-g00ecf