When 'wayland is selected in ' DISTRO_FEATURES, following build error
occurs during do_configure:

| Run-time dependency wayland-protocols found: NO (tried pkgconfig)
|
| ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, 
tried pkgconfig

Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency.

Signed-off-by: Andrey Zhizhikin <[email protected]>
---
 meta/recipes-graphics/waffle/waffle_1.7.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb 
b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
index ea11309940..0ff82036e7 100644
--- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
@@ -33,7 +33,7 @@ PACKAGECONFIG[glx] = 
"-Dglx=enabled,-Dglx=disabled,virtual/${MLPREFIX}libgl libx
 
 # I say virtual/libgl, actually wants wayland-egl.pc, egl.pc, and the wayland
 # DISTRO_FEATURE.
-PACKAGECONFIG[wayland] = 
"-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}libgl wayland 
wayland-native"
+PACKAGECONFIG[wayland] = 
"-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}libgl wayland 
wayland-native wayland-protocols"
 
 # I say virtual/libgl, actually wants gbm.pc egl.pc
 PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}libgl 
udev"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161799): 
https://lists.openembedded.org/g/openembedded-core/message/161799
Mute This Topic: https://lists.openembedded.org/mt/89209700/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to