diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:05:32 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-08-03 13:38:16 +0200 |
commit | a6bee8ea4cb91d0e07d8be272ddc0e56c86e4acf (patch) | |
tree | 127f88ca5f4c1f1a0fb80dca719ef817b700ed5b /recipes-qt/qt5 | |
parent | 10f3673fd4b6c6e1e61c23478802f83652475a5f (diff) | |
download | meta-qt5-a6bee8ea4cb91d0e07d8be272ddc0e56c86e4acf.tar.gz |
Convert to new override syntax
This is the result of automated script (0.9.0) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5')
28 files changed, 153 insertions, 153 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 594173aa..62ed20c9 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -61,12 +61,12 @@ SRC_URI += " \ | |||
61 | 61 | ||
62 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" | 62 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" |
63 | 63 | ||
64 | FILES_${PN}-dev += " \ | 64 | FILES:${PN}-dev += " \ |
65 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ | 65 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ |
66 | ${OE_QMAKE_PATH_LIBS}/*.prl \ | 66 | ${OE_QMAKE_PATH_LIBS}/*.prl \ |
67 | " | 67 | " |
68 | 68 | ||
69 | FILES_${PN} += " \ | 69 | FILES:${PN} += " \ |
70 | ${SDKPATHNATIVE}/environment-setup.d \ | 70 | ${SDKPATHNATIVE}/environment-setup.d \ |
71 | ${OE_QMAKE_PATH_PLUGINS} \ | 71 | ${OE_QMAKE_PATH_PLUGINS} \ |
72 | ${OE_QMAKE_PATH_LIBS}/metatypes \ | 72 | ${OE_QMAKE_PATH_LIBS}/metatypes \ |
@@ -76,7 +76,7 @@ FILES_${PN} += " \ | |||
76 | # collisions with qt4. This would trigger debian.bbclass to rename the | 76 | # collisions with qt4. This would trigger debian.bbclass to rename the |
77 | # package, since it doesn't detect binaries in subdirs. Explicitly | 77 | # package, since it doesn't detect binaries in subdirs. Explicitly |
78 | # disable package auto-renaming for the tools-package. | 78 | # disable package auto-renaming for the tools-package. |
79 | DEBIAN_NOAUTONAME_${PN} = "1" | 79 | DEBIAN_NOAUTONAME:${PN} = "1" |
80 | 80 | ||
81 | PACKAGECONFIG ?= "" | 81 | PACKAGECONFIG ?= "" |
82 | PACKAGECONFIG[gui] = "-gui -qpa offscreen,-no-gui," | 82 | PACKAGECONFIG[gui] = "-gui -qpa offscreen,-no-gui," |
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index 53f4e484..1128c40d 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb | |||
@@ -9,19 +9,19 @@ 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.15 | 14 | # Patches from https://github.com/meta-qt5/qt3d/commits/b5.15 |
15 | # 5.15.meta-qt5.2 | 15 | # 5.15.meta-qt5.2 |
16 | SRC_URI += " \ | 16 | SRC_URI += " \ |
17 | file://0001-Allow-a-tools-only-build.patch \ | 17 | file://0001-Allow-a-tools-only-build.patch \ |
18 | " | 18 | " |
19 | SRC_URI_append_riscv64 = " file://0001-renderers-opengl-Link-in-libatomic-on-riscv.patch" | 19 | SRC_URI:append:riscv64 = " file://0001-renderers-opengl-Link-in-libatomic-on-riscv.patch" |
20 | SRC_URI_append_riscv32 = " file://0001-renderers-opengl-Link-in-libatomic-on-riscv.patch" | 20 | SRC_URI:append:riscv32 = " file://0001-renderers-opengl-Link-in-libatomic-on-riscv.patch" |
21 | 21 | ||
22 | PACKAGECONFIG ??= "" | 22 | PACKAGECONFIG ??= "" |
23 | PACKAGECONFIG_class-native ??= "tools-only" | 23 | PACKAGECONFIG:class-native ??= "tools-only" |
24 | PACKAGECONFIG_class-nativesdk ??= "tools-only" | 24 | PACKAGECONFIG:class-nativesdk ??= "tools-only" |
25 | PACKAGECONFIG[tools-only] = "" | 25 | PACKAGECONFIG[tools-only] = "" |
26 | PACKAGECONFIG[system-assimp] = "-feature-system-assimp,-no-feature-system-assimp,assimp" | 26 | PACKAGECONFIG[system-assimp] = "-feature-system-assimp,-no-feature-system-assimp,assimp" |
27 | PACKAGECONFIG[qtgamepad] = ",,qtgamepad" | 27 | PACKAGECONFIG[qtgamepad] = ",,qtgamepad" |
@@ -31,7 +31,7 @@ EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | |||
31 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tools-only', 'CONFIG+=tools-only QMAKE_USE_PRIVATE+=zlib', '', d)}" | 31 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tools-only', 'CONFIG+=tools-only QMAKE_USE_PRIVATE+=zlib', '', d)}" |
32 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtgamepad', 'CONFIG+=OE_QTGAMEPAD_ENABLED', '', d)}" | 32 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtgamepad', 'CONFIG+=OE_QTGAMEPAD_ENABLED', '', d)}" |
33 | 33 | ||
34 | do_configure_prepend() { | 34 | do_configure:prepend() { |
35 | # disable qtgamepad test if it isn't enabled by PACKAGECONFIG | 35 | # disable qtgamepad test if it isn't enabled by PACKAGECONFIG |
36 | sed -e 's/^\(qtHaveModule(gamepad)\)/OE_QTGAMEPAD_ENABLED:\1/' -i \ | 36 | sed -e 's/^\(qtHaveModule(gamepad)\)/OE_QTGAMEPAD_ENABLED:\1/' -i \ |
37 | ${S}/src/input/frontend/frontend.pri \ | 37 | ${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 a83dab23..518100ed 100644 --- a/recipes-qt/qt5/qt5-creator_git.bb +++ b/recipes-qt/qt5/qt5-creator_git.bb | |||
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = " \ | |||
15 | inherit qmake5 mime-xdg | 15 | inherit qmake5 mime-xdg |
16 | 16 | ||
17 | DEPENDS += "qtbase qtscript qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native zlib" | 17 | DEPENDS += "qtbase qtscript qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native zlib" |
18 | DEPENDS_append_libc-musl = " libexecinfo" | 18 | DEPENDS:append:libc-musl = " libexecinfo" |
19 | 19 | ||
20 | SRCREV = "94d227cd434d09717de95529e5210ec530451e1c" | 20 | SRCREV = "94d227cd434d09717de95529e5210ec530451e1c" |
21 | PV = "4.15.2+git${SRCPV}" | 21 | PV = "4.15.2+git${SRCPV}" |
@@ -27,7 +27,7 @@ SRC_URI = " \ | |||
27 | file://0002-clangformat-Fix-build-with-LLVM-13.patch \ | 27 | file://0002-clangformat-Fix-build-with-LLVM-13.patch \ |
28 | file://0003-clangformat-Fix-build-with-LLVM-13.patch \ | 28 | file://0003-clangformat-Fix-build-with-LLVM-13.patch \ |
29 | " | 29 | " |
30 | SRC_URI_append_libc-musl = " file://0001-Link-with-libexecinfo-on-musl.patch" | 30 | SRC_URI:append:libc-musl = " file://0001-Link-with-libexecinfo-on-musl.patch" |
31 | 31 | ||
32 | S = "${WORKDIR}/git" | 32 | S = "${WORKDIR}/git" |
33 | 33 | ||
@@ -39,16 +39,16 @@ EXTRA_QMAKEVARS_PRE += " \ | |||
39 | EXTRANATIVEPATH += "chrpath-native" | 39 | EXTRANATIVEPATH += "chrpath-native" |
40 | 40 | ||
41 | PACKAGECONFIG ??= "" | 41 | PACKAGECONFIG ??= "" |
42 | PACKAGECONFIG_append_toolchain-clang = " clang" | 42 | PACKAGECONFIG:append:toolchain-clang = " clang" |
43 | 43 | ||
44 | # Important note: In case clang was added to qttools' PACKAGECONFIG, it has to | 44 | # Important note: In case clang was added to qttools' PACKAGECONFIG, it has to |
45 | # be added here too - otherwise build fails trying to link native clang libraries | 45 | # be added here too - otherwise build fails trying to link native clang libraries |
46 | PACKAGECONFIG[clang] = ",,clang" | 46 | PACKAGECONFIG[clang] = ",,clang" |
47 | 47 | ||
48 | COMPATIBLE_HOST_toolchain-clang_riscv32 = "null" | 48 | COMPATIBLE_HOST:toolchain-clang:riscv32 = "null" |
49 | COMPATIBLE_HOST_toolchain-clang_riscv64 = "null" | 49 | COMPATIBLE_HOST:toolchain-clang:riscv64 = "null" |
50 | 50 | ||
51 | do_configure_append() { | 51 | do_configure:append() { |
52 | # Find native tools | 52 | # Find native tools |
53 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile | 53 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile |
54 | if [ -e ${B}/share/qtcreator/translations/Makefile ]; then | 54 | if [ -e ${B}/share/qtcreator/translations/Makefile ]; then |
@@ -68,22 +68,22 @@ do_install() { | |||
68 | fi | 68 | fi |
69 | } | 69 | } |
70 | 70 | ||
71 | FILES_${PN} += " \ | 71 | FILES:${PN} += " \ |
72 | ${datadir}/qtcreator \ | 72 | ${datadir}/qtcreator \ |
73 | ${datadir}/metainfo \ | 73 | ${datadir}/metainfo \ |
74 | ${datadir}/icons \ | 74 | ${datadir}/icons \ |
75 | ${libdir}${QT_DIR_NAME}/qtcreator \ | 75 | ${libdir}${QT_DIR_NAME}/qtcreator \ |
76 | " | 76 | " |
77 | 77 | ||
78 | FILES_${PN}-dev += " \ | 78 | FILES:${PN}-dev += " \ |
79 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ | 79 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ |
80 | " | 80 | " |
81 | 81 | ||
82 | RDEPENDS_${PN} += "perl python3" | 82 | RDEPENDS:${PN} += "perl python3" |
83 | RCONFLICTS_${PN} = "qt-creator" | 83 | RCONFLICTS:${PN} = "qt-creator" |
84 | 84 | ||
85 | # To give best user experience out of the box.. | 85 | # To give best user experience out of the box.. |
86 | RRECOMMENDS_${PN} += " \ | 86 | RRECOMMENDS:${PN} += " \ |
87 | packagegroup-qt5-toolchain-target \ | 87 | packagegroup-qt5-toolchain-target \ |
88 | binutils \ | 88 | binutils \ |
89 | ccache \ | 89 | ccache \ |
@@ -98,7 +98,7 @@ RRECOMMENDS_${PN} += " \ | |||
98 | " | 98 | " |
99 | 99 | ||
100 | # 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' | 100 | # 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' |
101 | INSANE_SKIP_${PN} += "ldflags" | 101 | INSANE_SKIP:${PN} += "ldflags" |
102 | 102 | ||
103 | inherit features_check | 103 | inherit features_check |
104 | REQUIRED_DISTRO_FEATURES ?= "x11 opengl" | 104 | REQUIRED_DISTRO_FEATURES ?= "x11 opengl" |
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 f41e971a..c96714a4 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 94bbca39..8a54337d 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,25 +114,25 @@ 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}/metatypes \ | 131 | ${OE_QMAKE_PATH_LIBS}/metatypes \ |
132 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBS} \ | 132 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBS} \ |
133 | ${OE_QMAKE_PATH_LIBEXECS} \ | 133 | ${OE_QMAKE_PATH_LIBEXECS} \ |
134 | " | 134 | " |
135 | FILES_${PN}-dev += " \ | 135 | FILES:${PN}-dev += " \ |
136 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBSDEV} \ | 136 | ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBSDEV} \ |
137 | ${OE_QMAKE_PATH_LIBS}/pkgconfig \ | 137 | ${OE_QMAKE_PATH_LIBS}/pkgconfig \ |
138 | ${OE_QMAKE_PATH_LIBS}/cmake/* \ | 138 | ${OE_QMAKE_PATH_LIBS}/cmake/* \ |
@@ -140,7 +140,7 @@ FILES_${PN}-dev += " \ | |||
140 | ${OE_QMAKE_PATH_LIBS}/*.la \ | 140 | ${OE_QMAKE_PATH_LIBS}/*.la \ |
141 | ${OE_QMAKE_PATH_HEADERS}/* \ | 141 | ${OE_QMAKE_PATH_HEADERS}/* \ |
142 | " | 142 | " |
143 | FILES_${PN}-staticdev += " \ | 143 | FILES:${PN}-staticdev += " \ |
144 | ${OE_QMAKE_PATH_LIBS}/*.a \ | 144 | ${OE_QMAKE_PATH_LIBS}/*.a \ |
145 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ | 145 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ |
146 | ${OE_QMAKE_PATH_PLUGINS}/*/*.prl \ | 146 | ${OE_QMAKE_PATH_PLUGINS}/*/*.prl \ |
@@ -155,8 +155,8 @@ FILES_${PN}-staticdev += " \ | |||
155 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.a \ | 155 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.a \ |
156 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ | 156 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ |
157 | " | 157 | " |
158 | FILES_${PN}-examples = " \ | 158 | FILES:${PN}-examples = " \ |
159 | ${OE_QMAKE_PATH_EXAMPLES} \ | 159 | ${OE_QMAKE_PATH_EXAMPLES} \ |
160 | " | 160 | " |
161 | 161 | ||
162 | PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" | 162 | 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 d210e222..b4ab09cb 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -56,7 +56,7 @@ SRC_URI += " \ | |||
56 | 56 | ||
57 | CLEANBROKEN = "1" | 57 | CLEANBROKEN = "1" |
58 | 58 | ||
59 | XPLATFORM_toolchain-clang = "linux-oe-clang" | 59 | XPLATFORM:toolchain-clang = "linux-oe-clang" |
60 | XPLATFORM ?= "linux-oe-g++" | 60 | XPLATFORM ?= "linux-oe-g++" |
61 | 61 | ||
62 | PACKAGECONFIG ?= "" | 62 | PACKAGECONFIG ?= "" |
@@ -109,7 +109,7 @@ QT_CONFIG_FLAGS = " \ | |||
109 | # since we cannot set empty set filename to a not existent file | 109 | # since we cannot set empty set filename to a not existent file |
110 | deltask generate_qt_config_file | 110 | deltask generate_qt_config_file |
111 | 111 | ||
112 | do_configure_prepend() { | 112 | do_configure:prepend() { |
113 | # Regenerate header files when they are included in source tarball | 113 | # Regenerate header files when they are included in source tarball |
114 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | 114 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly |
115 | rm -rf ${S}/include | 115 | rm -rf ${S}/include |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index e845dfe0..310aa761 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -42,7 +42,7 @@ SRC_URI += "\ | |||
42 | LTO = "" | 42 | LTO = "" |
43 | 43 | ||
44 | # for syncqt | 44 | # for syncqt |
45 | RDEPENDS_${PN}-tools += "perl" | 45 | RDEPENDS:${PN}-tools += "perl" |
46 | 46 | ||
47 | # separate some parts of PACKAGECONFIG which are often changed | 47 | # separate some parts of PACKAGECONFIG which are often changed |
48 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)}" | 48 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)}" |
@@ -165,8 +165,8 @@ QT_CONFIG_FLAGS_GOLD = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '- | |||
165 | # 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 | 165 | # 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 |
166 | # | 166 | # |
167 | # http://errors.yoctoproject.org/Errors/Details/150329/ | 167 | # http://errors.yoctoproject.org/Errors/Details/150329/ |
168 | # QT_CONFIG_FLAGS_GOLD_x86 = "-no-use-gold-linker" | 168 | # QT_CONFIG_FLAGS_GOLD:x86 = "-no-use-gold-linker" |
169 | # LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 169 | # LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
170 | 170 | ||
171 | # since the upgrade to 5.12.2 this got worse, with gold enabled configure will no longer pass the test for xlib | 171 | # since the upgrade to 5.12.2 this got worse, with gold enabled configure will no longer pass the test for xlib |
172 | # because with full paths to libraries since qtbase commit 521a85395 it fails to link with | 172 | # because with full paths to libraries since qtbase commit 521a85395 it fails to link with |
@@ -176,9 +176,9 @@ QT_CONFIG_FLAGS_GOLD = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '- | |||
176 | # resulting in do_configure failure: | 176 | # resulting in do_configure failure: |
177 | # http://errors.yoctoproject.org/Errors/Details/237856/ | 177 | # http://errors.yoctoproject.org/Errors/Details/237856/ |
178 | QT_CONFIG_FLAGS_GOLD = "-no-use-gold-linker" | 178 | QT_CONFIG_FLAGS_GOLD = "-no-use-gold-linker" |
179 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 179 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
180 | 180 | ||
181 | LDFLAGS_append_riscv64 = " -pthread" | 181 | LDFLAGS:append:riscv64 = " -pthread" |
182 | 182 | ||
183 | QT_CONFIG_FLAGS += " \ | 183 | QT_CONFIG_FLAGS += " \ |
184 | ${QT_CONFIG_FLAGS_GOLD} \ | 184 | ${QT_CONFIG_FLAGS_GOLD} \ |
@@ -189,9 +189,9 @@ QT_CONFIG_FLAGS += " \ | |||
189 | ${PACKAGECONFIG_CONFARGS} \ | 189 | ${PACKAGECONFIG_CONFARGS} \ |
190 | " | 190 | " |
191 | 191 | ||
192 | export CC_host_toolchain-clang = "clang" | 192 | export CC_host:toolchain-clang = "clang" |
193 | export CXX_host_toolchain-clang = "clang++" | 193 | export CXX_host:toolchain-clang = "clang++" |
194 | export LD_host_toolchain-clang = "clang++" | 194 | export LD_host:toolchain-clang = "clang++" |
195 | export CC_host ?= "gcc" | 195 | export CC_host ?= "gcc" |
196 | export CXX_host ?= "g++" | 196 | export CXX_host ?= "g++" |
197 | export LD_host ?= "g++" | 197 | export LD_host ?= "g++" |
@@ -200,13 +200,13 @@ export LD_host ?= "g++" | |||
200 | # since we cannot set empty set filename to a not existent file | 200 | # since we cannot set empty set filename to a not existent file |
201 | deltask generate_qt_config_file | 201 | deltask generate_qt_config_file |
202 | 202 | ||
203 | XPLATFORM_toolchain-clang = "linux-oe-clang" | 203 | XPLATFORM:toolchain-clang = "linux-oe-clang" |
204 | XPLATFORM ?= "linux-oe-g++" | 204 | XPLATFORM ?= "linux-oe-g++" |
205 | 205 | ||
206 | # Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment | 206 | # Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment |
207 | # when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp | 207 | # when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp |
208 | ARM_INSTRUCTION_SET_armv4 = "arm" | 208 | ARM_INSTRUCTION_SET:armv4 = "arm" |
209 | ARM_INSTRUCTION_SET_armv5 = "arm" | 209 | ARM_INSTRUCTION_SET:armv5 = "arm" |
210 | 210 | ||
211 | do_configure() { | 211 | do_configure() { |
212 | # Regenerate header files when they are included in source tarball | 212 | # Regenerate header files when they are included in source tarball |
@@ -244,7 +244,7 @@ do_configure() { | |||
244 | ${QT_CONFIG_FLAGS} | 244 | ${QT_CONFIG_FLAGS} |
245 | } | 245 | } |
246 | 246 | ||
247 | do_install_append() { | 247 | do_install:append() { |
248 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" | 248 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" |
249 | touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri | 249 | touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri |
250 | 250 | ||
@@ -283,21 +283,21 @@ do_install_append() { | |||
283 | } | 283 | } |
284 | 284 | ||
285 | # mkspecs have mac specific scripts that depend on perl and bash | 285 | # mkspecs have mac specific scripts that depend on perl and bash |
286 | INSANE_SKIP_${PN}-mkspecs += "file-rdeps" | 286 | INSANE_SKIP:${PN}-mkspecs += "file-rdeps" |
287 | 287 | ||
288 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" | 288 | RRECOMMENDS:${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" |
289 | 289 | ||
290 | TARGET_MKSPEC ?= "linux-g++" | 290 | TARGET_MKSPEC ?= "linux-g++" |
291 | 291 | ||
292 | # use clean mkspecs on target | 292 | # use clean mkspecs on target |
293 | pkg_postinst_${PN}-tools () { | 293 | pkg_postinst:${PN}-tools () { |
294 | sed -i \ | 294 | sed -i \ |
295 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ | 295 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ |
296 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ | 296 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ |
297 | $D${OE_QMAKE_PATH_BINS}/qt.conf | 297 | $D${OE_QMAKE_PATH_BINS}/qt.conf |
298 | } | 298 | } |
299 | 299 | ||
300 | pkg_postinst_${PN}-mkspecs () { | 300 | pkg_postinst:${PN}-mkspecs () { |
301 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri | 301 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri |
302 | sed -i \ | 302 | sed -i \ |
303 | -e 's: cross_compile : :g' \ | 303 | -e 's: cross_compile : :g' \ |
diff --git a/recipes-qt/qt5/qtcharts_git.bb b/recipes-qt/qt5/qtcharts_git.bb index 1a5238f1..9bd954f2 100644 --- a/recipes-qt/qt5/qtcharts_git.bb +++ b/recipes-qt/qt5/qtcharts_git.bb | |||
@@ -12,6 +12,6 @@ SRCREV = "a67f812548b008e3eedcd2bb9313828a195fd23b" | |||
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 1bbcb57c..6aabde20 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
@@ -20,7 +20,7 @@ SRC_URI += " \ | |||
20 | file://0001-qmldebug-Include-limits-header.patch \ | 20 | file://0001-qmldebug-Include-limits-header.patch \ |
21 | " | 21 | " |
22 | 22 | ||
23 | LDFLAGS_append_riscv64 = " -pthread" | 23 | LDFLAGS:append:riscv64 = " -pthread" |
24 | 24 | ||
25 | DEPENDS += "qtbase qtdeclarative-native" | 25 | DEPENDS += "qtbase qtdeclarative-native" |
26 | 26 | ||
@@ -50,7 +50,7 @@ do_install_ptest() { | |||
50 | done | 50 | done |
51 | } | 51 | } |
52 | 52 | ||
53 | do_install_append_class-nativesdk() { | 53 | do_install:append:class-nativesdk() { |
54 | # qml files not needed in nativesdk | 54 | # qml files not needed in nativesdk |
55 | rm -rf ${D}${OE_QMAKE_PATH_QML} | 55 | rm -rf ${D}${OE_QMAKE_PATH_QML} |
56 | } | 56 | } |
diff --git a/recipes-qt/qt5/qtgraphicaleffects_git.bb b/recipes-qt/qt5/qtgraphicaleffects_git.bb index 9657a5ef..eeaddd98 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 = "66b7fbaca4b323dce337e87e3093c8836577c561" | 21 | SRCREV = "66b7fbaca4b323dce337e87e3093c8836577c561" |
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb index 89d42813..f7bce75e 100644 --- a/recipes-qt/qt5/qtlocation_git.bb +++ b/recipes-qt/qt5/qtlocation_git.bb | |||
@@ -27,7 +27,7 @@ EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | |||
27 | 27 | ||
28 | # The same issue as in qtbase: | 28 | # The same issue as in qtbase: |
29 | # http://errors.yoctoproject.org/Errors/Details/152640/ | 29 | # http://errors.yoctoproject.org/Errors/Details/152640/ |
30 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 30 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
31 | 31 | ||
32 | QT_MODULE_BRANCH_MAPBOXGL = "upstream/qt-staging" | 32 | QT_MODULE_BRANCH_MAPBOXGL = "upstream/qt-staging" |
33 | 33 | ||
diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index fdbebd6d..a7cb4e20 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb | |||
@@ -36,12 +36,12 @@ SRC_URI += "\ | |||
36 | 36 | ||
37 | # The same issue as in qtbase: | 37 | # The same issue as in qtbase: |
38 | # http://errors.yoctoproject.org/Errors/Build/44914/ | 38 | # http://errors.yoctoproject.org/Errors/Build/44914/ |
39 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 39 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
40 | 40 | ||
41 | SRCREV = "fd30913d4601d12437404e1d20113a1ed6364ccc" | 41 | SRCREV = "fd30913d4601d12437404e1d20113a1ed6364ccc" |
42 | 42 | ||
43 | # Temporary work around for Qt5MultimediaConfig.cmake referencing non-existent videoeglvideonode directory | 43 | # Temporary work around for Qt5MultimediaConfig.cmake referencing non-existent videoeglvideonode directory |
44 | do_install_append() { | 44 | do_install:append() { |
45 | install -d ${D}${OE_QMAKE_PATH_PLUGINS}/videoeglvideonode | 45 | install -d ${D}${OE_QMAKE_PATH_PLUGINS}/videoeglvideonode |
46 | } | 46 | } |
47 | FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/videoeglvideonode" | 47 | FILES:${PN} += "${OE_QMAKE_PATH_PLUGINS}/videoeglvideonode" |
diff --git a/recipes-qt/qt5/qtquick3d_git.bb b/recipes-qt/qt5/qtquick3d_git.bb index a56e26db..f953671b 100644 --- a/recipes-qt/qt5/qtquick3d_git.bb +++ b/recipes-qt/qt5/qtquick3d_git.bb | |||
@@ -17,7 +17,7 @@ PACKAGECONFIG[system-assimp] = "-system-quick3d-assimp,-qt-quick3d-assimp,assimp | |||
17 | 17 | ||
18 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 18 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
19 | 19 | ||
20 | FILES_${PN}-qmlplugins += " \ | 20 | FILES:${PN}-qmlplugins += " \ |
21 | ${OE_QMAKE_PATH_QML}/QtQuick3D/Helpers/meshes/*.mesh \ | 21 | ${OE_QMAKE_PATH_QML}/QtQuick3D/Helpers/meshes/*.mesh \ |
22 | " | 22 | " |
23 | 23 | ||
diff --git a/recipes-qt/qt5/qtquickcontrols_git.bb b/recipes-qt/qt5/qtquickcontrols_git.bb index c2960096..f251cb8a 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 c9519137..63ef3b17 100644 --- a/recipes-qt/qt5/qtremoteobjects_git.bb +++ b/recipes-qt/qt5/qtremoteobjects_git.bb | |||
@@ -19,8 +19,8 @@ SRC_URI += " \ | |||
19 | " | 19 | " |
20 | 20 | ||
21 | PACKAGECONFIG ??= "" | 21 | PACKAGECONFIG ??= "" |
22 | PACKAGECONFIG_class-native ??= "tools-only" | 22 | PACKAGECONFIG:class-native ??= "tools-only" |
23 | PACKAGECONFIG_class-nativesdk ??= "tools-only" | 23 | PACKAGECONFIG:class-nativesdk ??= "tools-only" |
24 | PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" | 24 | PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" |
25 | 25 | ||
26 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 26 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb index 773bc044..e2ed64f3 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 = "5da7de1800eee3d604eb7e787b114479b61ffc93" | 39 | SRCREV = "5da7de1800eee3d604eb7e787b114479b61ffc93" |
diff --git a/recipes-qt/qt5/qtscxml_git.bb b/recipes-qt/qt5/qtscxml_git.bb index 7a0975bf..ee90701c 100644 --- a/recipes-qt/qt5/qtscxml_git.bb +++ b/recipes-qt/qt5/qtscxml_git.bb | |||
@@ -16,7 +16,7 @@ SRCREV = "95aa78be795a862b95371afa75e1417029ec0a16" | |||
16 | # 5.15.meta-qt5.1 | 16 | # 5.15.meta-qt5.1 |
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 63566035..8b8270ad 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
@@ -19,19 +19,19 @@ SRC_URI += " \ | |||
19 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ | 19 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ |
20 | file://0003-src.pro-Add-option-noqdoc-to-disable-qdoc-builds.patch \ | 20 | file://0003-src.pro-Add-option-noqdoc-to-disable-qdoc-builds.patch \ |
21 | " | 21 | " |
22 | SRC_URI_append_class-native = " ${@bb.utils.contains('PACKAGECONFIG', 'clang', 'file://0004-Force-native-build-of-qt-help-tools-as-qhelpgenerato.patch', '', d)}" | 22 | SRC_URI:append:class-native = " ${@bb.utils.contains('PACKAGECONFIG', 'clang', 'file://0004-Force-native-build-of-qt-help-tools-as-qhelpgenerato.patch', '', d)}" |
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_append_toolchain-clang = " clang" | 28 | PACKAGECONFIG:append:toolchain-clang = " clang" |
29 | 29 | ||
30 | PACKAGECONFIG[qtwebkit] = ",,qtwebkit" | 30 | PACKAGECONFIG[qtwebkit] = ",,qtwebkit" |
31 | PACKAGECONFIG[clang] = ",,clang" | 31 | PACKAGECONFIG[clang] = ",,clang" |
32 | 32 | ||
33 | COMPATIBLE_HOST_toolchain-clang_riscv32 = "null" | 33 | COMPATIBLE_HOST:toolchain-clang:riscv32 = "null" |
34 | COMPATIBLE_HOST_toolchain-clang_riscv64 = "null" | 34 | COMPATIBLE_HOST:toolchain-clang:riscv64 = "null" |
35 | 35 | ||
36 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_BINDIR}/llvm-config" | 36 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_BINDIR}/llvm-config" |
37 | 37 | ||
diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttranslations_git.bb index ecc9db2f..6465ed0f 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 c3b8a90f..6a6ffc1e 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 c74b51b1..6ec156d9 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 = " \ |
@@ -24,12 +24,12 @@ PACKAGECONFIG ?= " \ | |||
24 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-egl xcomposite-glx', '', d)} \ | 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-egl xcomposite-glx', '', d)} \ |
25 | ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'wayland-vulkan-server-buffer', '', d)} \ | 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'wayland-vulkan-server-buffer', '', d)} \ |
26 | " | 26 | " |
27 | PACKAGECONFIG_class-native ?= "" | 27 | PACKAGECONFIG:class-native ?= "" |
28 | PACKAGECONFIG_class-nativesdk ?= "" | 28 | PACKAGECONFIG:class-nativesdk ?= "" |
29 | QMAKE_PROFILES_class-native = "${S}/src/qtwaylandscanner" | 29 | QMAKE_PROFILES:class-native = "${S}/src/qtwaylandscanner" |
30 | QMAKE_PROFILES_class-nativesdk = "${S}/src/qtwaylandscanner" | 30 | QMAKE_PROFILES:class-nativesdk = "${S}/src/qtwaylandscanner" |
31 | B_class-native = "${SEPB}/src/qtwaylandscanner" | 31 | B:class-native = "${SEPB}/src/qtwaylandscanner" |
32 | B_class-nativesdk = "${SEPB}/src/qtwaylandscanner" | 32 | B:class-nativesdk = "${SEPB}/src/qtwaylandscanner" |
33 | 33 | ||
34 | PACKAGECONFIG[wayland-client] = "-feature-wayland-client,-no-feature-wayland-client" | 34 | PACKAGECONFIG[wayland-client] = "-feature-wayland-client,-no-feature-wayland-client" |
35 | PACKAGECONFIG[wayland-server] = "-feature-wayland-server,-no-feature-wayland-server" | 35 | PACKAGECONFIG[wayland-server] = "-feature-wayland-server,-no-feature-wayland-server" |
@@ -49,4 +49,4 @@ BBCLASSEXTEND =+ "native nativesdk" | |||
49 | 49 | ||
50 | # The same issue as in qtbase: | 50 | # The same issue as in qtbase: |
51 | # http://errors.yoctoproject.org/Errors/Details/152641/ | 51 | # http://errors.yoctoproject.org/Errors/Details/152641/ |
52 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 52 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 789c3de5..fd7b8e36 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -32,7 +32,7 @@ DEPENDS += " \ | |||
32 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxcursor libxi libxrandr libxtst', '', d)} \ | 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxcursor libxi libxrandr libxtst', '', d)} \ |
33 | " | 33 | " |
34 | 34 | ||
35 | DEPENDS_append_libc-musl = " libexecinfo" | 35 | DEPENDS:append:libc-musl = " libexecinfo" |
36 | 36 | ||
37 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-webengine-system-ninja -no-feature-webengine-system-gn" | 37 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-webengine-system-ninja -no-feature-webengine-system-gn" |
38 | EXTRA_QMAKEVARS_PRE += "CONFIG+=force_debug_info" | 38 | EXTRA_QMAKEVARS_PRE += "CONFIG+=force_debug_info" |
@@ -72,12 +72,12 @@ PACKAGECONFIG[pulseaudio] = "-feature-webengine-pulseaudio,-no-feature-webengine | |||
72 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 72 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
73 | 73 | ||
74 | COMPATIBLE_MACHINE = "(-)" | 74 | COMPATIBLE_MACHINE = "(-)" |
75 | COMPATIBLE_MACHINE_x86 = "(.*)" | 75 | COMPATIBLE_MACHINE:x86 = "(.*)" |
76 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | 76 | COMPATIBLE_MACHINE:x86-64 = "(.*)" |
77 | COMPATIBLE_MACHINE_armv6 = "(.*)" | 77 | COMPATIBLE_MACHINE:armv6 = "(.*)" |
78 | COMPATIBLE_MACHINE_armv7a = "(.*)" | 78 | COMPATIBLE_MACHINE:armv7a = "(.*)" |
79 | COMPATIBLE_MACHINE_armv7ve = "(.*)" | 79 | COMPATIBLE_MACHINE:armv7ve = "(.*)" |
80 | COMPATIBLE_MACHINE_aarch64 = "(.*)" | 80 | COMPATIBLE_MACHINE:aarch64 = "(.*)" |
81 | 81 | ||
82 | inherit qmake5 | 82 | inherit qmake5 |
83 | inherit gettext | 83 | inherit gettext |
@@ -120,7 +120,7 @@ do_configure() { | |||
120 | ${EXTRA_QMAKEVARS_CONFIGURE} | 120 | ${EXTRA_QMAKEVARS_CONFIGURE} |
121 | } | 121 | } |
122 | 122 | ||
123 | do_configure_prepend_libc-musl() { | 123 | do_configure:prepend:libc-musl() { |
124 | for f in `find ${S}/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/ -name config.h -o -name config.asm`; do | 124 | for f in `find ${S}/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/ -name config.h -o -name config.asm`; do |
125 | sed -i -e "s:define HAVE_SYSCTL 1:define HAVE_SYSCTL 0:g" $f | 125 | sed -i -e "s:define HAVE_SYSCTL 1:define HAVE_SYSCTL 0:g" $f |
126 | done | 126 | done |
@@ -128,17 +128,17 @@ do_configure_prepend_libc-musl() { | |||
128 | 128 | ||
129 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" | 129 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" |
130 | 130 | ||
131 | do_install_append() { | 131 | do_install:append() { |
132 | sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@[^ ]*${B}[^ ]* @@g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc | 132 | sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@[^ ]*${B}[^ ]* @@g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc |
133 | } | 133 | } |
134 | 134 | ||
135 | # for /usr/share/qt5/qtwebengine_resources.pak | 135 | # for /usr/share/qt5/qtwebengine_resources.pak |
136 | FILES_${PN} += "${OE_QMAKE_PATH_QT_TRANSLATIONS} ${OE_QMAKE_PATH_QT_DATA}" | 136 | FILES:${PN} += "${OE_QMAKE_PATH_QT_TRANSLATIONS} ${OE_QMAKE_PATH_QT_DATA}" |
137 | 137 | ||
138 | # Chromium uses libpci to determine which optimizations/workarounds to apply | 138 | # Chromium uses libpci to determine which optimizations/workarounds to apply |
139 | RDEPENDS_${PN}_append_x86 = " libpci" | 139 | RDEPENDS:${PN}:append:x86 = " libpci" |
140 | 140 | ||
141 | RDEPENDS_${PN}-examples += " \ | 141 | RDEPENDS:${PN}-examples += " \ |
142 | ${PN}-qmlplugins \ | 142 | ${PN}-qmlplugins \ |
143 | qtquickcontrols-qmlplugins \ | 143 | qtquickcontrols-qmlplugins \ |
144 | qtdeclarative-qmlplugins \ | 144 | qtdeclarative-qmlplugins \ |
@@ -158,7 +158,7 @@ SRC_URI += " \ | |||
158 | " | 158 | " |
159 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.15 | 159 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.15 |
160 | # 5.15.meta-qt5.12 | 160 | # 5.15.meta-qt5.12 |
161 | SRC_URI_append_libc-musl = "\ | 161 | SRC_URI:append:libc-musl = "\ |
162 | file://0003-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ | 162 | file://0003-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ |
163 | file://0004-musl-link-against-libexecinfo.patch \ | 163 | file://0004-musl-link-against-libexecinfo.patch \ |
164 | file://0005-mkspecs-Allow-builds-with-libc-glibc.patch \ | 164 | file://0005-mkspecs-Allow-builds-with-libc-glibc.patch \ |
@@ -182,7 +182,7 @@ SRC_URI += " \ | |||
182 | 182 | ||
183 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/87-based | 183 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/87-based |
184 | # 87-based.meta-qt5.4 | 184 | # 87-based.meta-qt5.4 |
185 | SRC_URI_append_libc-musl = "\ | 185 | SRC_URI:append:libc-musl = "\ |
186 | file://chromium/0012-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ | 186 | file://chromium/0012-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ |
187 | file://chromium/0013-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ | 187 | file://chromium/0013-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ |
188 | file://chromium/0014-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ | 188 | file://chromium/0014-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ |
@@ -203,4 +203,4 @@ SRCREV = "${SRCREV_qtwebengine}" | |||
203 | SRCREV_FORMAT = "qtwebengine_chromium" | 203 | SRCREV_FORMAT = "qtwebengine_chromium" |
204 | 204 | ||
205 | # 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] | 205 | # 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] |
206 | INSANE_SKIP_${PN} += "textrel" | 206 | INSANE_SKIP:${PN} += "textrel" |
diff --git a/recipes-qt/qt5/qtwebglplugin_git.bb b/recipes-qt/qt5/qtwebglplugin_git.bb index fd14851a..0e06d6eb 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 fc9ca922..6ff0eba7 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -23,8 +23,8 @@ SRC_URI += "\ | |||
23 | file://0009-Riscv-Add-support-for-riscv.patch \ | 23 | file://0009-Riscv-Add-support-for-riscv.patch \ |
24 | " | 24 | " |
25 | 25 | ||
26 | SRC_URI_append_riscv32 = " file://0010-webdriver-libatomic.patch " | 26 | SRC_URI:append:riscv32 = " file://0010-webdriver-libatomic.patch " |
27 | SRC_URI_append_riscv64 = " file://0010-webdriver-libatomic.patch " | 27 | SRC_URI:append:riscv64 = " file://0010-webdriver-libatomic.patch " |
28 | 28 | ||
29 | inherit cmake_qt5 perlnative | 29 | inherit cmake_qt5 perlnative |
30 | 30 | ||
@@ -34,16 +34,16 @@ inherit python3native | |||
34 | # | {standard input}: Assembler messages: | 34 | # | {standard input}: Assembler messages: |
35 | # | {standard input}:106: Error: invalid immediate: 983040 is out of range | 35 | # | {standard input}:106: Error: invalid immediate: 983040 is out of range |
36 | # | {standard input}:106: Error: value of 983040 too large for field of 2 bytes at 146 | 36 | # | {standard input}:106: Error: value of 983040 too large for field of 2 bytes at 146 |
37 | ARM_INSTRUCTION_SET_armv4 = "arm" | 37 | ARM_INSTRUCTION_SET:armv4 = "arm" |
38 | ARM_INSTRUCTION_SET_armv5 = "arm" | 38 | ARM_INSTRUCTION_SET:armv5 = "arm" |
39 | 39 | ||
40 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474 | 40 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474 |
41 | # https://bugs.webkit.org/show_bug.cgi?id=159880 | 41 | # https://bugs.webkit.org/show_bug.cgi?id=159880 |
42 | # JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime. | 42 | # JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime. |
43 | # Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb). | 43 | # Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb). |
44 | ARM_INSTRUCTION_SET_armv7a = "thumb" | 44 | ARM_INSTRUCTION_SET:armv7a = "thumb" |
45 | ARM_INSTRUCTION_SET_armv7r = "thumb" | 45 | ARM_INSTRUCTION_SET:armv7r = "thumb" |
46 | ARM_INSTRUCTION_SET_armv7ve = "thumb" | 46 | ARM_INSTRUCTION_SET:armv7ve = "thumb" |
47 | 47 | ||
48 | # http://errors.yoctoproject.org/Errors/Details/179245/ | 48 | # http://errors.yoctoproject.org/Errors/Details/179245/ |
49 | # just use -fpermissive in this case like fedora did: | 49 | # just use -fpermissive in this case like fedora did: |
@@ -59,20 +59,20 @@ EXTRA_OECMAKE += " \ | |||
59 | -DPYTHON_EXECUTABLE=`which python3` \ | 59 | -DPYTHON_EXECUTABLE=`which python3` \ |
60 | " | 60 | " |
61 | 61 | ||
62 | EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'" | 62 | EXTRA_OECMAKE:append:toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'" |
63 | 63 | ||
64 | # JIT not supported on MIPS/PPC/RISCV | 64 | # JIT not supported on MIPS/PPC/RISCV |
65 | EXTRA_OECMAKE_append_mipsarch = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " | 65 | EXTRA_OECMAKE:append:mipsarch = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " |
66 | EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " | 66 | EXTRA_OECMAKE:append:powerpc = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " |
67 | EXTRA_OECMAKE_append_powerpc64le = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " | 67 | EXTRA_OECMAKE:append:powerpc64le = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " |
68 | EXTRA_OECMAKE_append_riscv64 = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " | 68 | EXTRA_OECMAKE:append:riscv64 = " -DENABLE_JIT=OFF -DUSE_SYSTEM_MALLOC=ON -DENABLE_C_LOOP=ON " |
69 | 69 | ||
70 | # Disable gold on mips64/clang | 70 | # Disable gold on mips64/clang |
71 | # mips64-yoe-linux-musl-ld.gold: internal error in get_got_page_offset, at ../../gold/mips.cc:6260 | 71 | # mips64-yoe-linux-musl-ld.gold: internal error in get_got_page_offset, at ../../gold/mips.cc:6260 |
72 | # mips-yoe-linux-musl-ld.gold: error: Can't find matching LO16 reloc | 72 | # mips-yoe-linux-musl-ld.gold: error: Can't find matching LO16 reloc |
73 | EXTRA_OECMAKE_append_mipsarch = " -DUSE_LD_GOLD=OFF " | 73 | EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF " |
74 | EXTRA_OECMAKE_append_powerpc = " -DUSE_LD_GOLD=OFF " | 74 | EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF " |
75 | EXTRA_OECMAKE_append_riscv64 = " -DUSE_LD_GOLD=OFF " | 75 | EXTRA_OECMAKE:append:riscv64 = " -DUSE_LD_GOLD=OFF " |
76 | 76 | ||
77 | PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \ | 77 | PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \ |
78 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | 78 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ |
@@ -92,7 +92,7 @@ PACKAGECONFIG[fontconfig] = "-DENABLE_TEST_SUPPORT=ON,-DENABLE_TEST_SUPPORT=OFF, | |||
92 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" | 92 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" |
93 | 93 | ||
94 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe | 94 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe |
95 | PACKAGES_remove = "${PN}-examples" | 95 | PACKAGES:remove = "${PN}-examples" |
96 | 96 | ||
97 | QT_MODULE_BRANCH = "5.212" | 97 | QT_MODULE_BRANCH = "5.212" |
98 | 98 | ||
diff --git a/recipes-qt/qt5/qtwebview_git.bb b/recipes-qt/qt5/qtwebview_git.bb index fcabec7a..ee140340 100644 --- a/recipes-qt/qt5/qtwebview_git.bb +++ b/recipes-qt/qt5/qtwebview_git.bb | |||
@@ -12,12 +12,12 @@ 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 | python() { | 22 | python() { |
23 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | 23 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): |
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb index f5db658d..bb8efe05 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 | } |