qtapplicationmanager: enable bubblewrap only with wayland

Bubblewrap is used within the multiprocess support and can be enabled
only with wayland.

Change-Id: Ied6e57db9e7ed0d525da535c5e57ed519ce4659f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2025-07-09 04:49:57 +00:00
parent 16a1a08c07
commit cae750cf19

View File

@ -20,10 +20,7 @@ RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
EXTRA_OECMAKE += "-DQT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET=ON"
PACKAGECONFIG ?= "\
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)} \
bubblewrap \
"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process bubblewrap', '', d)}"
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
PACKAGECONFIG[multi-process] = "-DFEATURE_am_multi_process=ON,-DFEATURE_am_multi_process=OFF,qtwayland"