meson: move gstreamer-check-1.0 dependency to tests/check
authorScott D Phillips <scott.d.phillips@intel.com>
Fri, 21 Oct 2016 07:47:14 +0000 (00:47 -0700)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 21 Oct 2016 09:03:41 +0000 (06:03 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=773114

meson.build
tests/check/meson.build
tests/meson.build

index accedf2..0d2166e 100644 (file)
@@ -113,8 +113,6 @@ gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req,
     fallback : ['gst-plugins-base', 'sdp_dep'])
 gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req,
     fallback : ['gst-plugins-base', 'rtsp_dep'])
-gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
-  fallback : ['gstreamer', 'gst_check_dep'])
 gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
   fallback : ['gstreamer', 'gst_controller_dep'])
 
index 79c2fcf..19bfdc4 100644 (file)
@@ -1,3 +1,6 @@
+gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
+  fallback : ['gstreamer', 'gst_check_dep'])
+
 # name, condition when to skip the test and extra dependencies
 ugly_tests = [
   [ 'elements/amrnbenc', not amrnb_dep.found() ],
index 0e2c887..cd3aa67 100644 (file)
@@ -1 +1,3 @@
-subdir('check')
+if host_machine.system() != 'windows'
+  subdir('check')
+endif