mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +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>
30 lines
1.1 KiB
Meson
30 lines
1.1 KiB
Meson
encoding_targetsdir = join_paths(get_option('datadir'),
|
|
'gstreamer-' + api_version, 'encoding-profiles')
|
|
|
|
encoding_targets = [
|
|
['file-extension', ['targets/file-extension/ogv.gep',
|
|
'targets/file-extension/oga.gep',
|
|
'targets/file-extension/mkv.gep',
|
|
'targets/file-extension/mp3.gep',
|
|
'targets/file-extension/webm.gep',
|
|
'targets/file-extension/flv.gep',
|
|
'targets/file-extension/mp4.gep',
|
|
'targets/file-extension/ts.gep',
|
|
'targets/file-extension/avi.gep',],
|
|
],
|
|
['online-services', ['targets/online-service/youtube.gep',]],
|
|
['device', ['targets/device/dvd.gep',]],
|
|
]
|
|
|
|
srcdirs = []
|
|
|
|
foreach path_targets : encoding_targets
|
|
dir = join_paths(encoding_targetsdir, path_targets.get(0))
|
|
etargets = path_targets.get(1)
|
|
install_data(sources: etargets, install_dir: dir)
|
|
srcdirs += meson.current_source_dir() / 'targets' / path_targets.get(0)
|
|
endforeach
|
|
|
|
env = environment()
|
|
env.prepend('GST_ENCODING_TARGET_PATH', srcdirs)
|
|
meson.add_devenv(env)
|