diff options
Diffstat (limited to 'recipes-qt/qt5/qttools_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qttools_git.bb | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index 1f24d290..3ac5d486 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | require qt5.inc | 1 | require qt5.inc |
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | require qt5-ptest.inc | ||
| 3 | 4 | ||
| 4 | HOMEPAGE = "http://www.qt.io" | 5 | HOMEPAGE = "http://www.qt.io" |
| 5 | 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 )" | 6 | 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 )" |
| @@ -11,14 +12,11 @@ LIC_FILES_CHKSUM = " \ | |||
| 11 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 12 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
| 12 | " | 13 | " |
| 13 | 14 | ||
| 14 | inherit ptest | ||
| 15 | |||
| 16 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | 15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" |
| 17 | 16 | ||
| 18 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.9 | 17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.9 |
| 19 | # 5.9.meta-qt5.5 | 18 | # 5.9.meta-qt5.5 |
| 20 | SRC_URI += " \ | 19 | SRC_URI += " \ |
| 21 | file://run-ptest \ | ||
| 22 | file://0001-add-noqtwebkit-configuration.patch \ | 20 | file://0001-add-noqtwebkit-configuration.patch \ |
| 23 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ | 21 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ |
| 24 | " | 22 | " |
| @@ -35,16 +33,9 @@ SRCREV = "0c112f5980a39d370a90c34f8dfb778a6bd6a780" | |||
| 35 | 33 | ||
| 36 | BBCLASSEXTEND = "native nativesdk" | 34 | BBCLASSEXTEND = "native nativesdk" |
| 37 | 35 | ||
| 38 | do_compile_ptest() { | ||
| 39 | export PATH=${STAGING_DIR_NATIVE}/usr/include/qt5:$PATH | ||
| 40 | cd ${S}/tests | ||
| 41 | qmake -o Makefile tests.pro | ||
| 42 | oe_runmake | ||
| 43 | } | ||
| 44 | |||
| 45 | do_install_ptest() { | 36 | do_install_ptest() { |
| 46 | mkdir -p ${D}${PTEST_PATH} | 37 | mkdir -p ${D}${PTEST_PATH} |
| 47 | t=${D}${PTEST_PATH} | 38 | t=${D}${PTEST_PATH} |
| 48 | cp ${S}/tests/auto/qtdiag/tst_tdiag $t | 39 | cp ${B}/tests/auto/qtdiag/tst_tdiag $t |
| 49 | cp ${S}/tests/auto/qtattributionsscanner/tst_qtattributionsscanner $t | 40 | cp ${B}/tests/auto/qtattributionsscanner/tst_qtattributionsscanner $t |
| 50 | } | 41 | } |
