]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
mesa: Fix missing GLES3 headers in SDK sysroot
authorTom Hochstein <tom.hochstein@oss.nxp.com>
Mon, 23 Dec 2024 20:04:56 +0000 (14:04 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jan 2025 12:36:57 +0000 (12:36 +0000)
commit7e1308ec413e69a8427ac5998431005d9e4b8033
treedb5d48a726d517f48f489b10dfd436dc6857de0c
parent50c3cdb3a3b9c7daa55ff26d302d95e5f350e4d2
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.

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>
meta/recipes-graphics/mesa/mesa.inc