diff options
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 6d6fc607f9..64702f8168 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
| @@ -186,8 +186,12 @@ CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS" | |||
| 186 | # Remove the mesa dependency on mesa-dev, as mesa is empty | 186 | # Remove the mesa dependency on mesa-dev, as mesa is empty |
| 187 | RDEPENDS:${PN}-dev = "" | 187 | RDEPENDS:${PN}-dev = "" |
| 188 | 188 | ||
| 189 | # Add dependency so that GLES3 header don't need to be added manually | 189 | # Khronos documentation says that include/GLES2/gl2ext.h can be used for |
| 190 | RDEPENDS:libgles2-mesa-dev += "libgles3-mesa-dev" | 190 | # OpenGL ES 3 specification as well as for OpenGL ES 2. |
| 191 | # There can be applications including GLES2/gl2ext.h instead of GLES3/gl3ext.h | ||
| 192 | # meaning we should probably bring in GLES2/gl2ext.h if someone asks for | ||
| 193 | # development package of libgles3. | ||
| 194 | RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev" | ||
| 191 | 195 | ||
| 192 | PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | 196 | PACKAGES =+ "libegl-mesa libegl-mesa-dev \ |
| 193 | libosmesa libosmesa-dev \ | 197 | libosmesa libosmesa-dev \ |
