From 090079a62f1d9fb54a5be0ae5a57135efb88dfce Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 13 Mar 2023 10:59:59 -0700 Subject: xdg-desktop-portal-wlr: Disable build when using imx gpu driver Signed-off-by: Khem Raj --- .../xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dynamic-layers/multimedia-layer/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_%.bbappend diff --git a/dynamic-layers/multimedia-layer/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_%.bbappend b/dynamic-layers/multimedia-layer/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_%.bbappend new file mode 100644 index 000000000..f279dcb29 --- /dev/null +++ b/dynamic-layers/multimedia-layer/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_%.bbappend @@ -0,0 +1,3 @@ +# Needs gbm_bo_create_with_modifiers2() API which is not +# implemented in imx GL driver implementation +COMPATIBLE_HOST:imxgpu = "(null)" -- cgit v1.2.3-54-g00ecf From 16cdba4e343a0091a5f8b38c581867d1c6c0f54d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 13 Mar 2023 12:06:26 -0700 Subject: piglit: Fix build with clang when using NXP BSP Fixes build errors e.g. tests/egl/egl-util.c:89:9: error: incompatible integer to pointer conversion returning 'Pixmap' (aka 'unsigned long') from a function with result type 'EGLNativePixmapType' (aka 'struct wl_egl_pixmap *') [-Wint-conversion] return XCreatePixmap(state->dpy, state->win, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj --- recipes-graphics/piglit/piglit_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend index 2b7561d16..882d4ddff 100644 --- a/recipes-graphics/piglit/piglit_%.bbappend +++ b/recipes-graphics/piglit/piglit_%.bbappend @@ -1,4 +1,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +CFLAGS:append:imxgpu:toolchain-clang = " -Wno-error=int-conversion" PACKAGECONFIG:remove:imxgpu = "x11 glx" PACKAGECONFIG:append:mx8-nxp-bsp = " opencl" -- cgit v1.2.3-54-g00ecf From 2a9cad5187885a5de72ebedf4a9512c1f761c654 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 13 Mar 2023 12:25:11 -0700 Subject: gstreamer1.0-plugins-base: Provide gstreamer1.0-plugins-base-videoconvertscale This builds a bridge for packagegroups from oe-core master which are upgraded to use gstreamer 1.22 and some packages are merged together e.g. videoconvertscale is unified version of videoconvert and videoscale packages Fixes ERROR: gstreamer1.0-meta-base-1.0-r0 do_package_qa: QA Issue: gstreamer1.0-meta-base rdepends on gstreamer1.0-plugins-base-videoconvertscale, but it isn't a build dependen cy? [build-deps] Signed-off-by: Khem Raj --- .../gstreamer/gstreamer1.0-plugins-base_1.20.3.imx.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.3.imx.bb index d338f9864..0ef9daeab 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.3.imx.bb @@ -85,6 +85,14 @@ EXTRA_OEMESON += " \ ${@get_opengl_cmdline_list('gl_winsys', d.getVar('OPENGL_WINSYS'), d)} \ " +# Remove this meta package when moving to gstreamer 1.22+, this is for making +# gst packagegroups from master work with gstreamer 1.20.3.imx +PACKAGES += "${PN}-videoconvertscale" + +ALLOW_EMPTY:${PN}-videoconvertscale = "1" + +RDEPENDS:${PN}-videoconvertscale = "${PN}-videoconvert ${PN}-videoscale" + FILES:${PN}-dev += "${libdir}/gstreamer-1.0/include/gst/gl/gstglconfig.h" FILES:${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" -- cgit v1.2.3-54-g00ecf