Skip to contentSkip to conversation

waffle: add wayland-protocols when building with wayland

PATCH In review Andrey Zhizhikin 2 participants 2 messages Feb 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 waffle: add wayland-protocols when building with wayland

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.

---
 meta/recipes-graphics/waffle/waffle_1.7.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/waffle/waffle_1.7.0.bb +1 -1
index ea11309940..0ff82036e7 100644
@@ -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"
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw

Em qui., 17 de fev. de 2022 às 11:17, Andrey Zhizhikin <[email protected]> escreveu:

Quoted 12 lines

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.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750