qtwebengine: enable webrtc-pipewire only when multimedia-layer is included

* pipewire recipe is in meta-multimedia not meta-oe layer
* fixes:
  ERROR: Nothing PROVIDES 'pipewire' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb DEPENDS on or otherwise requires it)

Change-Id: I137c708ed7e186b4f4d5bbe921cccc7100db48b4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit c4147feb79)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Martin Jansa 2021-09-30 16:38:59 +02:00 committed by Qt Cherry-pick Bot
parent caaf2ea697
commit 9d68253366

View File

@ -38,6 +38,7 @@ PACKAGECONFIG ??= "\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', '${PACKAGECONFIG_OPENEMBEDDED}', '', d)} \
geolocation \
webchannel \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'multimedia-layer', 'webrtc-pipewire', '', d)} \
printing-and-pdf \
pepper-plugins \
"
@ -46,7 +47,6 @@ PACKAGECONFIG_OPENEMBEDDED ?= "\
opus \
snappy \
webrtc \
webrtc-pipewire \
"
PACKAGECONFIG[alsa] = "-DFEATURE_webengine_system_alsa=ON,-DFEATURE_webengine_system_alsa=OFF,alsa-lib"