Mesa (master): meson: Fix building gallium media libs without egl
Dylan Baker
dbaker at kemper.freedesktop.org
Thu Mar 8 18:35:27 UTC 2018
Module: Mesa
Branch: master
Commit: 1e9d779331544f8f039978c36430bef1c4efdb2d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e9d779331544f8f039978c36430bef1c4efdb2d
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Feb 28 13:07:57 2018 -0800
meson: Fix building gallium media libs without egl
v2: - rebase on omx fix
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net> (v1)
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9950ac93b3..3dc1271f2a 100644
--- a/meson.build
+++ b/meson.build
@@ -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
More information about the mesa-commit
mailing list