diff options
Diffstat (limited to 'recipes-qt/qt5')
27 files changed, 135 insertions, 135 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 8041d80c..72b3cac9 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -60,12 +60,12 @@ SRC_URI += " \ | |||
60 | 60 | ||
61 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" | 61 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" |
62 | 62 | ||
63 | FILES_${PN}-dev += " \ | 63 | FILES:${PN}-dev += " \ |
64 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ | 64 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ |
65 | ${OE_QMAKE_PATH_LIBS}/*.prl \ | 65 | ${OE_QMAKE_PATH_LIBS}/*.prl \ |
66 | " | 66 | " |
67 | 67 | ||
68 | FILES_${PN} += " \ | 68 | FILES:${PN} += " \ |
69 | ${SDKPATHNATIVE}/environment-setup.d \ | 69 | ${SDKPATHNATIVE}/environment-setup.d \ |
70 | " | 70 | " |
71 | 71 | ||
@@ -73,7 +73,7 @@ FILES_${PN} += " \ | |||
73 | # collisions with qt4. This would trigger debian.bbclass to rename the | 73 | # collisions with qt4. This would trigger debian.bbclass to rename the |
74 | # package, since it doesn't detect binaries in subdirs. Explicitly | 74 | # package, since it doesn't detect binaries in subdirs. Explicitly |
75 | # disable package auto-renaming for the tools-package. | 75 | # disable package auto-renaming for the tools-package. |
76 | DEBIAN_NOAUTONAME_${PN} = "1" | 76 | DEBIAN_NOAUTONAME:${PN} = "1" |
77 | 77 | ||
78 | QT_CONFIG_FLAGS += " \ | 78 | QT_CONFIG_FLAGS += " \ |
79 | -shared \ | 79 | -shared \ |
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index 3690b3b0..18a25433 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \ | |||
9 | " | 9 | " |
10 | 10 | ||
11 | DEPENDS += "qtbase" | 11 | DEPENDS += "qtbase" |
12 | DEPENDS_class-target += "qtdeclarative qt3d-native" | 12 | DEPENDS:class-target += "qtdeclarative qt3d-native" |
13 | 13 | ||
14 | # Patches from https://github.com/meta-qt5/qt3d/commits/b5.12 | 14 | # Patches from https://github.com/meta-qt5/qt3d/commits/b5.12 |
15 | # 5.12.meta-qt5.2 | 15 | # 5.12.meta-qt5.2 |
@@ -18,8 +18,8 @@ SRC_URI += " \ | |||
18 | " | 18 | " |
19 | 19 | ||
20 | PACKAGECONFIG ??= "" | 20 | PACKAGECONFIG ??= "" |
21 | PACKAGECONFIG_class-native ??= "tools-only" | 21 | PACKAGECONFIG:class-native ??= "tools-only" |
22 | PACKAGECONFIG_class-nativesdk ??= "tools-only" | 22 | PACKAGECONFIG:class-nativesdk ??= "tools-only" |
23 | PACKAGECONFIG[tools-only] = "" | 23 | PACKAGECONFIG[tools-only] = "" |
24 | PACKAGECONFIG[system-assimp] = "-feature-system-assimp,-no-feature-system-assimp,assimp" | 24 | PACKAGECONFIG[system-assimp] = "-feature-system-assimp,-no-feature-system-assimp,assimp" |
25 | PACKAGECONFIG[qtgamepad] = ",,qtgamepad" | 25 | PACKAGECONFIG[qtgamepad] = ",,qtgamepad" |
@@ -29,7 +29,7 @@ EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | |||
29 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tools-only', 'CONFIG+=tools-only QMAKE_USE_PRIVATE+=zlib', '', d)}" | 29 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tools-only', 'CONFIG+=tools-only QMAKE_USE_PRIVATE+=zlib', '', d)}" |
30 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtgamepad', 'CONFIG+=OE_QTGAMEPAD_ENABLED', '', d)}" | 30 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtgamepad', 'CONFIG+=OE_QTGAMEPAD_ENABLED', '', d)}" |
31 | 31 | ||
32 | do_configure_prepend() { | 32 | do_configure:prepend() { |
33 | # disable qtgamepad test if it isn't enabled by PACKAGECONFIG | 33 | # disable qtgamepad test if it isn't enabled by PACKAGECONFIG |
34 | sed -e 's/^\(qtHaveModule(gamepad)\)/OE_QTGAMEPAD_ENABLED:\1/' -i \ | 34 | sed -e 's/^\(qtHaveModule(gamepad)\)/OE_QTGAMEPAD_ENABLED:\1/' -i \ |
35 | ${S}/src/input/frontend/frontend.pri \ | 35 | ${S}/src/input/frontend/frontend.pri \ |
diff --git a/recipes-qt/qt5/qt5-creator_git.bb b/recipes-qt/qt5/qt5-creator_git.bb index 6a8887ed..55a49cea 100644 --- a/recipes-qt/qt5/qt5-creator_git.bb +++ b/recipes-qt/qt5/qt5-creator_git.bb | |||
@@ -15,8 +15,8 @@ LIC_FILES_CHKSUM = " \ | |||
15 | inherit qmake5 | 15 | inherit qmake5 |
16 | 16 | ||
17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native" | 17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native" |
18 | DEPENDS_append_toolchain-clang = " clang llvm-common" | 18 | DEPENDS:append:toolchain-clang = " clang llvm-common" |
19 | DEPENDS_append_libc-musl = " libexecinfo" | 19 | DEPENDS:append:libc-musl = " libexecinfo" |
20 | 20 | ||
21 | SRCREV = "8768e39d3c8e74e583eca3897cc6de53a99c3dde" | 21 | SRCREV = "8768e39d3c8e74e583eca3897cc6de53a99c3dde" |
22 | PV = "4.7.1+git${SRCPV}" | 22 | PV = "4.7.1+git${SRCPV}" |
@@ -28,7 +28,7 @@ SRC_URI = " \ | |||
28 | file://0002-botan.pro-pass-QMAKE_AR.patch \ | 28 | file://0002-botan.pro-pass-QMAKE_AR.patch \ |
29 | file://0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch \ | 29 | file://0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch \ |
30 | " | 30 | " |
31 | SRC_URI_append_libc-musl = " file://0003-Link-with-libexecinfo-on-musl.patch" | 31 | SRC_URI:append:libc-musl = " file://0003-Link-with-libexecinfo-on-musl.patch" |
32 | 32 | ||
33 | S = "${WORKDIR}/git" | 33 | S = "${WORKDIR}/git" |
34 | 34 | ||
@@ -36,7 +36,7 @@ EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}${QT_DIR_NAME}" | |||
36 | 36 | ||
37 | EXTRANATIVEPATH += "chrpath-native" | 37 | EXTRANATIVEPATH += "chrpath-native" |
38 | 38 | ||
39 | do_configure_append() { | 39 | do_configure:append() { |
40 | # Find native tools | 40 | # Find native tools |
41 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile | 41 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile |
42 | if [ -e ${B}/share/qtcreator/translations/Makefile ]; then | 42 | if [ -e ${B}/share/qtcreator/translations/Makefile ]; then |
@@ -50,28 +50,28 @@ do_configure_append() { | |||
50 | do_install() { | 50 | do_install() { |
51 | oe_runmake install INSTALL_ROOT=${D}${prefix} | 51 | oe_runmake install INSTALL_ROOT=${D}${prefix} |
52 | } | 52 | } |
53 | do_install_append_toolchain-clang () { | 53 | do_install:append:toolchain-clang () { |
54 | # Remove RPATHs embedded in bins | 54 | # Remove RPATHs embedded in bins |
55 | chrpath --delete ${D}${libdir}/qtcreator/plugins/libClang* | 55 | chrpath --delete ${D}${libdir}/qtcreator/plugins/libClang* |
56 | chrpath --delete ${D}${libexecdir}/qtcreator/clang* | 56 | chrpath --delete ${D}${libexecdir}/qtcreator/clang* |
57 | } | 57 | } |
58 | 58 | ||
59 | FILES_${PN} += " \ | 59 | FILES:${PN} += " \ |
60 | ${datadir}/qtcreator \ | 60 | ${datadir}/qtcreator \ |
61 | ${datadir}/metainfo \ | 61 | ${datadir}/metainfo \ |
62 | ${datadir}/icons \ | 62 | ${datadir}/icons \ |
63 | ${libdir}${QT_DIR_NAME}/qtcreator \ | 63 | ${libdir}${QT_DIR_NAME}/qtcreator \ |
64 | " | 64 | " |
65 | 65 | ||
66 | FILES_${PN}-dev += " \ | 66 | FILES:${PN}-dev += " \ |
67 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ | 67 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ |
68 | " | 68 | " |
69 | 69 | ||
70 | RDEPENDS_${PN} += "perl python" | 70 | RDEPENDS:${PN} += "perl python" |
71 | RCONFLICTS_${PN} = "qt-creator" | 71 | RCONFLICTS:${PN} = "qt-creator" |
72 | 72 | ||
73 | # To give best user experience out of the box.. | 73 | # To give best user experience out of the box.. |
74 | RRECOMMENDS_${PN} += " \ | 74 | RRECOMMENDS:${PN} += " \ |
75 | packagegroup-qt5-toolchain-target \ | 75 | packagegroup-qt5-toolchain-target \ |
76 | binutils \ | 76 | binutils \ |
77 | ccache \ | 77 | ccache \ |
@@ -81,4 +81,4 @@ RRECOMMENDS_${PN} += " \ | |||
81 | " | 81 | " |
82 | 82 | ||
83 | # ERROR: qt5-creator-4.5.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/libqbscore.so.1.10.1' | 83 | # ERROR: qt5-creator-4.5.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/libqbscore.so.1.10.1' |
84 | INSANE_SKIP_${PN} += "ldflags" | 84 | INSANE_SKIP:${PN} += "ldflags" |
diff --git a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb index 4e83c267..87f51181 100644 --- a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb +++ b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb | |||
@@ -25,6 +25,6 @@ S = "${WORKDIR}/git/vboxtouch" | |||
25 | 25 | ||
26 | inherit qmake5 | 26 | inherit qmake5 |
27 | 27 | ||
28 | FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/generic/libvboxtouchplugin.so" | 28 | FILES:${PN} += "${OE_QMAKE_PATH_PLUGINS}/generic/libvboxtouchplugin.so" |
29 | FILES_${PN}-dev += "${OE_QMAKE_PATH_LIBS}/cmake/*" | 29 | FILES:${PN}-dev += "${OE_QMAKE_PATH_LIBS}/cmake/*" |
30 | 30 | ||
diff --git a/recipes-qt/qt5/qt5-ptest.inc b/recipes-qt/qt5/qt5-ptest.inc index 56efe106..9ef732dc 100644 --- a/recipes-qt/qt5/qt5-ptest.inc +++ b/recipes-qt/qt5/qt5-ptest.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | FILESEXTRAPATHS_append := ":${THISDIR}/ptest" | 1 | FILESEXTRAPATHS:append := ":${THISDIR}/ptest" |
2 | SRC_URI += "file://run-ptest" | 2 | SRC_URI += "file://run-ptest" |
3 | 3 | ||
4 | inherit ptest | 4 | inherit ptest |
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index e0cd8949..c485162e 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -47,36 +47,36 @@ python __anonymous() { | |||
47 | 47 | ||
48 | # Many examples come with libraries installed outside of standard libdir, | 48 | # Many examples come with libraries installed outside of standard libdir, |
49 | # suppress QA check complaining | 49 | # suppress QA check complaining |
50 | INSANE_SKIP_${PN}-dbg += "libdir" | 50 | INSANE_SKIP:${PN}-dbg += "libdir" |
51 | INSANE_SKIP_${PN}-examples += "libdir staticdev dev-so" | 51 | INSANE_SKIP:${PN}-examples += "libdir staticdev dev-so" |
52 | 52 | ||
53 | PACKAGES =. "${PN}-qmldesigner ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples " | 53 | PACKAGES =. "${PN}-qmldesigner ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples " |
54 | 54 | ||
55 | ALLOW_EMPTY_${PN} = "1" | 55 | ALLOW_EMPTY:${PN} = "1" |
56 | ALLOW_EMPTY_${PN}-plugins = "1" | 56 | ALLOW_EMPTY:${PN}-plugins = "1" |
57 | ALLOW_EMPTY_${PN}-qmlplugins = "1" | 57 | ALLOW_EMPTY:${PN}-qmlplugins = "1" |
58 | 58 | ||
59 | RRECOMMENDS_${PN} = " \ | 59 | RRECOMMENDS:${PN} = " \ |
60 | ${PN}-plugins \ | 60 | ${PN}-plugins \ |
61 | ${PN}-qmlplugins \ | 61 | ${PN}-qmlplugins \ |
62 | " | 62 | " |
63 | RRECOMMENDS_${PN}_class-native = "" | 63 | RRECOMMENDS:${PN}:class-native = "" |
64 | 64 | ||
65 | RRECOMMENDS_${PN}-dev = " \ | 65 | RRECOMMENDS:${PN}-dev = " \ |
66 | ${PN} \ | 66 | ${PN} \ |
67 | ${PN}-mkspecs \ | 67 | ${PN}-mkspecs \ |
68 | ${PN}-qmldesigner \ | 68 | ${PN}-qmldesigner \ |
69 | " | 69 | " |
70 | 70 | ||
71 | # extra packages | 71 | # extra packages |
72 | FILES_${PN}-qmldesigner += " \ | 72 | FILES:${PN}-qmldesigner += " \ |
73 | ${OE_QMAKE_PATH_QML}/*/designer \ | 73 | ${OE_QMAKE_PATH_QML}/*/designer \ |
74 | ${OE_QMAKE_PATH_QML}/*/*/designer \ | 74 | ${OE_QMAKE_PATH_QML}/*/*/designer \ |
75 | ${OE_QMAKE_PATH_QML}/*/*/*/designer \ | 75 | ${OE_QMAKE_PATH_QML}/*/*/*/designer \ |
76 | " | 76 | " |
77 | 77 | ||
78 | # qmlplugins 1-4 levels of subdirs qmldir + *{.so,*.qmltypes,*.qml,*.qmlc,*.js,*.jsc} | 78 | # qmlplugins 1-4 levels of subdirs qmldir + *{.so,*.qmltypes,*.qml,*.qmlc,*.js,*.jsc} |
79 | FILES_${PN}-qmlplugins = " \ | 79 | FILES:${PN}-qmlplugins = " \ |
80 | ${OE_QMAKE_PATH_QML}/*.qmltypes \ | 80 | ${OE_QMAKE_PATH_QML}/*.qmltypes \ |
81 | ${OE_QMAKE_PATH_QML}/*/*${SOLIBSDEV} \ | 81 | ${OE_QMAKE_PATH_QML}/*/*${SOLIBSDEV} \ |
82 | ${OE_QMAKE_PATH_QML}/*/qmldir \ | 82 | ${OE_QMAKE_PATH_QML}/*/qmldir \ |
@@ -114,24 +114,24 @@ FILES_${PN}-qmlplugins = " \ | |||
114 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*/*.png \ | 114 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*/*.png \ |
115 | " | 115 | " |
116 | 116 | ||
117 | FILES_${PN}-tools = " \ | 117 | FILES:${PN}-tools = " \ |
118 | ${OE_QMAKE_PATH_BINS}/* \ | 118 | ${OE_QMAKE_PATH_BINS}/* \ |
119 | " | 119 | " |
120 | FILES_${PN}-plugins = " \ | 120 | FILES:${PN}-plugins = " \ |
121 | ${OE_QMAKE_PATH_PLUGINS}/*/*${SOLIBSDEV} \ | 121 | ${OE_QMAKE_PATH_PLUGINS}/*/*${SOLIBSDEV} \ |
122 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \ | 122 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \ |
123 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*/*${SOLIBSDEV} \ | 123 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*/*${SOLIBSDEV} \ |
124 | " | 124 | " |
125 | FILES_${PN}-mkspecs = "\ | 125 | FILES:${PN}-mkspecs = "\ |
126 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ | 126 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ |
127 | " | 127 | " |
128 | 128 | ||
129 | # modifications to normal packages | 129 | # modifications to normal packages |
130 | FILES_${PN} += " \ | 130 | FILES:${PN} += " \ |
131 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBS} \ | 131 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBS} \ |
132 | ${OE_QMAKE_PATH_LIBEXECS} \ | 132 | ${OE_QMAKE_PATH_LIBEXECS} \ |
133 | " | 133 | " |
134 | FILES_${PN}-dev += " \ | 134 | FILES:${PN}-dev += " \ |
135 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBSDEV} \ | 135 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBSDEV} \ |
136 | ${OE_QMAKE_PATH_LIBS}/pkgconfig \ | 136 | ${OE_QMAKE_PATH_LIBS}/pkgconfig \ |
137 | ${OE_QMAKE_PATH_LIBS}/cmake/* \ | 137 | ${OE_QMAKE_PATH_LIBS}/cmake/* \ |
@@ -139,7 +139,7 @@ FILES_${PN}-dev += " \ | |||
139 | ${OE_QMAKE_PATH_LIBS}/*.la \ | 139 | ${OE_QMAKE_PATH_LIBS}/*.la \ |
140 | ${OE_QMAKE_PATH_HEADERS}/* \ | 140 | ${OE_QMAKE_PATH_HEADERS}/* \ |
141 | " | 141 | " |
142 | FILES_${PN}-staticdev += " \ | 142 | FILES:${PN}-staticdev += " \ |
143 | ${OE_QMAKE_PATH_LIBS}/*.a \ | 143 | ${OE_QMAKE_PATH_LIBS}/*.a \ |
144 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ | 144 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ |
145 | ${OE_QMAKE_PATH_PLUGINS}/*/*.prl \ | 145 | ${OE_QMAKE_PATH_PLUGINS}/*/*.prl \ |
@@ -154,8 +154,8 @@ FILES_${PN}-staticdev += " \ | |||
154 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.a \ | 154 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.a \ |
155 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ | 155 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ |
156 | " | 156 | " |
157 | FILES_${PN}-examples = " \ | 157 | FILES:${PN}-examples = " \ |
158 | ${OE_QMAKE_PATH_EXAMPLES} \ | 158 | ${OE_QMAKE_PATH_EXAMPLES} \ |
159 | " | 159 | " |
160 | 160 | ||
161 | PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" | 161 | PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 878a20c2..3b148b50 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -55,7 +55,7 @@ SRC_URI += " \ | |||
55 | 55 | ||
56 | CLEANBROKEN = "1" | 56 | CLEANBROKEN = "1" |
57 | 57 | ||
58 | XPLATFORM_toolchain-clang = "linux-oe-clang" | 58 | XPLATFORM:toolchain-clang = "linux-oe-clang" |
59 | XPLATFORM ?= "linux-oe-g++" | 59 | XPLATFORM ?= "linux-oe-g++" |
60 | 60 | ||
61 | QT_CONFIG_FLAGS = " \ | 61 | QT_CONFIG_FLAGS = " \ |
@@ -107,7 +107,7 @@ QT_CONFIG_FLAGS = " \ | |||
107 | # since we cannot set empty set filename to a not existent file | 107 | # since we cannot set empty set filename to a not existent file |
108 | deltask generate_qt_config_file | 108 | deltask generate_qt_config_file |
109 | 109 | ||
110 | do_configure_prepend() { | 110 | do_configure:prepend() { |
111 | # Regenerate header files when they are included in source tarball | 111 | # Regenerate header files when they are included in source tarball |
112 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | 112 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly |
113 | rm -rf ${S}/include | 113 | rm -rf ${S}/include |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 200cb430..76deaedc 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -37,7 +37,7 @@ SRC_URI += "\ | |||
37 | " | 37 | " |
38 | 38 | ||
39 | # for syncqt | 39 | # for syncqt |
40 | RDEPENDS_${PN}-tools += "perl" | 40 | RDEPENDS:${PN}-tools += "perl" |
41 | 41 | ||
42 | # separate some parts of PACKAGECONFIG which are often changed | 42 | # separate some parts of PACKAGECONFIG which are often changed |
43 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)}" | 43 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)}" |
@@ -159,8 +159,8 @@ QT_CONFIG_FLAGS_GOLD = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '- | |||
159 | # OE @ ~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/tests/auto/corelib/kernel/qmetatype $ i586-oe-linux-g++ -m32 -march=i586 --sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot -Wl,-O1 -fuse-ld=bfd -Wl,--enable-new-dtags -o tst_qmetatype .obj/tst_qmetatype.o -L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/lib -lQt5Test -lQt5Core -lpthread | 159 | # OE @ ~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/tests/auto/corelib/kernel/qmetatype $ i586-oe-linux-g++ -m32 -march=i586 --sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot -Wl,-O1 -fuse-ld=bfd -Wl,--enable-new-dtags -o tst_qmetatype .obj/tst_qmetatype.o -L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/lib -lQt5Test -lQt5Core -lpthread |
160 | # | 160 | # |
161 | # http://errors.yoctoproject.org/Errors/Details/150329/ | 161 | # http://errors.yoctoproject.org/Errors/Details/150329/ |
162 | # QT_CONFIG_FLAGS_GOLD_x86 = "-no-use-gold-linker" | 162 | # QT_CONFIG_FLAGS_GOLD:x86 = "-no-use-gold-linker" |
163 | # LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 163 | # LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
164 | 164 | ||
165 | # since the upgrade to 5.12.2 this got worse, with gold enabled configure will no longer pass the test for xlib | 165 | # since the upgrade to 5.12.2 this got worse, with gold enabled configure will no longer pass the test for xlib |
166 | # because with full paths to libraries since qtbase commit 521a85395 it fails to link with | 166 | # because with full paths to libraries since qtbase commit 521a85395 it fails to link with |
@@ -170,7 +170,7 @@ QT_CONFIG_FLAGS_GOLD = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '- | |||
170 | # resulting in do_configure failure: | 170 | # resulting in do_configure failure: |
171 | # http://errors.yoctoproject.org/Errors/Details/237856/ | 171 | # http://errors.yoctoproject.org/Errors/Details/237856/ |
172 | QT_CONFIG_FLAGS_GOLD = "-no-use-gold-linker" | 172 | QT_CONFIG_FLAGS_GOLD = "-no-use-gold-linker" |
173 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 173 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
174 | 174 | ||
175 | QT_CONFIG_FLAGS += " \ | 175 | QT_CONFIG_FLAGS += " \ |
176 | ${QT_CONFIG_FLAGS_GOLD} \ | 176 | ${QT_CONFIG_FLAGS_GOLD} \ |
@@ -182,9 +182,9 @@ QT_CONFIG_FLAGS += " \ | |||
182 | ${PACKAGECONFIG_CONFARGS} \ | 182 | ${PACKAGECONFIG_CONFARGS} \ |
183 | " | 183 | " |
184 | 184 | ||
185 | export CC_host_toolchain-clang = "clang" | 185 | export CC_host:toolchain-clang = "clang" |
186 | export CXX_host_toolchain-clang = "clang++" | 186 | export CXX_host:toolchain-clang = "clang++" |
187 | export LD_host_toolchain-clang = "clang++" | 187 | export LD_host:toolchain-clang = "clang++" |
188 | export CC_host ?= "gcc" | 188 | export CC_host ?= "gcc" |
189 | export CXX_host ?= "g++" | 189 | export CXX_host ?= "g++" |
190 | export LD_host ?= "g++" | 190 | export LD_host ?= "g++" |
@@ -193,13 +193,13 @@ export LD_host ?= "g++" | |||
193 | # since we cannot set empty set filename to a not existent file | 193 | # since we cannot set empty set filename to a not existent file |
194 | deltask generate_qt_config_file | 194 | deltask generate_qt_config_file |
195 | 195 | ||
196 | XPLATFORM_toolchain-clang = "linux-oe-clang" | 196 | XPLATFORM:toolchain-clang = "linux-oe-clang" |
197 | XPLATFORM ?= "linux-oe-g++" | 197 | XPLATFORM ?= "linux-oe-g++" |
198 | 198 | ||
199 | # Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment | 199 | # Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment |
200 | # when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp | 200 | # when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp |
201 | ARM_INSTRUCTION_SET_armv4 = "arm" | 201 | ARM_INSTRUCTION_SET:armv4 = "arm" |
202 | ARM_INSTRUCTION_SET_armv5 = "arm" | 202 | ARM_INSTRUCTION_SET:armv5 = "arm" |
203 | 203 | ||
204 | do_configure() { | 204 | do_configure() { |
205 | # Regenerate header files when they are included in source tarball | 205 | # Regenerate header files when they are included in source tarball |
@@ -237,7 +237,7 @@ do_configure() { | |||
237 | ${QT_CONFIG_FLAGS} | 237 | ${QT_CONFIG_FLAGS} |
238 | } | 238 | } |
239 | 239 | ||
240 | do_install_append() { | 240 | do_install:append() { |
241 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" | 241 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" |
242 | touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri | 242 | touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri |
243 | 243 | ||
@@ -274,21 +274,21 @@ do_install_append() { | |||
274 | } | 274 | } |
275 | 275 | ||
276 | # mkspecs have mac specific scripts that depend on perl and bash | 276 | # mkspecs have mac specific scripts that depend on perl and bash |
277 | INSANE_SKIP_${PN}-mkspecs += "file-rdeps" | 277 | INSANE_SKIP:${PN}-mkspecs += "file-rdeps" |
278 | 278 | ||
279 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" | 279 | RRECOMMENDS:${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" |
280 | 280 | ||
281 | TARGET_MKSPEC ?= "linux-g++" | 281 | TARGET_MKSPEC ?= "linux-g++" |
282 | 282 | ||
283 | # use clean mkspecs on target | 283 | # use clean mkspecs on target |
284 | pkg_postinst_${PN}-tools () { | 284 | pkg_postinst:${PN}-tools () { |
285 | sed -i \ | 285 | sed -i \ |
286 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ | 286 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ |
287 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ | 287 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ |
288 | $D${OE_QMAKE_PATH_BINS}/qt.conf | 288 | $D${OE_QMAKE_PATH_BINS}/qt.conf |
289 | } | 289 | } |
290 | 290 | ||
291 | pkg_postinst_${PN}-mkspecs () { | 291 | pkg_postinst:${PN}-mkspecs () { |
292 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri | 292 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri |
293 | sed -i \ | 293 | sed -i \ |
294 | -e 's: cross_compile : :g' \ | 294 | -e 's: cross_compile : :g' \ |
diff --git a/recipes-qt/qt5/qtcharts_git.bb b/recipes-qt/qt5/qtcharts_git.bb index 50b7e1de..96fdba85 100644 --- a/recipes-qt/qt5/qtcharts_git.bb +++ b/recipes-qt/qt5/qtcharts_git.bb | |||
@@ -12,6 +12,6 @@ SRCREV = "754f8d15a01bae966c43749e3cc833d2def7e808" | |||
12 | 12 | ||
13 | # The same issue as in qtbase: | 13 | # The same issue as in qtbase: |
14 | # http://errors.yoctoproject.org/Errors/Details/152641/ | 14 | # http://errors.yoctoproject.org/Errors/Details/152641/ |
15 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 15 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
16 | 16 | ||
17 | PACKAGECONFIG ?= "qtquickcompiler" | 17 | PACKAGECONFIG ?= "qtquickcompiler" |
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index 39a6ab38..8999934e 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
@@ -19,7 +19,7 @@ PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug" | |||
19 | PACKAGECONFIG[qml-network] = "-qml-network, -no-qml-network" | 19 | PACKAGECONFIG[qml-network] = "-qml-network, -no-qml-network" |
20 | PACKAGECONFIG[static] = ",,qtdeclarative-native" | 20 | PACKAGECONFIG[static] = ",,qtdeclarative-native" |
21 | 21 | ||
22 | do_install_append_class-nativesdk() { | 22 | do_install:append:class-nativesdk() { |
23 | # qml files not needed in nativesdk | 23 | # qml files not needed in nativesdk |
24 | rm -rf ${D}${OE_QMAKE_PATH_QML} | 24 | rm -rf ${D}${OE_QMAKE_PATH_QML} |
25 | } | 25 | } |
diff --git a/recipes-qt/qt5/qtgraphicaleffects_git.bb b/recipes-qt/qt5/qtgraphicaleffects_git.bb index 08762bc0..62d72ffd 100644 --- a/recipes-qt/qt5/qtgraphicaleffects_git.bb +++ b/recipes-qt/qt5/qtgraphicaleffects_git.bb | |||
@@ -12,10 +12,10 @@ LIC_FILES_CHKSUM = " \ | |||
12 | 12 | ||
13 | DEPENDS += "qtdeclarative qtdeclarative-native" | 13 | DEPENDS += "qtdeclarative qtdeclarative-native" |
14 | 14 | ||
15 | RDEPENDS_${PN}-dev = "" | 15 | RDEPENDS:${PN}-dev = "" |
16 | 16 | ||
17 | # The same issue as in qtbase: | 17 | # The same issue as in qtbase: |
18 | # http://errors.yoctoproject.org/Errors/Build/44912/ | 18 | # http://errors.yoctoproject.org/Errors/Build/44912/ |
19 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 19 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
20 | 20 | ||
21 | SRCREV = "fabaae2f8039d9f12e8531e2dc215b24ffe8d445" | 21 | SRCREV = "fabaae2f8039d9f12e8531e2dc215b24ffe8d445" |
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb index 163202ee..1f9a1116 100644 --- a/recipes-qt/qt5/qtlocation_git.bb +++ b/recipes-qt/qt5/qtlocation_git.bb | |||
@@ -28,7 +28,7 @@ EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | |||
28 | 28 | ||
29 | # The same issue as in qtbase: | 29 | # The same issue as in qtbase: |
30 | # http://errors.yoctoproject.org/Errors/Details/152640/ | 30 | # http://errors.yoctoproject.org/Errors/Details/152640/ |
31 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 31 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
32 | 32 | ||
33 | QT_MODULE_BRANCH_MAPBOXGL = "upstream/qt-staging" | 33 | QT_MODULE_BRANCH_MAPBOXGL = "upstream/qt-staging" |
34 | 34 | ||
diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index a6116bae..8422abc6 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb | |||
@@ -35,6 +35,6 @@ SRC_URI += "\ | |||
35 | 35 | ||
36 | # The same issue as in qtbase: | 36 | # The same issue as in qtbase: |
37 | # http://errors.yoctoproject.org/Errors/Build/44914/ | 37 | # http://errors.yoctoproject.org/Errors/Build/44914/ |
38 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 38 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
39 | 39 | ||
40 | SRCREV = "67ab370d6a87d3b44e1cc4efb0f3fc57d5ac751e" | 40 | SRCREV = "67ab370d6a87d3b44e1cc4efb0f3fc57d5ac751e" |
diff --git a/recipes-qt/qt5/qtquickcontrols_git.bb b/recipes-qt/qt5/qtquickcontrols_git.bb index 70e7d820..3ca176e1 100644 --- a/recipes-qt/qt5/qtquickcontrols_git.bb +++ b/recipes-qt/qt5/qtquickcontrols_git.bb | |||
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ | |||
12 | 12 | ||
13 | DEPENDS += "qtdeclarative qtdeclarative-native" | 13 | DEPENDS += "qtdeclarative qtdeclarative-native" |
14 | 14 | ||
15 | FILES_${PN}-qmlplugins += " \ | 15 | FILES:${PN}-qmlplugins += " \ |
16 | ${OE_QMAKE_PATH_QML}/QtQuick/Controls/Shaders \ | 16 | ${OE_QMAKE_PATH_QML}/QtQuick/Controls/Shaders \ |
17 | ${OE_QMAKE_PATH_QML}/QtQuick/Dialogs/qml/icons.ttf \ | 17 | ${OE_QMAKE_PATH_QML}/QtQuick/Dialogs/qml/icons.ttf \ |
18 | " | 18 | " |
diff --git a/recipes-qt/qt5/qtremoteobjects_git.bb b/recipes-qt/qt5/qtremoteobjects_git.bb index 3d1fcfc4..a2f0c04b 100644 --- a/recipes-qt/qt5/qtremoteobjects_git.bb +++ b/recipes-qt/qt5/qtremoteobjects_git.bb | |||
@@ -18,8 +18,8 @@ SRC_URI += " \ | |||
18 | " | 18 | " |
19 | 19 | ||
20 | PACKAGECONFIG ??= "" | 20 | PACKAGECONFIG ??= "" |
21 | PACKAGECONFIG_class-native ??= "tools-only" | 21 | PACKAGECONFIG:class-native ??= "tools-only" |
22 | PACKAGECONFIG_class-nativesdk ??= "tools-only" | 22 | PACKAGECONFIG:class-nativesdk ??= "tools-only" |
23 | PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" | 23 | PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" |
24 | 24 | ||
25 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 25 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb index 5b68392b..3a5dc178 100644 --- a/recipes-qt/qt5/qtscript_git.bb +++ b/recipes-qt/qt5/qtscript_git.bb | |||
@@ -27,13 +27,13 @@ SRC_URI += " \ | |||
27 | #{standard input}:23: Error: selected processor does not support Thumb mode `stmdb sp!,{r4-r8,lr}' | 27 | #{standard input}:23: Error: selected processor does not support Thumb mode `stmdb sp!,{r4-r8,lr}' |
28 | #{standard input}:30: Error: lo register required -- `ldmia sp!,{r4-r8,lr}' | 28 | #{standard input}:30: Error: lo register required -- `ldmia sp!,{r4-r8,lr}' |
29 | #{standard input}:43: Error: lo register required -- `ldmia sp!,{r4-r8,lr}' | 29 | #{standard input}:43: Error: lo register required -- `ldmia sp!,{r4-r8,lr}' |
30 | ARM_INSTRUCTION_SET_armv4 = "arm" | 30 | ARM_INSTRUCTION_SET:armv4 = "arm" |
31 | ARM_INSTRUCTION_SET_armv5 = "arm" | 31 | ARM_INSTRUCTION_SET:armv5 = "arm" |
32 | 32 | ||
33 | DEPENDS += "qtbase" | 33 | DEPENDS += "qtbase" |
34 | 34 | ||
35 | # The same issue as in qtbase: | 35 | # The same issue as in qtbase: |
36 | # http://errors.yoctoproject.org/Errors/Build/44915/ | 36 | # http://errors.yoctoproject.org/Errors/Build/44915/ |
37 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 37 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
38 | 38 | ||
39 | SRCREV = "2ec32b5fdb9671f44e506964ae03109e557dfb99" | 39 | SRCREV = "2ec32b5fdb9671f44e506964ae03109e557dfb99" |
diff --git a/recipes-qt/qt5/qtscxml_git.bb b/recipes-qt/qt5/qtscxml_git.bb index f9793f38..91f5735e 100644 --- a/recipes-qt/qt5/qtscxml_git.bb +++ b/recipes-qt/qt5/qtscxml_git.bb | |||
@@ -16,7 +16,7 @@ SRCREV = "878112bf670bb9f9caa09de290c63b0f9078d3f0" | |||
16 | # 5.12.meta-qt5.2 | 16 | # 5.12.meta-qt5.2 |
17 | SRC_URI += "file://0001-Use-external-host-bin-path-for-cmake-file.patch" | 17 | SRC_URI += "file://0001-Use-external-host-bin-path-for-cmake-file.patch" |
18 | 18 | ||
19 | do_install_append_class-nativesdk() { | 19 | do_install:append:class-nativesdk() { |
20 | # qml files not needed in nativesdk | 20 | # qml files not needed in nativesdk |
21 | rm -rf ${D}${OE_QMAKE_PATH_QML} | 21 | rm -rf ${D}${OE_QMAKE_PATH_QML} |
22 | } | 22 | } |
diff --git a/recipes-qt/qt5/qtsystems_git.bb b/recipes-qt/qt5/qtsystems_git.bb index 5f5e1ad8..5bef7c13 100644 --- a/recipes-qt/qt5/qtsystems_git.bb +++ b/recipes-qt/qt5/qtsystems_git.bb | |||
@@ -17,12 +17,12 @@ PACKAGECONFIG[bluez] = "CONFIG+=OE_BLUEZ_ENABLED,,bluez5" | |||
17 | 17 | ||
18 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 18 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
19 | 19 | ||
20 | do_configure_prepend() { | 20 | do_configure:prepend() { |
21 | # disable bluez test if it isn't enabled by PACKAGECONFIG | 21 | # disable bluez test if it isn't enabled by PACKAGECONFIG |
22 | sed -i 's/^ qtCompileTest(bluez)/ OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtsystems.pro | 22 | sed -i 's/^ qtCompileTest(bluez)/ OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtsystems.pro |
23 | } | 23 | } |
24 | 24 | ||
25 | do_install_append() { | 25 | do_install:append() { |
26 | # Remove example.pro file as it is useless | 26 | # Remove example.pro file as it is useless |
27 | rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro | 27 | rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro |
28 | } | 28 | } |
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index f98d13ba..4f993164 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
@@ -21,8 +21,8 @@ SRC_URI += " \ | |||
21 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ | 21 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | FILES_${PN}-tools += "${datadir}${QT_DIR_NAME}/phrasebooks" | 24 | FILES:${PN}-tools += "${datadir}${QT_DIR_NAME}/phrasebooks" |
25 | FILES_${PN}-examples = "${datadir}${QT_DIR_NAME}/examples" | 25 | FILES:${PN}-examples = "${datadir}${QT_DIR_NAME}/examples" |
26 | 26 | ||
27 | PACKAGECONFIG ??= "" | 27 | PACKAGECONFIG ??= "" |
28 | PACKAGECONFIG[qtwebkit] = ",,qtwebkit" | 28 | PACKAGECONFIG[qtwebkit] = ",,qtwebkit" |
diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttranslations_git.bb index 93e87c99..db1b2d51 100644 --- a/recipes-qt/qt5/qttranslations_git.bb +++ b/recipes-qt/qt5/qttranslations_git.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \ | |||
8 | 8 | ||
9 | DEPENDS += "qtbase qttools-native" | 9 | DEPENDS += "qtbase qttools-native" |
10 | 10 | ||
11 | do_install_append() { | 11 | do_install:append() { |
12 | # remove qtquick1 translations - qtquick1 is gone | 12 | # remove qtquick1 translations - qtquick1 is gone |
13 | for transfile in `find ${D}/${OE_QMAKE_PATH_TRANSLATIONS} -name qt_*.qm ! -name qt_help_*.qm`; do | 13 | for transfile in `find ${D}/${OE_QMAKE_PATH_TRANSLATIONS} -name qt_*.qm ! -name qt_help_*.qm`; do |
14 | rm $transfile | 14 | rm $transfile |
@@ -34,67 +34,67 @@ PACKAGES =. " \ | |||
34 | ${PN}-qthelp \ | 34 | ${PN}-qthelp \ |
35 | " | 35 | " |
36 | 36 | ||
37 | FILES_${PN}-assistant = " \ | 37 | FILES:${PN}-assistant = " \ |
38 | ${OE_QMAKE_PATH_TRANSLATIONS}/assistant_*.qm \ | 38 | ${OE_QMAKE_PATH_TRANSLATIONS}/assistant_*.qm \ |
39 | " | 39 | " |
40 | 40 | ||
41 | FILES_${PN}-designer = " \ | 41 | FILES:${PN}-designer = " \ |
42 | ${OE_QMAKE_PATH_TRANSLATIONS}/designer_*.qm \ | 42 | ${OE_QMAKE_PATH_TRANSLATIONS}/designer_*.qm \ |
43 | " | 43 | " |
44 | 44 | ||
45 | FILES_${PN}-linguist = " \ | 45 | FILES:${PN}-linguist = " \ |
46 | ${OE_QMAKE_PATH_TRANSLATIONS}/linguist_*.qm \ | 46 | ${OE_QMAKE_PATH_TRANSLATIONS}/linguist_*.qm \ |
47 | " | 47 | " |
48 | 48 | ||
49 | FILES_${PN}-qtconnectivity = " \ | 49 | FILES:${PN}-qtconnectivity = " \ |
50 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtconnectivity_*.qm \ | 50 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtconnectivity_*.qm \ |
51 | " | 51 | " |
52 | 52 | ||
53 | FILES_${PN}-qtmultimedia = " \ | 53 | FILES:${PN}-qtmultimedia = " \ |
54 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtmultimedia_*.qm \ | 54 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtmultimedia_*.qm \ |
55 | " | 55 | " |
56 | 56 | ||
57 | FILES_${PN}-qtlocation = " \ | 57 | FILES:${PN}-qtlocation = " \ |
58 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtlocation_*.qm \ | 58 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtlocation_*.qm \ |
59 | " | 59 | " |
60 | 60 | ||
61 | FILES_${PN}-qtdeclarative = " \ | 61 | FILES:${PN}-qtdeclarative = " \ |
62 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtdeclarative_*.qm \ | 62 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtdeclarative_*.qm \ |
63 | " | 63 | " |
64 | 64 | ||
65 | FILES_${PN}-qtquickcontrols = " \ | 65 | FILES:${PN}-qtquickcontrols = " \ |
66 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtquickcontrols_*.qm \ | 66 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtquickcontrols_*.qm \ |
67 | " | 67 | " |
68 | 68 | ||
69 | FILES_${PN}-qtquickcontrols2 = " \ | 69 | FILES:${PN}-qtquickcontrols2 = " \ |
70 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtquickcontrols2_*.qm \ | 70 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtquickcontrols2_*.qm \ |
71 | " | 71 | " |
72 | 72 | ||
73 | FILES_${PN}-qtwebsockets = " \ | 73 | FILES:${PN}-qtwebsockets = " \ |
74 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebsockets_*.qm \ | 74 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebsockets_*.qm \ |
75 | " | 75 | " |
76 | 76 | ||
77 | FILES_${PN}-qtwebengine = " \ | 77 | FILES:${PN}-qtwebengine = " \ |
78 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebengine_*.qm \ | 78 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebengine_*.qm \ |
79 | " | 79 | " |
80 | 80 | ||
81 | FILES_${PN}-qtxmlpatterns = " \ | 81 | FILES:${PN}-qtxmlpatterns = " \ |
82 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \ | 82 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \ |
83 | " | 83 | " |
84 | 84 | ||
85 | FILES_${PN}-qtscript = " \ | 85 | FILES:${PN}-qtscript = " \ |
86 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtscript_*.qm \ | 86 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtscript_*.qm \ |
87 | " | 87 | " |
88 | 88 | ||
89 | FILES_${PN}-qtserialport = " \ | 89 | FILES:${PN}-qtserialport = " \ |
90 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtserialport_*.qm \ | 90 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtserialport_*.qm \ |
91 | " | 91 | " |
92 | 92 | ||
93 | FILES_${PN}-qtbase = " \ | 93 | FILES:${PN}-qtbase = " \ |
94 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtbase_*.qm \ | 94 | ${OE_QMAKE_PATH_TRANSLATIONS}/qtbase_*.qm \ |
95 | " | 95 | " |
96 | 96 | ||
97 | FILES_${PN}-qthelp = " \ | 97 | FILES:${PN}-qthelp = " \ |
98 | ${OE_QMAKE_PATH_TRANSLATIONS}/qt_help_*.qm \ | 98 | ${OE_QMAKE_PATH_TRANSLATIONS}/qt_help_*.qm \ |
99 | " | 99 | " |
100 | 100 | ||
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5/qtvirtualkeyboard_git.bb index 883952f9..30d3b7fb 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bb +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bb | |||
@@ -65,9 +65,9 @@ EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | |||
65 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'CONFIG+=disable-desktop', d)}" | 65 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'CONFIG+=disable-desktop', d)}" |
66 | 66 | ||
67 | PACKAGES += "${PN}-dictionaries" | 67 | PACKAGES += "${PN}-dictionaries" |
68 | RRECOMMENDS_${PN} += "${PN}-dictionaries" | 68 | RRECOMMENDS:${PN} += "${PN}-dictionaries" |
69 | FILES_${PN}-dictionaries = "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/*/*.dat" | 69 | FILES:${PN}-dictionaries = "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/*/*.dat" |
70 | FILES_${PN} += "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/lipi_toolkit" | 70 | FILES:${PN} += "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/lipi_toolkit" |
71 | 71 | ||
72 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns qtdeclarative-native" | 72 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns qtdeclarative-native" |
73 | 73 | ||
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb index a0cda175..4f27ade5 100644 --- a/recipes-qt/qt5/qtwayland_git.bb +++ b/recipes-qt/qt5/qtwayland_git.bb | |||
@@ -2,7 +2,7 @@ require qt5.inc | |||
2 | require qt5-git.inc | 2 | require qt5-git.inc |
3 | 3 | ||
4 | DEPENDS += "qtbase qtdeclarative wayland wayland-native qtwayland-native" | 4 | DEPENDS += "qtbase qtdeclarative wayland wayland-native qtwayland-native" |
5 | DEPENDS_append_class-target = " libxkbcommon" | 5 | DEPENDS:append:class-target = " libxkbcommon" |
6 | 6 | ||
7 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 7 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
8 | LIC_FILES_CHKSUM = " \ | 8 | LIC_FILES_CHKSUM = " \ |
@@ -19,12 +19,12 @@ PACKAGECONFIG ?= " \ | |||
19 | wayland-egl \ | 19 | wayland-egl \ |
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-egl xcomposite-glx', '', d)} \ | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-egl xcomposite-glx', '', d)} \ |
21 | " | 21 | " |
22 | PACKAGECONFIG_class-native ?= "" | 22 | PACKAGECONFIG:class-native ?= "" |
23 | PACKAGECONFIG_class-nativesdk ?= "" | 23 | PACKAGECONFIG:class-nativesdk ?= "" |
24 | QMAKE_PROFILES_class-native = "${S}/src/qtwaylandscanner" | 24 | QMAKE_PROFILES:class-native = "${S}/src/qtwaylandscanner" |
25 | QMAKE_PROFILES_class-nativesdk = "${S}/src/qtwaylandscanner" | 25 | QMAKE_PROFILES:class-nativesdk = "${S}/src/qtwaylandscanner" |
26 | B_class-native = "${SEPB}/src/qtwaylandscanner" | 26 | B:class-native = "${SEPB}/src/qtwaylandscanner" |
27 | B_class-nativesdk = "${SEPB}/src/qtwaylandscanner" | 27 | B:class-nativesdk = "${SEPB}/src/qtwaylandscanner" |
28 | 28 | ||
29 | PACKAGECONFIG[wayland-client] = "-feature-wayland-client,-no-feature-wayland-client" | 29 | PACKAGECONFIG[wayland-client] = "-feature-wayland-client,-no-feature-wayland-client" |
30 | PACKAGECONFIG[wayland-server] = "-feature-wayland-server,-no-feature-wayland-server" | 30 | PACKAGECONFIG[wayland-server] = "-feature-wayland-server,-no-feature-wayland-server" |
@@ -43,7 +43,7 @@ BBCLASSEXTEND =+ "native nativesdk" | |||
43 | 43 | ||
44 | # The same issue as in qtbase: | 44 | # The same issue as in qtbase: |
45 | # http://errors.yoctoproject.org/Errors/Details/152641/ | 45 | # http://errors.yoctoproject.org/Errors/Details/152641/ |
46 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 46 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
47 | 47 | ||
48 | # Since version 5.11.2 some private headers are not installed. Work around | 48 | # Since version 5.11.2 some private headers are not installed. Work around |
49 | # until fixed upstream. See https://bugreports.qt.io/browse/QTBUG-71340 for | 49 | # until fixed upstream. See https://bugreports.qt.io/browse/QTBUG-71340 for |
@@ -51,7 +51,7 @@ LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse- | |||
51 | QTWAYLAND_INSTALL_PRIVATE_HEADERS_MANUALLY ?= "1" | 51 | QTWAYLAND_INSTALL_PRIVATE_HEADERS_MANUALLY ?= "1" |
52 | # First 6 characters before first + (e.g. 5.11.3-+git) or - (e.g. 5.11.3-2) | 52 | # First 6 characters before first + (e.g. 5.11.3-+git) or - (e.g. 5.11.3-2) |
53 | SHRT_VER ?= "${@d.getVar('PV').split('+')[0].split('-')[0]}" | 53 | SHRT_VER ?= "${@d.getVar('PV').split('+')[0].split('-')[0]}" |
54 | do_install_append() { | 54 | do_install:append() { |
55 | if [ -d "${B}/src/client" -a "${QTWAYLAND_INSTALL_PRIVATE_HEADERS_MANUALLY}" = "1" -a -d "${D}${includedir}/QtWaylandClient/${SHRT_VER}/QtWaylandClient/private/" ]; then | 55 | if [ -d "${B}/src/client" -a "${QTWAYLAND_INSTALL_PRIVATE_HEADERS_MANUALLY}" = "1" -a -d "${D}${includedir}/QtWaylandClient/${SHRT_VER}/QtWaylandClient/private/" ]; then |
56 | for header in `find ${B}/src/client -name '*wayland-*.h'`; do | 56 | for header in `find ${B}/src/client -name '*wayland-*.h'`; do |
57 | header_base=`basename $header` | 57 | header_base=`basename $header` |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 148bbdbd..f8bebfc5 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -28,7 +28,7 @@ DEPENDS += " \ | |||
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxcursor libxi libxrandr libxtst', '', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxcursor libxi libxrandr libxtst', '', d)} \ |
29 | " | 29 | " |
30 | 30 | ||
31 | DEPENDS_append_libc-musl = " libexecinfo" | 31 | DEPENDS:append:libc-musl = " libexecinfo" |
32 | 32 | ||
33 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-webengine-system-ninja -no-feature-webengine-system-gn" | 33 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-webengine-system-ninja -no-feature-webengine-system-gn" |
34 | EXTRA_QMAKEVARS_PRE += "CONFIG+=force_debug_info" | 34 | EXTRA_QMAKEVARS_PRE += "CONFIG+=force_debug_info" |
@@ -67,12 +67,12 @@ PACKAGECONFIG[spellchecker] = "-feature-webengine-spellchecker,-no-feature-weben | |||
67 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 67 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
68 | 68 | ||
69 | COMPATIBLE_MACHINE = "(-)" | 69 | COMPATIBLE_MACHINE = "(-)" |
70 | COMPATIBLE_MACHINE_x86 = "(.*)" | 70 | COMPATIBLE_MACHINE:x86 = "(.*)" |
71 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | 71 | COMPATIBLE_MACHINE:x86-64 = "(.*)" |
72 | COMPATIBLE_MACHINE_armv6 = "(.*)" | 72 | COMPATIBLE_MACHINE:armv6 = "(.*)" |
73 | COMPATIBLE_MACHINE_armv7a = "(.*)" | 73 | COMPATIBLE_MACHINE:armv7a = "(.*)" |
74 | COMPATIBLE_MACHINE_armv7ve = "(.*)" | 74 | COMPATIBLE_MACHINE:armv7ve = "(.*)" |
75 | COMPATIBLE_MACHINE_aarch64 = "(.*)" | 75 | COMPATIBLE_MACHINE:aarch64 = "(.*)" |
76 | 76 | ||
77 | inherit qmake5 | 77 | inherit qmake5 |
78 | inherit gettext | 78 | inherit gettext |
@@ -108,7 +108,7 @@ do_configure() { | |||
108 | ${EXTRA_QMAKEVARS_CONFIGURE} | 108 | ${EXTRA_QMAKEVARS_CONFIGURE} |
109 | } | 109 | } |
110 | 110 | ||
111 | do_configure_prepend_libc-musl() { | 111 | do_configure:prepend:libc-musl() { |
112 | for f in `find ${S}/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/ -name config.h -o -name config.asm`; do | 112 | for f in `find ${S}/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/ -name config.h -o -name config.asm`; do |
113 | sed -i -e "s:define HAVE_SYSCTL 1:define HAVE_SYSCTL 0:g" $f | 113 | sed -i -e "s:define HAVE_SYSCTL 1:define HAVE_SYSCTL 0:g" $f |
114 | done | 114 | done |
@@ -116,17 +116,17 @@ do_configure_prepend_libc-musl() { | |||
116 | 116 | ||
117 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" | 117 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" |
118 | 118 | ||
119 | do_install_append() { | 119 | do_install:append() { |
120 | sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@[^ ]*${B}[^ ]* @@g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc | 120 | sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@[^ ]*${B}[^ ]* @@g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc |
121 | } | 121 | } |
122 | 122 | ||
123 | # for /usr/share/qt5/qtwebengine_resources.pak | 123 | # for /usr/share/qt5/qtwebengine_resources.pak |
124 | FILES_${PN} += "${OE_QMAKE_PATH_QT_TRANSLATIONS} ${OE_QMAKE_PATH_QT_DATA}" | 124 | FILES:${PN} += "${OE_QMAKE_PATH_QT_TRANSLATIONS} ${OE_QMAKE_PATH_QT_DATA}" |
125 | 125 | ||
126 | # Chromium uses libpci to determine which optimizations/workarounds to apply | 126 | # Chromium uses libpci to determine which optimizations/workarounds to apply |
127 | RDEPENDS_${PN}_append_x86 = " libpci" | 127 | RDEPENDS:${PN}:append:x86 = " libpci" |
128 | 128 | ||
129 | RDEPENDS_${PN}-examples += " \ | 129 | RDEPENDS:${PN}-examples += " \ |
130 | ${PN}-qmlplugins \ | 130 | ${PN}-qmlplugins \ |
131 | qtquickcontrols-qmlplugins \ | 131 | qtquickcontrols-qmlplugins \ |
132 | qtdeclarative-qmlplugins \ | 132 | qtdeclarative-qmlplugins \ |
@@ -140,7 +140,7 @@ SRC_URI += " \ | |||
140 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ | 140 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ |
141 | file://0001-Force-host-toolchain-configuration.patch \ | 141 | file://0001-Force-host-toolchain-configuration.patch \ |
142 | " | 142 | " |
143 | SRC_URI_append_libc-musl = "\ | 143 | SRC_URI:append:libc-musl = "\ |
144 | file://0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ | 144 | file://0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ |
145 | file://0003-musl-link-against-libexecinfo.patch \ | 145 | file://0003-musl-link-against-libexecinfo.patch \ |
146 | " | 146 | " |
@@ -159,7 +159,7 @@ SRC_URI += " \ | |||
159 | file://chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch;patchdir=src/3rdparty \ | 159 | file://chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch;patchdir=src/3rdparty \ |
160 | " | 160 | " |
161 | 161 | ||
162 | SRC_URI_append_libc-musl = "\ | 162 | SRC_URI:append:libc-musl = "\ |
163 | file://chromium/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ | 163 | file://chromium/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ |
164 | file://chromium/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ | 164 | file://chromium/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ |
165 | file://chromium/0007-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ | 165 | file://chromium/0007-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ |
@@ -183,4 +183,4 @@ SRCREV = "${SRCREV_qtwebengine}" | |||
183 | SRCREV_FORMAT = "qtwebengine_chromium" | 183 | SRCREV_FORMAT = "qtwebengine_chromium" |
184 | 184 | ||
185 | # WARNING: qtwebengine-5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0 do_package_qa: QA Issue: ELF binary '/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/packages-split/qtwebengine/usr/lib/libQt5WebEngineCore.so.5.6.0' has relocations in .text [textrel] | 185 | # WARNING: qtwebengine-5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0 do_package_qa: QA Issue: ELF binary '/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/packages-split/qtwebengine/usr/lib/libQt5WebEngineCore.so.5.6.0' has relocations in .text [textrel] |
186 | INSANE_SKIP_${PN} += "textrel" | 186 | INSANE_SKIP:${PN} += "textrel" |
diff --git a/recipes-qt/qt5/qtwebglplugin_git.bb b/recipes-qt/qt5/qtwebglplugin_git.bb index 89ba2d3a..c5a19cba 100644 --- a/recipes-qt/qt5/qtwebglplugin_git.bb +++ b/recipes-qt/qt5/qtwebglplugin_git.bb | |||
@@ -11,7 +11,7 @@ DEPENDS += "qtbase qtwebsockets" | |||
11 | PACKAGECONFIG ?= "qtdeclarative" | 11 | PACKAGECONFIG ?= "qtdeclarative" |
12 | PACKAGECONFIG[qtdeclarative] = ",,qtdeclarative" | 12 | PACKAGECONFIG[qtdeclarative] = ",,qtdeclarative" |
13 | 13 | ||
14 | do_configure_prepend() { | 14 | do_configure:prepend() { |
15 | # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG | 15 | # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG |
16 | sed -e 's/^\(qtHaveModule(quick)\)/OE_QTDECLARATIVE_ENABLED:\1/' -i ${S}/src/plugins/platforms/webgl/webgl.pro | 16 | sed -e 's/^\(qtHaveModule(quick)\)/OE_QTDECLARATIVE_ENABLED:\1/' -i ${S}/src/plugins/platforms/webgl/webgl.pro |
17 | } | 17 | } |
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index c5473440..28b9f128 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -24,16 +24,16 @@ inherit cmake_qt5 perlnative pythonnative | |||
24 | # | {standard input}: Assembler messages: | 24 | # | {standard input}: Assembler messages: |
25 | # | {standard input}:106: Error: invalid immediate: 983040 is out of range | 25 | # | {standard input}:106: Error: invalid immediate: 983040 is out of range |
26 | # | {standard input}:106: Error: value of 983040 too large for field of 2 bytes at 146 | 26 | # | {standard input}:106: Error: value of 983040 too large for field of 2 bytes at 146 |
27 | ARM_INSTRUCTION_SET_armv4 = "arm" | 27 | ARM_INSTRUCTION_SET:armv4 = "arm" |
28 | ARM_INSTRUCTION_SET_armv5 = "arm" | 28 | ARM_INSTRUCTION_SET:armv5 = "arm" |
29 | 29 | ||
30 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474 | 30 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474 |
31 | # https://bugs.webkit.org/show_bug.cgi?id=159880 | 31 | # https://bugs.webkit.org/show_bug.cgi?id=159880 |
32 | # JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime. | 32 | # JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime. |
33 | # Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb). | 33 | # Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb). |
34 | ARM_INSTRUCTION_SET_armv7a = "thumb" | 34 | ARM_INSTRUCTION_SET:armv7a = "thumb" |
35 | ARM_INSTRUCTION_SET_armv7r = "thumb" | 35 | ARM_INSTRUCTION_SET:armv7r = "thumb" |
36 | ARM_INSTRUCTION_SET_armv7ve = "thumb" | 36 | ARM_INSTRUCTION_SET:armv7ve = "thumb" |
37 | 37 | ||
38 | # http://errors.yoctoproject.org/Errors/Details/179245/ | 38 | # http://errors.yoctoproject.org/Errors/Details/179245/ |
39 | # just use -fpermissive in this case like fedora did: | 39 | # just use -fpermissive in this case like fedora did: |
@@ -47,11 +47,11 @@ EXTRA_OECMAKE += " \ | |||
47 | -DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML} \ | 47 | -DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML} \ |
48 | " | 48 | " |
49 | 49 | ||
50 | EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'" | 50 | EXTRA_OECMAKE:append:toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'" |
51 | 51 | ||
52 | # JIT not supported on MIPS64 | 52 | # JIT not supported on MIPS64 |
53 | EXTRA_OECMAKE_append_mips64 = " -DENABLE_JIT=OFF " | 53 | EXTRA_OECMAKE:append:mips64 = " -DENABLE_JIT=OFF " |
54 | EXTRA_OECMAKE_append_mips64el = " -DENABLE_JIT=OFF " | 54 | EXTRA_OECMAKE:append:mips64el = " -DENABLE_JIT=OFF " |
55 | 55 | ||
56 | PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \ | 56 | PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \ |
57 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | 57 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ |
@@ -71,7 +71,7 @@ PACKAGECONFIG[fontconfig] = "-DENABLE_TEST_SUPPORT=ON,-DENABLE_TEST_SUPPORT=OFF, | |||
71 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" | 71 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" |
72 | 72 | ||
73 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe | 73 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe |
74 | PACKAGES_remove = "${PN}-examples" | 74 | PACKAGES:remove = "${PN}-examples" |
75 | 75 | ||
76 | QT_MODULE_BRANCH = "dev" | 76 | QT_MODULE_BRANCH = "dev" |
77 | 77 | ||
diff --git a/recipes-qt/qt5/qtwebview_git.bb b/recipes-qt/qt5/qtwebview_git.bb index 1a3f29ab..6fe1a661 100644 --- a/recipes-qt/qt5/qtwebview_git.bb +++ b/recipes-qt/qt5/qtwebview_git.bb | |||
@@ -12,11 +12,11 @@ require qt5-git.inc | |||
12 | DEPENDS += "qtbase qtwebengine" | 12 | DEPENDS += "qtbase qtwebengine" |
13 | 13 | ||
14 | COMPATIBLE_MACHINE = "(-)" | 14 | COMPATIBLE_MACHINE = "(-)" |
15 | COMPATIBLE_MACHINE_x86 = "(.*)" | 15 | COMPATIBLE_MACHINE:x86 = "(.*)" |
16 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | 16 | COMPATIBLE_MACHINE:x86-64 = "(.*)" |
17 | COMPATIBLE_MACHINE_armv6 = "(.*)" | 17 | COMPATIBLE_MACHINE:armv6 = "(.*)" |
18 | COMPATIBLE_MACHINE_armv7a = "(.*)" | 18 | COMPATIBLE_MACHINE:armv7a = "(.*)" |
19 | COMPATIBLE_MACHINE_armv7ve = "(.*)" | 19 | COMPATIBLE_MACHINE:armv7ve = "(.*)" |
20 | COMPATIBLE_MACHINE_aarch64 = "(.*)" | 20 | COMPATIBLE_MACHINE:aarch64 = "(.*)" |
21 | 21 | ||
22 | SRCREV = "14a616da97106ce08fae58329c211c4688c7fbdf" | 22 | SRCREV = "14a616da97106ce08fae58329c211c4688c7fbdf" |
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb index 34d01abc..06c81312 100644 --- a/recipes-qt/qt5/qtxmlpatterns_git.bb +++ b/recipes-qt/qt5/qtxmlpatterns_git.bb | |||
@@ -15,10 +15,10 @@ LIC_FILES_CHKSUM = " \ | |||
15 | DEPENDS += "qtbase" | 15 | DEPENDS += "qtbase" |
16 | 16 | ||
17 | PACKAGECONFIG ?= "" | 17 | PACKAGECONFIG ?= "" |
18 | PACKAGECONFIG_class-target ?= "qtdeclarative" | 18 | PACKAGECONFIG:class-target ?= "qtdeclarative" |
19 | PACKAGECONFIG[qtdeclarative] = ",,qtdeclarative" | 19 | PACKAGECONFIG[qtdeclarative] = ",,qtdeclarative" |
20 | 20 | ||
21 | do_configure_prepend() { | 21 | do_configure:prepend() { |
22 | # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG | 22 | # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG |
23 | sed -e 's/qtHaveModule(qml)/OE_QTDECLARATIVE_ENABLED/' -i ${S}/src/src.pro | 23 | sed -e 's/qtHaveModule(qml)/OE_QTDECLARATIVE_ENABLED/' -i ${S}/src/src.pro |
24 | } | 24 | } |