diff mbox series

[meta-oe,2/5] freeglut: Add virtual/freeglut to PROVIDES

Message ID 20260624095845.2294-3-zhengrq.fnst@fujitsu.com
State New
Headers show
Series freeglut: Bug fix and virtual/freeglut provide. | expand

Commit Message

Zheng Ruoqin June 24, 2026, 9:58 a.m. UTC
Since commit f7735c920472 ("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 package fails 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>
---
 meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
index 7d1e8b6856..407fd831ba 100644
--- a/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
+++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
@@ -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"