diff options
-rw-r--r-- | conf/distro/include/qt5-versions.inc | 6 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwayland_5.1.0+git.bb | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/conf/distro/include/qt5-versions.inc b/conf/distro/include/qt5-versions.inc index b946a6a6..35dd211a 100644 --- a/conf/distro/include/qt5-versions.inc +++ b/conf/distro/include/qt5-versions.inc | |||
@@ -17,4 +17,8 @@ PREFERRED_VERSION_qtscript = "${QT5_VERSION}" | |||
17 | PREFERRED_VERSION_qtsvg = "${QT5_VERSION}" | 17 | PREFERRED_VERSION_qtsvg = "${QT5_VERSION}" |
18 | PREFERRED_VERSION_qtwebkit = "${QT5_VERSION}" | 18 | PREFERRED_VERSION_qtwebkit = "${QT5_VERSION}" |
19 | PREFERRED_VERSION_qtxmlpatterns = "${QT5_VERSION}" | 19 | PREFERRED_VERSION_qtxmlpatterns = "${QT5_VERSION}" |
20 | PREFERRED_VERSION_qtwayland = "${QT5_VERSION}%" | 20 | |
21 | # append % only if it isn't included already | ||
22 | # 5.1.0+git%% won't work and it's exactly where we need to overcome DEFAULT_PREFERENCE with PREFERRED_VERSION | ||
23 | QT5_VERSION_WAYLAND = "${@base_contains('QT5_VERSION', '5.1.0+git%', '${QT5_VERSION}', '${QT5_VERSION}%', d)}" | ||
24 | PREFERRED_VERSION_qtwayland = "${QT5_VERSION_WAYLAND}" | ||
diff --git a/recipes-qt/qt5/qtwayland_5.1.0+git.bb b/recipes-qt/qt5/qtwayland_5.1.0+git.bb index aaa439cf..31ed85c3 100644 --- a/recipes-qt/qt5/qtwayland_5.1.0+git.bb +++ b/recipes-qt/qt5/qtwayland_5.1.0+git.bb | |||
@@ -5,6 +5,9 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/${BPN}-5.1.0+git:" | |||
5 | 5 | ||
6 | DEPENDS += "qtwayland-native" | 6 | DEPENDS += "qtwayland-native" |
7 | 7 | ||
8 | # qtwayland_git has -1 and should be default | ||
9 | DEFAULT_PREFERRENCE = "-2" | ||
10 | |||
8 | # qtwayland wasn't released yet, last tag before this SRCREV is 5.0.0-beta1 | 11 | # qtwayland wasn't released yet, last tag before this SRCREV is 5.0.0-beta1 |
9 | # this PV is only to indicate that this recipe is compatible with qt5 5.1.0 | 12 | # this PV is only to indicate that this recipe is compatible with qt5 5.1.0 |
10 | # while qtwayland_git stays compatible with 5.0.2 | 13 | # while qtwayland_git stays compatible with 5.0.2 |