2015-12-03 11:32:05 +00:00
|
|
|
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',
|
2021-01-20 06:55:09 +00:00
|
|
|
'targets/file-extension/ts.gep',
|
2015-12-03 11:32:05 +00:00
|
|
|
'targets/file-extension/avi.gep',],
|
|
|
|
],
|
|
|
|
['online-services', ['targets/online-service/youtube.gep',]],
|
|
|
|
['device', ['targets/device/dvd.gep',]],
|
|
|
|
]
|
|
|
|
|
2022-02-21 16:37:26 +00:00
|
|
|
srcdirs = []
|
|
|
|
|
2015-12-03 11:32:05 +00:00
|
|
|
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)
|
2022-02-21 16:37:26 +00:00
|
|
|
srcdirs += meson.current_source_dir() / 'targets' / path_targets.get(0)
|
2015-12-03 11:32:05 +00:00
|
|
|
endforeach
|
2022-02-21 16:37:26 +00:00
|
|
|
|
|
|
|
env = environment()
|
|
|
|
env.prepend('GST_ENCODING_TARGET_PATH', srcdirs)
|
|
|
|
meson.add_devenv(env)
|