sdk: workaround failing nativesdk-python3-qface build

meta-openembedded/master has issues building certain python3
modules for nativesdk. For python3-qface, failure is from dependency
chain: nativesdk-python3-qface
 -> nativesdk-python3-watchdog
  -> nativesdk-python3-requests
   -> nativesdk-python3-pyopenssl
    -> nativesdk-python3-cryptography

Don't include qtinterfaceframework to sdk when using master branch
with poky until all modules can be built correctly.

Change-Id: Id2837f1363a22cb28e45c1165631cfa3f37756a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit b2ccd0bd60)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Samuli Piippo 2022-02-10 11:06:52 +00:00 committed by Qt Cherry-pick Bot
parent 5da8552ecc
commit 2d5228e95b

View File

@ -43,3 +43,10 @@ RDEPENDS:${PN}:remove:mingw32 = " \
nativesdk-perl-modules \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'nativesdk-qtinterfaceframework-dev nativesdk-qtinterfaceframework-tools', '', d)} \
"
python () {
# qtinterfaceframework has dependencies that fail to build for nativesdk with meta-openembedded/master
if d.getVar('DISTRO_CODENAME', True) == 'master':
PN = d.getVar('PN', True)
d.setVar('RDEPENDS:' + PN, d.getVar('RDEPENDS:' + PN).replace('nativesdk-qtinterfaceframework-dev', '').replace('nativesdk-qtinterfaceframework-tools', ''))
}