summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwayland_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwayland_git.bb')
-rw-r--r--recipes-qt/qt5/qtwayland_git.bb55
1 files changed, 24 insertions, 31 deletions
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb
index e315924c..ec41922a 100644
--- a/recipes-qt/qt5/qtwayland_git.bb
+++ b/recipes-qt/qt5/qtwayland_git.bb
@@ -16,37 +16,30 @@ LIC_FILES_CHKSUM = " \
16 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ 16 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
17" 17"
18 18
19#FIXME: xkb should be optional; we add it here to fix the build error without it
20# (https://bugreports.qt.io/browse/QTBUG-54851)
21PACKAGECONFIG ?= " \ 19PACKAGECONFIG ?= " \
22 compositor-api \ 20 wayland-client \
21 wayland-server \
23 wayland-egl \ 22 wayland-egl \
24 xkb \ 23 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-egl xcomposite-glx', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcompositor xkb glx', '', d)} \
26" 24"
27 25PACKAGECONFIG_class-native ?= ""
28PACKAGECONFIG[compositor-api] = "CONFIG+=wayland-compositor" 26PACKAGECONFIG_class-nativesdk ?= ""
29PACKAGECONFIG[xcompositor] = "CONFIG+=config_xcomposite CONFIG+=done_config_xcomposite,CONFIG+=done_config_xcomposite,libxcomposite" 27QMAKE_PROFILES_class-native = "${S}/src/qtwaylandscanner"
30PACKAGECONFIG[glx] = "CONFIG+=config_glx CONFIG+=done_config_glx,CONFIG+=done_config_glx,virtual/mesa" 28QMAKE_PROFILES_class-nativesdk = "${S}/src/qtwaylandscanner"
31PACKAGECONFIG[xkb] = "CONFIG+=config_xkbcommon CONFIG+=done_config_xkbcommon,CONFIG+=done_config_xkbcommon,libxkbcommon xproto" 29B_class-native = "${SEPB}/src/qtwaylandscanner"
32PACKAGECONFIG[wayland-egl] = "CONFIG+=config_wayland_egl CONFIG+=done_config_wayland_egl,CONFIG+=done_config_wayland_egl,virtual/egl" 30B_class-nativesdk = "${SEPB}/src/qtwaylandscanner"
33PACKAGECONFIG[brcm-egl] = "CONFIG+=config_brcm_egl CONFIG+=done_config_brcm_egl,CONFIG+=done_config_brcm_egl,virtual/egl" 31
34PACKAGECONFIG[drm-egl] = "CONFIG+=config_drm_egl_server CONFIG+=done_config_drm_egl_server,CONFIG+=done_config_drm_egl_server,libdrm virtual/egl" 32PACKAGECONFIG[wayland-client] = "-feature-wayland-client,-no-feature-wayland-client"
35PACKAGECONFIG[libhybris-egl] = "CONFIG+=config_libhybris_egl_server CONFIG+=done_config_libhybris_egl_server,CONFIG+=done_config_libhybris_egl_server,libhybris" 33PACKAGECONFIG[wayland-server] = "-feature-wayland-server,-no-feature-wayland-server"
36 34PACKAGECONFIG[xcomposite-egl] = "-feature-xcomposite-egl,-no-feature-xcomposite-egl,libxcomposite"
37EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" 35PACKAGECONFIG[xcomposite-glx] = "-feature-xcomposite-glx,-no-feature-xcomposite-glx,virtual/mesa"
38 36PACKAGECONFIG[wayland-egl] = "-feature-wayland-egl,-no-feature-wayland-egl,virtual/egl"
39FILES_${PN}-plugins += " \ 37PACKAGECONFIG[wayland-brcm] = "-feature-wayland-brcm,-no-feature-wayland-brcm,virtual/egl"
40 ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \ 38PACKAGECONFIG[drm-egl-server] = "-feature-drm-egl-server,-no-feature-drm-egl-server,libdrm virtual/egl"
41" 39PACKAGECONFIG[libhybris-egl-server] = "-feature-libhybris-egl-server,-no-feature-libhybris-egl-server,libhybris"
42 40
43FILES_${PN}-plugins-dbg += " \ 41EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}"
44 ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ 42
45" 43SRCREV = "0e2a950895805457a45abe860bc91a7cc4ba405e"
46 44
47SRC_URI += " \ 45BBCLASSEXTEND =+ "native nativesdk"
48 file://0001-examples-wayland-include-server-buffer-only-when-bui.patch \
49 file://0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch \
50"
51
52SRCREV = "a172672484b9496819e588b51ac2ff9fb4a21941"