summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-11-23 16:36:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:47:13 +0000
commita93bbfa096cd7de8e935c6c2d2ad98d72a1c297f (patch)
tree4ffc5e8fa2a07f3de6b6bb503eff0ba7b4f6599f
parentafda72b2424528eaff9054327530bdf5654bec66 (diff)
downloadopenembedded-core-a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f.tar.gz
openembedded-core-a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f.tar.bz2
openembedded-core-a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f.zip
mesa: make sure GLES3 headers are installed
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>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 4ec496143c..1f9fbcab7d 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -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 \