diff --git a/recipes-integration/packagegroups/packagegroup-plasma-mobile-workspace.bb b/recipes-integration/packagegroups/packagegroup-plasma-mobile-workspace.bb index cfef1f5..f9935a1 100644 --- a/recipes-integration/packagegroups/packagegroup-plasma-mobile-workspace.bb +++ b/recipes-integration/packagegroups/packagegroup-plasma-mobile-workspace.bb @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2017-2019 Volker Krause # SPDX-FileCopyrightText: 2019 Alistair Francis -# SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr +# SPDX-FileCopyrightText: 2022 Andreas Cord-Landwehr # # SPDX-License-Identifier: MIT @@ -14,10 +14,14 @@ inherit packagegroup features_check REQUIRED_DISTRO_FEATURES = "wayland x11 kde" +# Qt5's WebEngine requires Python2 +WEBENGINE_PACKAGES = " \ + discover \ +" + RDEPENDS:${PN} = " \ bluedevil \ breeze \ - discover \ kactivitymanagerd \ kde-cli-tools \ kdecoration \ @@ -41,4 +45,5 @@ RDEPENDS:${PN} = " \ xdg-desktop-portal-kde \ kclock \ kweather \ + ${@bb.utils.contains('BBFILE_COLLECTIONS', 'python2-layer', '${WEBENGINE_PACKAGES}', '', d)} \ "