mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 20:01:35 +00:00
5873747a59
In static mode, these tools must be built after the gstreamer-full library to use the symbol gst_init_static_plugins. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4128>
24 lines
No EOL
722 B
Meson
24 lines
No EOL
722 B
Meson
gst_tools = {
|
|
'gst-transcoder': {
|
|
'files': files('gst-transcoder.c', 'utils.c'),
|
|
'deps': [gst_dep, gstpbutils_dep, gst_transcoder_dep],
|
|
},
|
|
}
|
|
|
|
if not get_option('tools').disabled() and not static_build
|
|
foreach tool, data: gst_tools
|
|
exe_name = '@0@-@1@'.format(tool, api_version)
|
|
executable(exe_name,
|
|
data.get('files'),
|
|
install: data.get('install', true),
|
|
install_tag: 'bin',
|
|
include_directories : data.get('include_directories', [configinc]),
|
|
dependencies : data.get('deps'),
|
|
c_args: data.get('extra_c_args', []) + ['-DG_LOG_DOMAIN="@0@"'.format(exe_name)],
|
|
)
|
|
|
|
if data.has_key('man_page')
|
|
install_man(data.get('man_page'))
|
|
endif
|
|
endforeach
|
|
endif |