diff options
| -rw-r--r-- | recipes-qt/qt5/qttools_git.bb | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index e33d17d2..e9530385 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
| @@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = " \ | |||
| 12 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 12 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | 15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns chrpath-replacement-native" |
| 16 | 16 | EXTRANATIVEPATH += "chrpath-native" | |
| 17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.12 | 17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.12 |
| 18 | # 5.12.meta-qt5.2 | 18 | # 5.12.meta-qt5.2 |
| 19 | SRC_URI += " \ | 19 | SRC_URI += " \ |
| @@ -25,12 +25,19 @@ 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" | ||
| 29 | |||
| 28 | PACKAGECONFIG[qtwebkit] = ",,qtwebkit" | 30 | PACKAGECONFIG[qtwebkit] = ",,qtwebkit" |
| 31 | PACKAGECONFIG[clang] = ",,clang" | ||
| 29 | 32 | ||
| 30 | EXTRA_QMAKEVARS_PRE += " \ | 33 | EXTRA_QMAKEVARS_PRE += " \ |
| 31 | CONFIG-=config_clang \ | ||
| 32 | ${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)} \ | 34 | ${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)} \ |
| 33 | " | 35 | " |
| 36 | EXTRA_QMAKEVARS_PRE_append_class-native = " CONFIG-=config_clang" | ||
| 37 | EXTRA_QMAKEVARS_PRE_append_class-nativesdk = " CONFIG-=config_clang" | ||
| 38 | EXTRA_QMAKEVARS_PRE_append_class-target = "\ | ||
| 39 | ${@bb.utils.contains('PACKAGECONFIG', 'clang', 'CONFIG+=config_clang', 'CONFIG-=config_clang', d)} \ | ||
| 40 | " | ||
| 34 | 41 | ||
| 35 | SRCREV = "cc9250477eaa71a3f3ffd050591d4a9d835288ca" | 42 | SRCREV = "cc9250477eaa71a3f3ffd050591d4a9d835288ca" |
| 36 | 43 | ||
| @@ -42,3 +49,6 @@ do_install_ptest() { | |||
| 42 | cp ${B}/tests/auto/qtdiag/tst_tdiag $t | 49 | cp ${B}/tests/auto/qtdiag/tst_tdiag $t |
| 43 | cp ${B}/tests/auto/qtattributionsscanner/tst_qtattributionsscanner $t | 50 | cp ${B}/tests/auto/qtattributionsscanner/tst_qtattributionsscanner $t |
| 44 | } | 51 | } |
| 52 | do_install_append_toolchain-clang() { | ||
| 53 | chrpath --delete ${D}${bindir}/qdoc | ||
| 54 | } | ||
