mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
f1bb2c76c6
... in favour of dep.get_variable('foo', ..) which in some cases allows for further cleanups in future since we can extract variables from pkg-config dependencies as well as internal dependencies using this mechanism. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
17 lines
534 B
Meson
17 lines
534 B
Meson
pluginsdirs = []
|
|
if gst_dep.type_name() == 'pkgconfig'
|
|
pluginsdirs = [gst_dep.get_variable('pluginsdir')]
|
|
gst_plugin_scanner_dir = gst_dep.get_variable('pluginscannerdir')
|
|
else
|
|
gst_plugin_scanner_dir = gst_proj.get_variable('gst_scanner_dir')
|
|
endif
|
|
gst_plugin_scanner_path = join_paths(gst_plugin_scanner_dir, 'gst-plugin-scanner')
|
|
|
|
if not get_option('tests').disabled() and gst_check_dep.found()
|
|
subdir('check')
|
|
subdir('icles')
|
|
subdir('validate')
|
|
endif
|
|
if not get_option('examples').disabled()
|
|
subdir('examples')
|
|
endif
|