diff mbox series

[v1,2/2] mesa-gl: fix QA issue in do_package

Message ID 20260109123232.1199822-3-joaomarcos.costa@bootlin.com
State New
Headers show
Series mesa: fix build-time issues in Whinlatter and master | expand

Commit Message

João Marcos Costa Jan. 9, 2026, 12:32 p.m. UTC
Whenever 'vdpau' PACKAGECONFIG is enabled, a 'installed-vs-shipped'
error is raised. This happens because there is no
'mesa-gl-vdpau-drivers' package, even though a FILES:${PN}-vdpau-drivers
is defined.

Fix it by replacing the hardcoded package name in 'mesa-vdpau-drivers' by
'${PN}'.

Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index a35dff3347..8fe8055d17 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -242,7 +242,7 @@  PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libopencl-mesa \
              libteflon \
              mesa-megadriver mesa-vulkan-drivers \
-             mesa-vdpau-drivers mesa-tools \
+             ${PN}-vdpau-drivers mesa-tools \
             "
 
 # For the packages that make up the OpenGL interfaces, inject variables so that