All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gstreamer1.0-plugins-base: Set explicit OpenGL Meson selectors
@ 2026-12-03  9:51 olani
  2026-12-03 11:16 ` [OE-core] " Ola x Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: olani @ 2026-12-03  9:51 UTC (permalink / raw)
  To: openembedded-core

From: Ola x Nilsson <olani@axis.com>

The x11 and opengl PACKAGECONFIGs pulls more or less the same
dependencies.  When -Dgl_api, -Dgl_platform and -Dgl_winsys are left
unset, Meson may autodetect and enable OpenGL support even if only x11
PACKAGECONFIG is selected.

Pass explicit empty selector lists for GL API, platform and winsys
when none are configured, so Meson does not autodetect them.

This may disable GL integration in configurations where it was
previously enabled via autodetection.

AI-Generated: Uses GitHub Copilot
Signed-off-by: Ola x Nilsson <olani@axis.com>
---
 .../gstreamer/gstreamer1.0-plugins-base_1.28.9.bb            | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb
index 0f7044b7ad..66d1c0c0ca 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb
@@ -88,9 +88,6 @@ def get_opengl_cmdline_list(switch_name, options, d):
         for option in options.split():
             if bb.utils.contains('PACKAGECONFIG', option, True, False, d):
                 selected_options += [option]
-    if selected_options:
-        return '-D' + switch_name + '=' + ','.join(selected_options)
-    else:
-        return ''
+    return '-D' + switch_name + '=' + ','.join(selected_options)
 
 CVE_PRODUCT += "gst-plugins-base"

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-03 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  9:51 [PATCH] gstreamer1.0-plugins-base: Set explicit OpenGL Meson selectors olani
2026-12-03 11:16 ` [OE-core] " Ola x Nilsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.