wpewebkit: avoid pulling in qtbase-native dependency if not necessary
By default, we don't enable wpewebkit's qtwpe config, so the qtbase-native dependency pulled in automatically via the qt6-cmake bbclass isn't necessary. Make sure the dependency only gets pulled in when needed. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
cb57707e86
commit
1e89975669
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2020-2024, Digi International Inc.
|
||||
# Copyright (C) 2020-2025, Digi International Inc.
|
||||
|
||||
# We can't build the WebKit with fb images, so force wayland as a required
|
||||
# distro feature.
|
||||
|
|
@ -23,3 +23,10 @@ PACKAGECONFIG:remove = " \
|
|||
# on the i.MX6 and ccmp1
|
||||
PACKAGECONFIG:remove:ccimx6 = "gbm"
|
||||
PACKAGECONFIG:remove:ccmp1 = "gbm"
|
||||
|
||||
# If BBLAYERS contains meta-qt6, the wpewebkit recipe inherits the qt6-cmake
|
||||
# bbclass, which is necessary if the qtwpe PACKAGECONFIG is enabled. However,
|
||||
# even if this config is disabled, the bbclass automatically adds a dependency
|
||||
# with qtbase-native. Only keep this dependency if we enable qtwpe, and remove
|
||||
# it otherwise.
|
||||
DEPENDS:remove = "${@bb.utils.contains('PACKAGECONFIG', 'qtwpe', '', 'qtbase-native', d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue