diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2023-06-08 16:37:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 16:37:21 -0300 |
| commit | a7370e1c7e8a5318629864eabee05e72ec449f33 (patch) | |
| tree | 834e2387becc61445a8aaaf9c80e124e8737d7aa | |
| parent | 2f232fa1c359649cfa9d6aa2e188921656a01549 (diff) | |
| parent | 80fd227f1d5e73e6d4087defbbefe312530fa22e (diff) | |
| download | meta-freescale-a7370e1c7e8a5318629864eabee05e72ec449f33.tar.gz | |
Merge pull request #1566 from YoeDistro/yoe/mut
Fixes with latest oe-core master changes and clang16
4 files changed, 37 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend new file mode 100644 index 000000000..5cf6d411c --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # testbuild/../test.c:10: undefined reference to `glXCreateContext' | ||
| 2 | PACKAGECONFIG:remove:imxgpu = "x11" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch new file mode 100644 index 000000000..1345dd4f0 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From dc5d752ec3fbec10402aa60fa8245e384e0c7206 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 7 Jun 2023 22:53:47 -0700 | ||
| 4 | Subject: [PATCH] v4l2: Include gst/allocators/gstdmabuf.h for | ||
| 5 | gst_is_dmabuf_memory() | ||
| 6 | |||
| 7 | This is flagged by clang-16 | ||
| 8 | ../git/sys/v4l2/gstv4l2videoenc.c:756:9: error: call to undeclared function 'gst_is_dmabuf_memory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
| 9 | if (gst_is_dmabuf_memory (gst_buffer_peek_memory (frame->input_buffer, 0)) | ||
| 10 | ^ | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-good/pull/2] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | sys/v4l2/gstv4l2videoenc.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c | ||
| 19 | index a505a228f..f24d5a795 100644 | ||
| 20 | --- a/sys/v4l2/gstv4l2videoenc.c | ||
| 21 | +++ b/sys/v4l2/gstv4l2videoenc.c | ||
| 22 | @@ -36,6 +36,7 @@ | ||
| 23 | |||
| 24 | #include <string.h> | ||
| 25 | #include <gst/gst-i18n-plugin.h> | ||
| 26 | +#include <gst/allocators/gstdmabuf.h> | ||
| 27 | |||
| 28 | GST_DEBUG_CATEGORY_STATIC (gst_v4l2_video_enc_debug); | ||
| 29 | #define GST_CAT_DEFAULT gst_v4l2_video_enc_debug | ||
| 30 | -- | ||
| 31 | 2.41.0 | ||
| 32 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb index 95c8657e0..95e33d5b1 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb | |||
| @@ -13,6 +13,7 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues | |||
| 13 | 13 | ||
| 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ |
| 15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | 15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ |
| 16 | file://0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch \ | ||
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" | 19 | SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb index d3c29ff74..4da992ee9 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb | |||
| @@ -28,3 +28,5 @@ def get_gst_ver(v): | |||
| 28 | return oe.utils.trim_version(v, 3) | 28 | return oe.utils.trim_version(v, 3) |
| 29 | 29 | ||
| 30 | inherit meson pkgconfig setuptools3-base upstream-version-is-even | 30 | inherit meson pkgconfig setuptools3-base upstream-version-is-even |
| 31 | |||
| 32 | FILES:${PN} += "${libdir}/gstreamer-1.0" | ||
