diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 0d1a306f..8faa3ef8 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
| @@ -89,6 +89,9 @@ PACKAGECONFIG ?= " \ | |||
| 89 | ${PACKAGECONFIG_SYSTEM} \ | 89 | ${PACKAGECONFIG_SYSTEM} \ |
| 90 | ${PACKAGECONFIG_DISTRO} \ | 90 | ${PACKAGECONFIG_DISTRO} \ |
| 91 | " | 91 | " |
| 92 | # Choose whether to link to OpenSSL library at linking time or run time | ||
| 93 | # Leave the variable empty to let the buildsystem decide, or specify -linked or -runtime | ||
| 94 | OPENSSL_LINKING_MODE ??= "" | ||
| 92 | 95 | ||
| 93 | PACKAGECONFIG[static] = "-static,-shared" | 96 | PACKAGECONFIG[static] = "-static,-shared" |
| 94 | PACKAGECONFIG[release] = "-release,-debug" | 97 | PACKAGECONFIG[release] = "-release,-debug" |
| @@ -148,7 +151,7 @@ PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl" | |||
| 148 | PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm" | 151 | PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm" |
| 149 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" | 152 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" |
| 150 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" | 153 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" |
| 151 | PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl" | 154 | PACKAGECONFIG[openssl] = "-openssl${OPENSSL_LINKING_MODE},-no-openssl,openssl,libssl" |
| 152 | PACKAGECONFIG[widgets] = "-widgets,-no-widgets" | 155 | PACKAGECONFIG[widgets] = "-widgets,-no-widgets" |
| 153 | PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy" | 156 | PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy" |
| 154 | PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput" | 157 | PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput" |
| @@ -263,4 +266,22 @@ INSANE_SKIP_${PN}-mkspecs += "file-rdeps" | |||
| 263 | 266 | ||
| 264 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" | 267 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" |
| 265 | 268 | ||
| 269 | TARGET_MKSPEC ?= "linux-g++" | ||
| 270 | |||
| 271 | # use clean mkspecs on target | ||
| 272 | pkg_postinst_${PN}-tools () { | ||
| 273 | sed -i \ | ||
| 274 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ | ||
| 275 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ | ||
| 276 | $D${bindir}/qt.conf | ||
| 277 | } | ||
| 278 | |||
| 279 | pkg_postinst_${PN}-mkspecs () { | ||
| 280 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri | ||
| 281 | sed -i \ | ||
| 282 | -e 's: cross_compile : :g' \ | ||
| 283 | -e 's:HOST_QT_TOOLS =.*::g' \ | ||
| 284 | $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qmodule.pri | ||
| 285 | } | ||
| 286 | |||
| 266 | SRCREV = "12b96dbb81a1a7bc5ffc08c24942038b007985e9" | 287 | SRCREV = "12b96dbb81a1a7bc5ffc08c24942038b007985e9" |
