diff options
Diffstat (limited to 'recipes-qt/qt5/qtwayland_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtwayland_git.bb | 55 |
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) | ||
21 | PACKAGECONFIG ?= " \ | 19 | PACKAGECONFIG ?= " \ |
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 | 25 | PACKAGECONFIG_class-native ?= "" | |
28 | PACKAGECONFIG[compositor-api] = "CONFIG+=wayland-compositor" | 26 | PACKAGECONFIG_class-nativesdk ?= "" |
29 | PACKAGECONFIG[xcompositor] = "CONFIG+=config_xcomposite CONFIG+=done_config_xcomposite,CONFIG+=done_config_xcomposite,libxcomposite" | 27 | QMAKE_PROFILES_class-native = "${S}/src/qtwaylandscanner" |
30 | PACKAGECONFIG[glx] = "CONFIG+=config_glx CONFIG+=done_config_glx,CONFIG+=done_config_glx,virtual/mesa" | 28 | QMAKE_PROFILES_class-nativesdk = "${S}/src/qtwaylandscanner" |
31 | PACKAGECONFIG[xkb] = "CONFIG+=config_xkbcommon CONFIG+=done_config_xkbcommon,CONFIG+=done_config_xkbcommon,libxkbcommon xproto" | 29 | B_class-native = "${SEPB}/src/qtwaylandscanner" |
32 | PACKAGECONFIG[wayland-egl] = "CONFIG+=config_wayland_egl CONFIG+=done_config_wayland_egl,CONFIG+=done_config_wayland_egl,virtual/egl" | 30 | B_class-nativesdk = "${SEPB}/src/qtwaylandscanner" |
33 | PACKAGECONFIG[brcm-egl] = "CONFIG+=config_brcm_egl CONFIG+=done_config_brcm_egl,CONFIG+=done_config_brcm_egl,virtual/egl" | 31 | |
34 | PACKAGECONFIG[drm-egl] = "CONFIG+=config_drm_egl_server CONFIG+=done_config_drm_egl_server,CONFIG+=done_config_drm_egl_server,libdrm virtual/egl" | 32 | PACKAGECONFIG[wayland-client] = "-feature-wayland-client,-no-feature-wayland-client" |
35 | PACKAGECONFIG[libhybris-egl] = "CONFIG+=config_libhybris_egl_server CONFIG+=done_config_libhybris_egl_server,CONFIG+=done_config_libhybris_egl_server,libhybris" | 33 | PACKAGECONFIG[wayland-server] = "-feature-wayland-server,-no-feature-wayland-server" |
36 | 34 | PACKAGECONFIG[xcomposite-egl] = "-feature-xcomposite-egl,-no-feature-xcomposite-egl,libxcomposite" | |
37 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 35 | PACKAGECONFIG[xcomposite-glx] = "-feature-xcomposite-glx,-no-feature-xcomposite-glx,virtual/mesa" |
38 | 36 | PACKAGECONFIG[wayland-egl] = "-feature-wayland-egl,-no-feature-wayland-egl,virtual/egl" | |
39 | FILES_${PN}-plugins += " \ | 37 | PACKAGECONFIG[wayland-brcm] = "-feature-wayland-brcm,-no-feature-wayland-brcm,virtual/egl" |
40 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \ | 38 | PACKAGECONFIG[drm-egl-server] = "-feature-drm-egl-server,-no-feature-drm-egl-server,libdrm virtual/egl" |
41 | " | 39 | PACKAGECONFIG[libhybris-egl-server] = "-feature-libhybris-egl-server,-no-feature-libhybris-egl-server,libhybris" |
42 | 40 | ||
43 | FILES_${PN}-plugins-dbg += " \ | 41 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
44 | ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ | 42 | |
45 | " | 43 | SRCREV = "0e2a950895805457a45abe860bc91a7cc4ba405e" |
46 | 44 | ||
47 | SRC_URI += " \ | 45 | BBCLASSEXTEND =+ "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 | |||
52 | SRCREV = "a172672484b9496819e588b51ac2ff9fb4a21941" | ||