freeglut: Add virtual/freeglut to PROVIDES

Since commit f7735c9204 ("freeglut: split normal and gles packages")
in meta-oe, the freeglut recipe only provides the classic OpenGL version,
while the GLES-compatible variant is now available as freeglut-gles.

The jasper,ftgl and opencl-cts fail to configure when depending on freeglut in a
GLES-only build environment, because freeglut's do_configure cannot
locate the legacy OpenGL libraries.
So add virtual/freeglut to provide split version of freeglut.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Zheng Ruoqin
2026-06-25 10:04:34 +08:00
committed by Khem Raj
parent 461c78e631
commit e3247d7045
@@ -26,7 +26,7 @@ PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr libxext"
# error by clang16+ and this is not really a problem
CFLAGS += "-Wno-implicit-function-declaration"
PROVIDES += "mesa-glut"
PROVIDES += "mesa-glut virtual/freeglut"
DEPENDS = "virtual/libgl libxi"