From: Lei Maohui <leimaohui@fujitsu.com>
To: Alexander Kanavin <alex@linutronix.de>
Cc: Jose Quaresma <quaresma.jose@gmail.com>,
Anuj Mittal <anuj.mittal@intel.com>,
openembedded-core@lists.openembedded.org,
Lei Maohui <leimaohui@fujitsu.com>
Subject: [OE-core] [PATCH v4 10/10] gstreamer1.0-plugins-bad: upgrade 1.24.12 -> 1.26.0
Date: Wed, 2 Apr 2025 17:07:49 +0800 [thread overview]
Message-ID: <20250402090749.2119-11-leimaohui@fujitsu.com> (raw)
In-Reply-To: <20250402090749.2119-1-leimaohui@fujitsu.com>
- enable analytics since gstreamer1.0-python depend on it now
- explicitly diable options that new added in meson_options.txt
- lcevcdecoder
- lcevcencoder
- tensordecoders
- nvcomp
- nvdswrapper
- svtjpegxs
- webview2
- aja
- cuda-nvmm
- d3d12
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
...issing-opencv-data-dir-in-yocto-buil.patch | 20 +++++++++----------
....bb => gstreamer1.0-plugins-bad_1.26.0.bb} | 15 ++++++++++++--
2 files changed, 23 insertions(+), 12 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.24.12.bb => gstreamer1.0-plugins-bad_1.26.0.bb} (94%)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
index 4d0d0e2693..d49cf5bd89 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
@@ -1,4 +1,4 @@
-From bd389203124592cfd91fb020ea05a5e4ad1c1394 Mon Sep 17 00:00:00 2001
+From 11a08e3f3135b649b68714c77670c37559f3a33c Mon Sep 17 00:00:00 2001
From: Andrey Zhizhikin <andrey.z@gmail.com>
Date: Mon, 27 Jan 2020 10:22:35 +0000
Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build
@@ -17,16 +17,16 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
1 file changed, 3 insertions(+)
diff --git a/gst-libs/gst/opencv/meson.build b/gst-libs/gst/opencv/meson.build
-index 1d337f1..f47939a 100644
+index 64e913e..42a0958 100644
--- a/gst-libs/gst/opencv/meson.build
+++ b/gst-libs/gst/opencv/meson.build
-@@ -52,6 +52,9 @@ if opencv_found
- # /usr/include/opencv4/opencv2/flann/logger.h:83:36: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
- gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs', '-Wno-format-nonliteral'])
+@@ -61,6 +61,9 @@ gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"']
+ # /usr/include/opencv4/opencv2/flann/logger.h:83:36: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
+ gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs', '-Wno-format-nonliteral'])
-+ pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
-+ opencv_prefix = pkgconf_sysroot + opencv_prefix
++pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
++opencv_prefix = pkgconf_sysroot + opencv_prefix
+
- # Check the data dir used by opencv for its xml data files
- # Use prefix from pkg-config to be compatible with cross-compilation
- r = run_command('test', '-d', opencv_prefix + '/share/opencv', check: false)
+ # Check the data dir used by opencv for its xml data files
+ # Use prefix from pkg-config to be compatible with cross-compilation
+ fsmod = import('fs')
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb
index 91d9150359..ad868d8d68 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb
@@ -10,7 +10,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad
file://0002-avoid-including-sys-poll.h-directly.patch \
file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
"
-SRC_URI[sha256sum] = "3d386af3d1dbd1a06c74a6251250c269b481e703f0e3255ba89ef6c1e063afea"
+SRC_URI[sha256sum] = "f8287a84c5f66368a5a50da5f969994a02c47f20220ffe1ca3154193e65af216"
S = "${WORKDIR}/gst-plugins-bad-${PV}"
@@ -28,10 +28,11 @@ PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \
bz2 closedcaption curl dash dtls hls openssl sbc smoothstreaming \
- sndfile ttml uvch264 webp \
+ sndfile ttml uvch264 webp analytics \
${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \
"
+PACKAGECONFIG[analytics] = "-Danalyticsoverlay=enabled,-Danalyticsoverlay=disabled,"
PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom"
PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass"
PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp"
@@ -152,6 +153,16 @@ EXTRA_OEMESON += " \
-Dwinscreencap=disabled \
-Dwpe=disabled \
-Dzxing=disabled \
+ -Dlcevcdecoder=disabled \
+ -Dlcevcencoder=disabled \
+ -Dtensordecoders=disabled \
+ -Dnvcomp=disabled \
+ -Dnvdswrapper=disabled \
+ -Dsvtjpegxs=disabled \
+ -Dwebview2=disabled \
+ -Daja=disabled \
+ -Dcuda-nvmm=disabled \
+ -Dd3d12=disabled \
"
export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}"
--
2.43.0
prev parent reply other threads:[~2025-04-02 9:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 9:07 [OE-core] [PATCH v4 01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0 Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1 Lei Maohui
2025-04-02 9:56 ` Richard Purdie
2025-04-02 10:03 ` Martin Jansa
2025-04-02 10:31 ` Maohui Lei (Fujitsu)
2025-04-02 11:09 ` Richard Purdie
2025-04-03 0:50 ` Khem Raj
2025-04-03 1:31 ` Maohui Lei (Fujitsu)
2025-04-02 9:07 ` [OE-core] [PATCH v4 02/10] gstreamer1.0: upgrade 1.24.12 -> 1.26.0 Lei Maohui
2025-04-02 9:48 ` Jose Quaresma
2025-04-02 9:57 ` Maohui Lei (Fujitsu)
2025-04-02 9:07 ` [OE-core] [PATCH v4 03/10] gstreamer1.0-libav: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 04/10] gstreamer1.0-vaapi: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 05/10] gtreamer1.0-rtsp-server: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 06/10] gstreamer1.0-plugins-base: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 07/10] gstreamer1.0-plugins-good: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 08/10] gstreamer1.0-plugins-ugly: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 09/10] gstreamer1.0-python: " Lei Maohui
2025-04-02 9:07 ` Lei Maohui [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250402090749.2119-11-leimaohui@fujitsu.com \
--to=leimaohui@fujitsu.com \
--cc=alex@linutronix.de \
--cc=anuj.mittal@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=quaresma.jose@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox