Working as expected. Thanks!<br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 31, 2017 at 12:05 PM Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
<br>
Targets such as omx and va can work w/o anything X related. Mandate the<br>
xcb* dependencies only when the X11 platform is selected.<br>
<br>
Reported-by: Lukas Rusak <<a href="mailto:lorusak@gmail.com" target="_blank">lorusak@gmail.com</a>><br>
Cc: Lukas Rusak <<a href="mailto:lorusak@gmail.com" target="_blank">lorusak@gmail.com</a>><br>
Fixes: 63e11ac2b5c ("configure: error out if building VA w/o supported<br>
platform")<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>><br>
---<br>
<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 4 +++-<br>
1 file changed, 3 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
index 945241bcb0e..e3261915285 100644<br>
--- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
@@ -2158,7 +2158,9 @@ if test "x$enable_xvmc" = xyes -o \<br>
"x$enable_vdpau" = xyes -o \<br>
"x$enable_omx_bellagio" = xyes -o \<br>
"x$enable_va" = xyes; then<br>
- PKG_CHECK_MODULES([VL], [x11-xcb xcb xcb-dri2 >= $XCBDRI2_REQUIRED])<br>
+ if echo $platforms | grep -q "x11"; then<br>
+ PKG_CHECK_MODULES([VL], [x11-xcb xcb xcb-dri2 >= $XCBDRI2_REQUIRED])<br>
+ fi<br>
need_gallium_vl_winsys=yes<br>
fi<br>
AM_CONDITIONAL(NEED_GALLIUM_VL_WINSYS, test "x$need_gallium_vl_winsys" = xyes)<br>
--<br>
2.14.1<br>
<br>
</blockquote></div>