[Bug 773946] Build fails when wayland is built/packaged with "non-standard" include dir

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 24 20:23:05 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773946

--- Comment #4 from Dominique Leuenberger <dominique-gnomezilla at leuenberger.net> ---
Created attachment 340714
  --> https://bugzilla.gnome.org/attachment.cgi?id=340714&action=edit
Build: Add LIBVA_WAYLAND_CFLAGS when bulding libgstvaapi_egl.la

In case libva-wayland has its headers not installed in default
locations (like /usr/include), the build fails to include "wayland-client.h":

   CC       libgstvaapi_egl_la-gstvaapiutils_egl.lo
 In file included from gstvaapidisplay_wayland.h:27:0,
                  from gstvaapidisplay_egl.c:35:
 /usr/include/va/va_wayland.h:31:28: fatal error: wayland-client.h: No such
file or directory
  #include <wayland-client.h>

As we already passed VA_CLAGS, /usr/include/va/va_wayland.h could be found, but
it is
our fault not to instruct the system that we ALSO care for va_wayland. We
correctly query
for libva-wayland.pc in configure and use this in other places as well. It is
thus only
correct and consequent, to do it also at this spot.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list