diff options
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 | ||