From 5b801e2f0ed73d073a7b44403bc5a7722e0f36c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
Date: Thu, 3 Aug 2017 23:45:52 +0100
Subject: [PATCH] Don't try to build ges if required dep isn't found

We shouldn't error out all of gst-build by default
if one of ges's required deps is not there.
---
 meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index f89db0eda7..7d263ca392 100644
--- a/meson.build
+++ b/meson.build
@@ -76,7 +76,11 @@ if not get_option('disable_gst_devtools')
 endif
 
 if not get_option('disable_gst_editing_services')
+  if dependency('libxml-2.0').found()
     subprojects += ['gst-editing-services']
+  else
+    message('WARNING: not building gst-editing-services module, missing libxml-2.0')
+  endif
 endif
 
 if not get_option('disable_rtsp_server')