mesa: fix RPROVIDEd package names

The BCP for virtual runtime package names is virtual-foo. Make mesa
follow the established convention and change the names of the provied
packages to virtual-foo-icd.

Fixes: 9d3b4c9bc403 ("mesa: sort out PROVIDES for the glvnd case")
(From OE-Core rev: d69e06dbd8575e258a4542f34c5eaba413da7750)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dmitry Baryshkov 2025-06-20 22:14:50 +03:00 committed by Richard Purdie
parent 60e8db8588
commit 160c0711ff

View File

@ -286,7 +286,7 @@ python __anonymous() {
if 'glvnd' in pkgconfig:
for p in ("libegl", "libglx"):
fullp = mlprefix + p + "-mesa" + suffix
d.appendVar("RPROVIDES:" + fullp, '%s-icd' % p)
d.appendVar("RPROVIDES:" + fullp, ' virtual-%s-icd' % p)
else:
for p in (("egl", "libegl", "libegl1"),
("opengl", "libgl", "libgl1"),