connectcore-demo-example: remove browser dependencies from browser-based pkgs

Commit 87b73f3f5d consolidated all connectcore-demo-example recipes into a
single recipe with multiple packages. Even though we choose which of these
packages to install depending on the image type, all packages (along with their
dependencies) get built regardless of which package ends up getting installed.
This means that the browsers (webkit/chromium) will get built as long as their
respective layer is in the bblayers, regardless of the image type.

For example:
    * wpewebkit will get built for all platforms with webkit support,
      regardless of the image (qt, flutter, core-image-base...)
    * chromium-ozone-wayland will get built for the ccimx95-dvk, even for qt
      and flutter images

Since we already include the main webkit and chromium packages in their
respective image's packagegroup, simply remove the dependencies from the
connectcore-demo-example recipe to avoid build overhead and unexpected errors.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2025-11-24 12:03:55 +01:00
parent af3ebf910c
commit a8108d7643
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ do_install:append() {
PACKAGES =+ "${PN}-chromium"
FILES:${PN}-chromium += "${systemd_system_unitdir}/connectcore-demo-example-chromium.service"
RDEPENDS:${PN}-chromium = "${PN}-multimedia chromium-ozone-wayland"
RDEPENDS:${PN}-chromium = "${PN}-multimedia"
SYSTEMD_PACKAGES += "${PN}-chromium"
SYSTEMD_SERVICE:${PN}-chromium = "connectcore-demo-example-chromium.service"

View File

@ -40,7 +40,7 @@ FILES:${PN}-webkit += "\
${sysconfdir}/init.d/connectcore-demo-example-webkit \
"
RDEPENDS:${PN}-webkit = "cog initscripts-functions"
RDEPENDS:${PN}-webkit = "initscripts-functions"
INITSCRIPT_PACKAGES += "${PN}-webkit"
INITSCRIPT_NAME:${PN}-webkit = "connectcore-demo-example-webkit"