]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
mesa: Fix missing GLES3 headers in SDK sysroot
authorJohannes Kauffmann <johanneskauffmann@hotmail.com>
Tue, 4 Mar 2025 13:29:06 +0000 (14:29 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 4 Mar 2025 16:43:39 +0000 (08:43 -0800)
commit0d9f2fcc2058407eb138297d9f8f12595851b963
tree3fd9e9b34c6f6b3ca8436f49e95e2a3d1e0e4e9d
parent58f5a6a28d353f14c672bb99820608ec82f05e6e
mesa: Fix missing GLES3 headers in SDK sysroot

Building weston with core-image-weston SDK fails:
```
../libweston/renderer-gl/gl-shader-config-color-transformation.c:29:10: fatal error: GLES3/gl3.h: No such file or directory
   29 | #include <GLES3/gl3.h>
      |          ^~~~~~~~~~~~~
```

Both GLES2 and GLES3 implementations are contained in libGLESv2.so.2,
which is packaged in libgles2-mesa. However, the headers are split
between libgles2-mesa-dev and libgles3-mesa-dev, which is why the
GLES3 headers end up missing in the SDK sysroot.

Add a dependency so the GLES3 headers are properly associated with
the GLES3 implementation.

(From OE-Core rev: 7e1308ec413e69a8427ac5998431005d9e4b8033)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-graphics/mesa/mesa.inc