diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 0ba8ac89..fdc73e1d 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
| @@ -16,16 +16,9 @@ SRC_URI += "\ | |||
| 16 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | 16 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ |
| 17 | file://0003-Add-external-hostbindir-option.patch \ | 17 | file://0003-Add-external-hostbindir-option.patch \ |
| 18 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 18 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
| 19 | file://0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ | 19 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
| 20 | file://0006-configure-bump-path-length-from-256-to-512-character.patch \ | 20 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ |
| 21 | file://0007-QOpenGLPaintDevice-sub-area-support.patch \ | 21 | file://0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \ |
| 22 | " | ||
| 23 | |||
| 24 | # specific for target qtbase | ||
| 25 | SRC_URI += "\ | ||
| 26 | file://0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \ | ||
| 27 | file://0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \ | ||
| 28 | file://0010-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch \ | ||
| 29 | " | 22 | " |
| 30 | 23 | ||
| 31 | DEPENDS += "qtbase-native" | 24 | DEPENDS += "qtbase-native" |
| @@ -207,21 +200,8 @@ do_configure() { | |||
| 207 | qmake5_base_do_configure | 200 | qmake5_base_do_configure |
| 208 | } | 201 | } |
| 209 | 202 | ||
| 210 | do_compile_append() { | ||
| 211 | # copy corelib/3rdparty/qmake sources required by qmake -> ${B} | ||
| 212 | cp -ra ${S}/src/corelib ${B}/src | ||
| 213 | cp -ra ${S}/src/3rdparty ${B}/src | ||
| 214 | cp -ra ${S}/qmake ${B} | ||
| 215 | cp ${S}/.qmake.conf ${B}/qmake | ||
| 216 | cd ${B}/qmake | ||
| 217 | # align qt5 tools source path to ${S} | ||
| 218 | sed -i 's:\.\./tools:${S}/tools:g' qmake.pro | ||
| 219 | ../${OE_QMAKE_QMAKE} | ||
| 220 | oe_runmake CC="${CC}" CXX="${CXX}" | ||
| 221 | } | ||
| 222 | |||
| 223 | do_install_append() { | 203 | do_install_append() { |
| 224 | install -m 0755 ${B}/qmake/bin/qmake ${D}/${bindir}${QT_DIR_NAME} | 204 | install -m 0755 ${B}/bin/qmake-target ${D}/${bindir}${QT_DIR_NAME}/qmake |
| 225 | 205 | ||
| 226 | ### Fix up the binaries to the right location | 206 | ### Fix up the binaries to the right location |
| 227 | ### TODO: FIX | 207 | ### TODO: FIX |
| @@ -240,9 +220,9 @@ do_install_append() { | |||
| 240 | rm -rf ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/macx-ios-clang | 220 | rm -rf ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/macx-ios-clang |
| 241 | 221 | ||
| 242 | # Replace host paths with qmake built-in properties | 222 | # Replace host paths with qmake built-in properties |
| 243 | sed -i -e 's| ${STAGING_DIR_NATIVE}${prefix_native}| $$[QT_HOST_PREFIX]|g' \ | 223 | # sed -i -e 's| ${STAGING_DIR_NATIVE}${prefix_native}| $$[QT_HOST_PREFIX]|g' \ |
| 244 | -e 's| ${STAGING_DIR_HOST}| $$[QT_SYSROOT]|g' \ | 224 | # -e 's| ${STAGING_DIR_HOST}| $$[QT_SYSROOT]|g' \ |
| 245 | ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/qconfig.pri | 225 | # ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/qconfig.pri |
| 246 | } | 226 | } |
| 247 | 227 | ||
| 248 | PACKAGES =. " \ | 228 | PACKAGES =. " \ |
| @@ -279,4 +259,4 @@ sysroot_stage_dirs_append() { | |||
| 279 | rm -rf $to${OE_QMAKE_PATH_QT_FONTS} | 259 | rm -rf $to${OE_QMAKE_PATH_QT_FONTS} |
| 280 | } | 260 | } |
| 281 | 261 | ||
| 282 | SRCREV = "5afc431323454225363dae30e67a1cb909086bf9" | 262 | SRCREV = "f7f4dde80e13ff1c05a9399297ffb746ab505e62" |
