Files
packages/multimedia
Daniel Golle 0b853f68d9 gst1-plugins-base: pin GStreamer GL to the GLES2/EGL API
The 'gl_api' meson option was left at its 'auto' default, so the
GL plugin probed for desktop OpenGL. OpenWrt's Mesa is built with
-Dglx=disabled and -Dglvnd=disabled on every target, so it ships
no linkable desktop-GL library (no libGL.so, no gl.pc) - desktop
GL is only reachable through EGL. With nothing to satisfy the
probe in the sysroot, meson's cc.find_library('GL') fallback
escaped into the build host's /usr/lib and, on a host that has a
desktop libGL installed, put that foreign library on the link
line, breaking the cross link with:

  mold: fatal: /usr/lib/libGL.so: incompatible file type:
  riscv64 is expected but got x86_64

Pin -Dgl_api=gles2 and -Dgl_platform=egl to match what Mesa
actually provides (libGLESv2 + libEGL). This is correct on every
target, including x86_64: the desktop-GL link path was never
functional on OpenWrt and only ever "succeeded" by picking up a
host library.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-02 00:32:31 +01:00
..
2026-05-08 22:28:27 +02:00
2025-09-20 23:21:48 +08:00
2026-03-15 09:19:46 +02:00
2025-07-22 17:56:57 +01:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2024-03-22 16:08:23 +08:00
2024-07-06 10:29:11 -07:00
2026-02-11 19:17:22 +00:00
2026-02-08 10:39:41 +02:00
2026-05-25 08:02:47 +03:00