Skip to content
Snippets Groups Projects
Commit 9585a16c authored by Samuli Piippo's avatar Samuli Piippo
Browse files

libgbm: make possible to use other libgbm provides than mesa


Mesa is the default libgbm provider, but does not yet have virtual/libgbm
in the PROVIDES list. This makes it difficult the change the dependency
to another recipes that provide only libgbm. Add virtual/libgbm to mesa
and TI's libgbm recipe, and change the dependency in qtbase.

Add gbm to qtbase PACKAGECONFIG on intel devices.

Task-number: QTBUG-57896
Change-Id: I491df7057e52f9e74dd87abf65e542eab2cd3f9e
Reviewed-by: default avatarGatis Paeglis <gatis.paeglis@qt.io>
Reviewed-by: default avatarMikko Gronoff <mikko.gronoff@qt.io>
parent 65dbb94f
No related branches found
No related tags found
No related merge requests found
......@@ -27,4 +27,4 @@
##
############################################################################
PACKAGECONFIG += "kms"
PACKAGECONFIG += "gbm kms"
############################################################################
##
## Copyright (C) 2017 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$
##
############################################################################
PROVIDES += "virtual/libgbm"
......@@ -58,3 +58,6 @@ do_configure_prepend() {
}
SRCREV = "179045f36a16ce2f6cfaad1dbd9443b52b1bf8d3"
# make other libgbm providers possible
PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm"
......@@ -28,3 +28,4 @@
############################################################################
RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev"
PROVIDES += "virtual/libgbm"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment