packagegroup-plasma-mobile-workspace: make webengine packages auto-select

Webengine requires meta-python2, which has no support for Yocto
Langdale. For the transition time to Qt6 make both optional and check
just if the meta-python2 layer is configured.
This commit is contained in:
Andreas Cord-Landwehr
2023-02-08 18:55:48 +01:00
parent 241f5f07dd
commit 1affd8d03a

View File

@@ -12,10 +12,15 @@ inherit packagegroup features_check
REQUIRED_DISTRO_FEATURES = "wayland x11 kde"
# Qt5's WebEngine requires Python2
WEBENGINE_PACKAGES = " \
aura-browser \
discover \
"
RDEPENDS:${PN} = " \
bluedevil \
breeze \
discover \
kactivitymanagerd \
kde-cli-tools \
kdecoration \
@@ -34,15 +39,12 @@ RDEPENDS:${PN} = " \
polkit-kde-agent-1 \
powerdevil \
plasma-settings \
plasma-systemmonitor \
xdg-desktop-portal-kde \
kclock \
kweather \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'python2-layer', '${WEBENGINE_PACKAGES}', '', d)} \
"
RDEPENDS:${PN} += " \
plasma-bigscreen \
plasma-remotecontrollers \
aura-browser \
plank-player \
"