]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa: make sure GLES3 headers are installed
authorSamuli Piippo <samuli.piippo@qt.io>
Wed, 23 Nov 2016 14:36:37 +0000 (16:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Nov 2016 15:47:13 +0000 (15:47 +0000)
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/mesa/mesa.inc

index 4ec496143cbce7eaf33f2c29aadca1aee920c96c..1f9fbcab7d95086f8f1b21d34406fa41f40f8868 100644 (file)
@@ -82,6 +82,9 @@ EXCLUDE_FROM_WORLD = "1"
 # 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"
+
 PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libosmesa libosmesa-dev \
              libgl-mesa libgl-mesa-dev \