summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtbase_git.bb')
-rw-r--r--recipes-qt/qt5/qtbase_git.bb23
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
94OPENSSL_LINKING_MODE ??= ""
92 95
93PACKAGECONFIG[static] = "-static,-shared" 96PACKAGECONFIG[static] = "-static,-shared"
94PACKAGECONFIG[release] = "-release,-debug" 97PACKAGECONFIG[release] = "-release,-debug"
@@ -148,7 +151,7 @@ PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl"
148PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm" 151PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm"
149PACKAGECONFIG[icu] = "-icu,-no-icu,icu" 152PACKAGECONFIG[icu] = "-icu,-no-icu,icu"
150PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" 153PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev"
151PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl" 154PACKAGECONFIG[openssl] = "-openssl${OPENSSL_LINKING_MODE},-no-openssl,openssl,libssl"
152PACKAGECONFIG[widgets] = "-widgets,-no-widgets" 155PACKAGECONFIG[widgets] = "-widgets,-no-widgets"
153PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy" 156PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy"
154PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput" 157PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput"
@@ -263,4 +266,22 @@ INSANE_SKIP_${PN}-mkspecs += "file-rdeps"
263 266
264RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" 267RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}"
265 268
269TARGET_MKSPEC ?= "linux-g++"
270
271# use clean mkspecs on target
272pkg_postinst_${PN}-tools () {
273sed -i \
274 -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \
275 -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \
276 $D${bindir}/qt.conf
277}
278
279pkg_postinst_${PN}-mkspecs () {
280sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri
281sed -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
266SRCREV = "12b96dbb81a1a7bc5ffc08c24942038b007985e9" 287SRCREV = "12b96dbb81a1a7bc5ffc08c24942038b007985e9"