mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
3d8372cc50
This should make "meson devenv" closer to what "gst-env.py" sets. - GST_VALIDATE_SCENARIOS_PATH - GST_VALIDATE_APPS_DIR - GST_OMX_CONFIG_DIR - GST_ENCODING_TARGET_PATH - GST_PRESET_PATH - GST_PLUGIN_SCANNER - GST_PTP_HELPER - _GI_OVERRIDES_PATH Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1768>
21 lines
508 B
Meson
21 lines
508 B
Meson
if omx_target == 'rpi'
|
|
sub = 'rpi'
|
|
elif omx_target == 'bellagio'
|
|
sub = 'bellagio'
|
|
elif omx_target == 'zynqultrascaleplus'
|
|
sub = 'zynqultrascaleplus'
|
|
elif omx_target == 'tizonia'
|
|
sub = 'tizonia'
|
|
else
|
|
# No config file defined for the 'generic' target
|
|
sub = ''
|
|
endif
|
|
|
|
if sub != ''
|
|
subdir (sub)
|
|
# Used by tests to load the proper conf file
|
|
omx_config_dir = join_paths (meson.current_source_dir(), sub)
|
|
meson.add_devenv({'GST_OMX_CONFIG_DIR': omx_config_dir})
|
|
else
|
|
omx_config_dir = ''
|
|
endif
|