- Remove redundant -Dpipewire=false from EXTRA_OEMESON.
  The -Dpipewire flag is already controlled by PACKAGECONFIG[pipewire].
  If 'pipewire' is not in PACKAGECONFIG, Meson will receive
  -Dbackend-pipewire=false automatically. Setting -Dpipewire=false
  unconditionally in EXTRA_OEMESON is redundant and may cause confusion.

- Add pipewire as a runtime dependency in PACKAGECONFIG[pipewire].
  This ensures the PipeWire backend is properly enabled and the
  runtime dependency is present when selected.

Signed-off-by: Veeresh Kadasani <[email protected]>
---
 meta/recipes-graphics/wayland/weston_14.0.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston_14.0.2.bb 
b/meta/recipes-graphics/wayland/weston_14.0.2.bb
index 451fb961a1..4e13a5099e 100644
--- a/meta/recipes-graphics/wayland/weston_14.0.2.bb
+++ b/meta/recipes-graphics/wayland/weston_14.0.2.bb
@@ -31,7 +31,7 @@ LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', 
'-Wl,-z,undefs', '',
 
 WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}"
 
-EXTRA_OEMESON += "-Dpipewire=false -Dtests=false"
+EXTRA_OEMESON += "-Dtests=false"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms 
wayland egl clients', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 
'xwayland', '', d)} \
@@ -90,7 +90,7 @@ PACKAGECONFIG[shell-kiosk] = 
"-Dshell-kiosk=true,-Dshell-kiosk=false"
 # JPEG image loading support
 PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg"
 # screencasting via PipeWire
-PACKAGECONFIG[pipewire] = 
"-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire"
+PACKAGECONFIG[pipewire] = 
"-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire,pipewire"
 # VNC remote screensharing
 PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226187): 
https://lists.openembedded.org/g/openembedded-core/message/226187
Mute This Topic: https://lists.openembedded.org/mt/116243999/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to