mirror of
https://git.yoctoproject.org/poky
synced 2026-04-08 17:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
ddbef1f624
commit
878fbbe0e1
@@ -186,8 +186,12 @@ CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS"
|
||||
# Remove the mesa dependency on mesa-dev, as mesa is empty
|
||||
RDEPENDS:${PN}-dev = ""
|
||||
|
||||
# Add dependency so that GLES3 header don't need to be added manually
|
||||
RDEPENDS:libgles2-mesa-dev += "libgles3-mesa-dev"
|
||||
# Khronos documentation 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.
|
||||
RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev"
|
||||
|
||||
PACKAGES =+ "libegl-mesa libegl-mesa-dev \
|
||||
libosmesa libosmesa-dev \
|
||||
|
||||
Reference in New Issue
Block a user