From 1e9d779331544f8f039978c36430bef1c4efdb2d Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 28 Feb 2018 13:07:57 -0800 Subject: [PATCH] meson: Fix building gallium media libs without egl v2: - rebase on omx fix Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt (v1) --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9950ac93b3b..3dc1271f2ac 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 -- 2.30.2