diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-02-17 22:34:30 -0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2020-02-19 11:16:30 +0100 |
| commit | abb423512d10d7554e0d62b3a593ce5e436f2756 (patch) | |
| tree | 8facb6600513e639307bdc9cecccf77fec46d5d8 | |
| parent | caf09cd53cc2a4eb10a1d1124dadd2a34fb6b116 (diff) | |
| download | meta-qt5-abb423512d10d7554e0d62b3a593ce5e436f2756.tar.gz | |
qtwebview: Skip if meta-python is not present
It needs qtwebengine which needs python2 so skip it when python2 is not
present
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | recipes-qt/qt5/qtwebview_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebview_git.bb b/recipes-qt/qt5/qtwebview_git.bb index 5d102629..c0ca6118 100644 --- a/recipes-qt/qt5/qtwebview_git.bb +++ b/recipes-qt/qt5/qtwebview_git.bb | |||
| @@ -20,3 +20,8 @@ COMPATIBLE_MACHINE_armv7ve = "(.*)" | |||
| 20 | COMPATIBLE_MACHINE_aarch64 = "(.*)" | 20 | COMPATIBLE_MACHINE_aarch64 = "(.*)" |
| 21 | 21 | ||
| 22 | SRCREV = "94c697c37945dedb37a55c1a9669d868f8c97f41" | 22 | SRCREV = "94c697c37945dedb37a55c1a9669d868f8c97f41" |
| 23 | |||
| 24 | python() { | ||
| 25 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
| 26 | raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') | ||
| 27 | } | ||
