From ddbf2f6be8ef6ee2ca72c3bc2de183993849189b Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Mon, 21 Nov 2016 11:51:49 +0200
Subject: [PATCH] mesa: make sure we get libgles3-dev package in toolchain

There is no libgles3 library available, but mesa has the headers in
a separate package. Add dependency so that libgles2 pull also the
libgles3 headers.

Change-Id: I756a0c80aeaa9b5017a3e2e2144cd5c1e5429823
Task-number: QTBUG-57188
Reviewed-by: Karim Pinter <karim.pinter@theqtcompany.com>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
---
 recipes/mesa/mesa_%.bbappend | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes/mesa/mesa_%.bbappend

diff --git a/recipes/mesa/mesa_%.bbappend b/recipes/mesa/mesa_%.bbappend
new file mode 100644
index 00000000..fc55a182
--- /dev/null
+++ b/recipes/mesa/mesa_%.bbappend
@@ -0,0 +1,30 @@
+############################################################################
+##
+## Copyright (C) 2016 The Qt Company Ltd.
+## Contact: https://www.qt.io/licensing/
+##
+## This file is part of the Boot to Qt meta layer.
+##
+## $QT_BEGIN_LICENSE:GPL$
+## Commercial License Usage
+## Licensees holding valid commercial Qt licenses may use this file in
+## accordance with the commercial license agreement provided with the
+## Software or, alternatively, in accordance with the terms contained in
+## a written agreement between you and The Qt Company. For licensing terms
+## and conditions see https://www.qt.io/terms-conditions. For further
+## information use the contact form at https://www.qt.io/contact-us.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 or (at your option) any later version
+## approved by the KDE Free Qt Foundation. The licenses are as published by
+## the Free Software Foundation and appearing in the file LICENSE.GPL3
+## included in the packaging of this file. Please review the following
+## information to ensure the GNU General Public License requirements will
+## be met: https://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+############################################################################
+
+RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev"
-- 
GitLab