qtwebengine: inherit pkgconfig

Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| ERROR: Feature "webengine_system_icu": Forcing to "ON" breaks its condition:
|     ICU_FOUND
| Condition values dump:
|     ICU_FOUND = ""
|
| ERROR: Feature "webengine_system_libwebp": Forcing to "ON" breaks its condition:
|     UNIX AND WEBP_FOUND
| Condition values dump:
|     UNIX = "1"
|     WEBP_FOUND = ""
|
| ERROR: Feature "webengine_system_opus": Forcing to "ON" breaks its condition:
|     UNIX AND OPUS_FOUND
| Condition values dump:
|     UNIX = "1"
|     OPUS_FOUND = ""
|
| ERROR: Feature "webengine_system_glib": Forcing to "ON" breaks its condition:
|     UNIX AND GLIB_FOUND
| Condition values dump:
|     UNIX = "1"
|     GLIB_FOUND = ""
|
| ERROR: Feature "webengine_system_zlib": Forcing to "ON" breaks its condition:
|     UNIX AND QT_FEATURE_system_zlib AND ZLIB_FOUND
| Condition values dump:
|     UNIX = "1"
|     QT_FEATURE_system_zlib = "ON"
|     ZLIB_FOUND = ""
|
| ERROR: Feature "webengine_system_libevent": Forcing to "ON" breaks its condition:
|     UNIX AND LIBEVENT_FOUND
| Condition values dump:
|     UNIX = "1"
|     LIBEVENT_FOUND = ""
|
| ERROR: Feature "webengine_system_lcms2": Forcing to "ON" breaks its condition:
|     UNIX AND LCMS2_FOUND
| Condition values dump:
|     UNIX = "1"
|     LCMS2_FOUND = ""
|
| ERROR: Feature "webengine_system_libpng": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND PNG_FOUND AND QT_FEATURE_system_png
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     PNG_FOUND = ""
|     QT_FEATURE_system_png = "ON"
|
| ERROR: Feature "webengine_system_libjpeg": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND TEST_jpeg AND QT_FEATURE_system_jpeg
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     TEST_jpeg = "FALSE"
|     QT_FEATURE_system_jpeg = "ON"
|
| ERROR: Feature "webengine_system_harfbuzz": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND HARFBUZZ_FOUND AND QT_FEATURE_system_harfbuzz
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     HARFBUZZ_FOUND = ""
|     QT_FEATURE_system_harfbuzz = "ON"
|
| ERROR: Feature "webengine_system_freetype": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND TEST_freetype AND QT_FEATURE_system_freetype
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     TEST_freetype = "FALSE"
|     QT_FEATURE_system_freetype = "ON"
|
| ERROR: Feature "webengine_system_libpci": Forcing to "ON" breaks its condition:
|     UNIX AND LIBPCI_FOUND
| Condition values dump:
|     UNIX = "1"
|     LIBPCI_FOUND = ""

Already fixed in meta-qt5 with:
bf2daefeb5

Pick-to: 6.2
Change-Id: I20add60b601bd85a7f5eb8b6e6f63e1bc729a893
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This commit is contained in:
Martin Jansa 2021-09-30 16:42:23 +02:00 committed by Samuli Piippo
parent c4147feb79
commit 35665dad23

View File

@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
"
inherit qt6-cmake
inherit qt6-cmake pkgconfig
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc