summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2021-12-13 10:16:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-14 22:46:38 +0000
commit878fbbe0e1c142bfd844fa1db475d65cef2121c3 (patch)
treeacb456af586df5d639c4b96b897a98871128ab2f /meta/recipes-graphics/mesa
parentddbef1f62482c6eea7fada291cae6d07e6d56f85 (diff)
downloadpoky-878fbbe0e1c142bfd844fa1db475d65cef2121c3.tar.gz
mesa: make ligles3-dev RDEPENDS on libgles2-dev
Khronos documentation[1] says that include/GLES2/gl2ext.h can be used for OpenGL ES 3 specification as well as for OpenGL ES 2. There can be applications including GLES2/gl2ext.h instead of GLES3/gl3ext.h meaning we should probably bring in GLES2/gl2ext.h if someone asks for development package of libgles3. [1] https://www.khronos.org/registry/OpenGL/index_es.php#headers Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 8adf941a8a2b5b3fe5e4e3313856b725e28d5370) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc8
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
187RDEPENDS:${PN}-dev = "" 187RDEPENDS:${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
190RDEPENDS: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.
194RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev"
191 195
192PACKAGES =+ "libegl-mesa libegl-mesa-dev \ 196PACKAGES =+ "libegl-mesa libegl-mesa-dev \
193 libosmesa libosmesa-dev \ 197 libosmesa libosmesa-dev \