2020-06-15 22:06:33 +00:00
|
|
|
pluginsdirs = [ ]
|
|
|
|
if gst_dep.type_name() == 'pkgconfig'
|
|
|
|
pbase = dependency('gstreamer-plugins-base-' + apiversion)
|
|
|
|
|
2021-10-17 23:40:14 +00:00
|
|
|
pluginsdirs = [gst_dep.get_variable('pluginsdir'),
|
|
|
|
pbase.get_variable('pluginsdir')]
|
|
|
|
gst_plugin_scanner_dir = gst_dep.get_variable('pluginscannerdir')
|
2020-06-15 22:06:33 +00:00
|
|
|
else
|
|
|
|
gst_plugin_scanner_dir = subproject('gstreamer').get_variable('gst_scanner_dir')
|
|
|
|
endif
|
|
|
|
gst_plugin_scanner_path = join_paths(gst_plugin_scanner_dir, 'gst-plugin-scanner')
|
|
|
|
|
2023-03-07 13:05:54 +00:00
|
|
|
if get_option('tests').disabled() or static_build
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2016-09-07 13:59:22 +00:00
|
|
|
# FIXME: make check work on windows
|
2018-09-01 06:39:32 +00:00
|
|
|
if host_machine.system() != 'windows' and gst_check_dep.found()
|
|
|
|
subdir('check')
|
2016-09-07 13:59:22 +00:00
|
|
|
endif
|
2016-09-07 20:24:53 +00:00
|
|
|
|
|
|
|
subdir('launcher_tests')
|