* This doesn't build with any gtk3 DISTRO_FEATURES, without x11 in
  DISTRO_FEATURES gtk3+ doesn't provide gdkx.h and paprefs build fails with:
  http://errors.yoctoproject.org/Errors/Details/704195/

../paprefs-1.2/src/paprefs.cc:30:10: fatal error: gdk/gdkx.h: No such file or 
directory
   30 | #include <gdk/gdkx.h>
      |          ^~~~~~~~~~~~

Signed-off-by: Martin Jansa <martin.ja...@gmail.com>
---
 meta-oe/recipes-multimedia/pulseaudio/paprefs_1.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-multimedia/pulseaudio/paprefs_1.2.bb 
b/meta-oe/recipes-multimedia/pulseaudio/paprefs_1.2.bb
index 6d0cf7ed7f..6e4321dd7d 100644
--- a/meta-oe/recipes-multimedia/pulseaudio/paprefs_1.2.bb
+++ b/meta-oe/recipes-multimedia/pulseaudio/paprefs_1.2.bb
@@ -7,7 +7,8 @@ DEPENDS = "pulseaudio gtkmm3 gtk+3 libsigc++-3 glibmm"
 
 inherit meson pkgconfig features_check
 
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+# paprefs.cc includes gdk/gdkx.h and gdkx.h isn't provided by gtk3 without x11 
in DISTRO_FEATURES
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "http://freedesktop.org/software/pulseaudio/paprefs/${BP}.tar.xz";
 
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102602): 
https://lists.openembedded.org/g/openembedded-devel/message/102602
Mute This Topic: https://lists.openembedded.org/mt/98901366/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to