summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwayland_git.bb
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-10-20 14:22:57 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2016-10-27 12:46:53 +0000
commitf3f7d8ef1ee02d3a2e691657a0ac26cb0261eda6 (patch)
treecf92f4b22809a47415e30a9d405d232cd7214ddc /recipes-qt/qt5/qtwayland_git.bb
parent429a8e9a0b720b2ca1e66fff921888bbdef3e378 (diff)
downloadmeta-qt5-f3f7d8ef1ee02d3a2e691657a0ac26cb0261eda6.tar.gz
qt5: update submodules
Add more PACKAGECONFIGs for qtbase. Merge the two qtwayland recipes to one that supports all three targets (target, native, nativesdk). Previous workaround removed and new ones added for: QTBUG-56656, QTBUG-56666 Reduce number of patches applied to qtbase. Change-Id: I6b82fd46aaade4f14cf61e29adb7fc984070333b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Jonathan Liu <net147@gmail.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes-qt/qt5/qtwayland_git.bb')
-rw-r--r--recipes-qt/qt5/qtwayland_git.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb
index 1d8df766..431dc12c 100644
--- a/recipes-qt/qt5/qtwayland_git.bb
+++ b/recipes-qt/qt5/qtwayland_git.bb
@@ -16,6 +16,8 @@ LIC_FILES_CHKSUM = " \
16 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ 16 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
17" 17"
18 18
19SRC_URI += "file://0001-Allow-building-only-qtwaylandscanner.patch"
20
19#FIXME: xkb should be optional; we add it here to fix the build error without it 21#FIXME: xkb should be optional; we add it here to fix the build error without it
20# (https://bugreports.qt.io/browse/QTBUG-54851) 22# (https://bugreports.qt.io/browse/QTBUG-54851)
21PACKAGECONFIG ?= " \ 23PACKAGECONFIG ?= " \
@@ -24,6 +26,8 @@ PACKAGECONFIG ?= " \
24 xkb \ 26 xkb \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcompositor xkb glx', '', d)} \ 27 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcompositor xkb glx', '', d)} \
26" 28"
29PACKAGECONFIG_class-native ?= "scanner-only"
30PACKAGECONFIG_class-nativesdk ?= "scanner-only"
27 31
28PACKAGECONFIG[compositor-api] = "CONFIG+=wayland-compositor" 32PACKAGECONFIG[compositor-api] = "CONFIG+=wayland-compositor"
29PACKAGECONFIG[xcompositor] = "CONFIG+=config_xcomposite CONFIG+=done_config_xcomposite,CONFIG+=done_config_xcomposite,libxcomposite" 33PACKAGECONFIG[xcompositor] = "CONFIG+=config_xcomposite CONFIG+=done_config_xcomposite,CONFIG+=done_config_xcomposite,libxcomposite"
@@ -33,6 +37,7 @@ PACKAGECONFIG[wayland-egl] = "CONFIG+=config_wayland_egl CONFIG+=done_config_way
33PACKAGECONFIG[brcm-egl] = "CONFIG+=config_brcm_egl CONFIG+=done_config_brcm_egl,CONFIG+=done_config_brcm_egl,virtual/egl" 37PACKAGECONFIG[brcm-egl] = "CONFIG+=config_brcm_egl CONFIG+=done_config_brcm_egl,CONFIG+=done_config_brcm_egl,virtual/egl"
34PACKAGECONFIG[drm-egl] = "CONFIG+=config_drm_egl_server CONFIG+=done_config_drm_egl_server,CONFIG+=done_config_drm_egl_server,libdrm virtual/egl" 38PACKAGECONFIG[drm-egl] = "CONFIG+=config_drm_egl_server CONFIG+=done_config_drm_egl_server,CONFIG+=done_config_drm_egl_server,libdrm virtual/egl"
35PACKAGECONFIG[libhybris-egl] = "CONFIG+=config_libhybris_egl_server CONFIG+=done_config_libhybris_egl_server,CONFIG+=done_config_libhybris_egl_server,libhybris" 39PACKAGECONFIG[libhybris-egl] = "CONFIG+=config_libhybris_egl_server CONFIG+=done_config_libhybris_egl_server,CONFIG+=done_config_libhybris_egl_server,libhybris"
40PACKAGECONFIG[scanner-only] = "CONFIG+=scanner-only"
36 41
37EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" 42EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}"
38 43
@@ -44,4 +49,6 @@ FILES_${PN}-plugins-dbg += " \
44 ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ 49 ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \
45" 50"
46 51
47SRCREV = "3f5111b6c1d92ae4fed008abb53cf4226bfef575" 52SRCREV = "582c6a379f6a45648352c538a7df4d675c9d0a65"
53
54BBCLASSEXTEND =+ "native nativesdk"