meson: Fix building gallium media libs without egl
authorDylan Baker <dylan@pnwbakers.com>
Wed, 28 Feb 2018 21:07:57 +0000 (13:07 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 8 Mar 2018 18:14:02 +0000 (10:14 -0800)
v2: - rebase on omx fix

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
meson.build

index 9950ac93b3b5cddcd60e58a7a2d20408ec779f01..3dc1271f2ac2a74ecaa0dbe2e23d2f6e9026822d 100644 (file)
@@ -1241,7 +1241,9 @@ if with_platform_x11
     endif
     dep_glproto = dependency('glproto', version : '>= 1.4.14')
   endif
-  if with_egl
+  if (with_egl or (
+      with_gallium_vdpau or with_gallium_xvmc or with_gallium_xa or
+      with_gallium_omx != 'disabled'))
     dep_xcb_xfixes = dependency('xcb-xfixes')
   endif
 endif