diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2020-01-23 19:37:20 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2020-01-23 19:44:50 +0100 |
| commit | 6e60bd51f145573beaf496a69428fb693bd2e15e (patch) | |
| tree | 19cd49599b4af21faec6db522d150127548ad172 /recipes-qt/qt5/qtwebengine_git.bb | |
| parent | bcd8564f5c9b7954eca9d425fe90b174ea821ab9 (diff) | |
| download | meta-qt5-6e60bd51f145573beaf496a69428fb693bd2e15e.tar.gz | |
python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2
Neither of these actually builds with python3, skip them when
meta-python2 isn't included until real fix is available.
qtwebkit might not get the support for python3 at all
qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2
python-pyqt5 is already blacklisted because of sip
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index e42cf491..c00120b3 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
| @@ -79,10 +79,17 @@ COMPATIBLE_MACHINE_aarch64 = "(.*)" | |||
| 79 | 79 | ||
| 80 | inherit qmake5 | 80 | inherit qmake5 |
| 81 | inherit gettext | 81 | inherit gettext |
| 82 | inherit pythonnative | ||
| 83 | inherit perlnative | 82 | inherit perlnative |
| 84 | inherit features_check | 83 | inherit features_check |
| 85 | 84 | ||
| 85 | inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative", "", d)} | ||
| 86 | |||
| 87 | python() { | ||
| 88 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
| 89 | raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') | ||
| 90 | } | ||
| 91 | |||
| 92 | |||
| 86 | # Static builds of QtWebEngine aren't supported. | 93 | # Static builds of QtWebEngine aren't supported. |
| 87 | CONFLICT_DISTRO_FEATURES = "qt5-static" | 94 | CONFLICT_DISTRO_FEATURES = "qt5-static" |
| 88 | 95 | ||
