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 <[email protected]>
---
 meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127709): 
https://lists.openembedded.org/g/openembedded-devel/message/127709
Mute This Topic: https://lists.openembedded.org/mt/119954421/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to