2018-08-09 23:08:43 +00:00
|
|
|
tools = ['gst-inspect', 'gst-stats', 'gst-typefind']
|
|
|
|
|
|
|
|
if gst_parse
|
|
|
|
tools += ['gst-launch']
|
|
|
|
endif
|
2016-08-12 14:55:17 +00:00
|
|
|
|
2016-11-03 12:34:18 +00:00
|
|
|
foreach tool : tools
|
|
|
|
exe_name = '@0@-@1@'.format(tool, apiversion)
|
|
|
|
src_file = '@0@.c'.format(tool)
|
2016-08-12 14:55:17 +00:00
|
|
|
|
2016-11-03 12:34:18 +00:00
|
|
|
executable(exe_name,
|
|
|
|
src_file,
|
|
|
|
install: true,
|
2017-06-27 13:59:52 +00:00
|
|
|
include_directories : [configinc],
|
2016-11-03 12:34:18 +00:00
|
|
|
dependencies : [glib_dep, gobject_dep, gmodule_dep, mathlib, gst_dep],
|
|
|
|
c_args: gst_c_args,
|
|
|
|
)
|
2016-11-03 09:30:53 +00:00
|
|
|
|
|
|
|
man_page = '@0@-1.0.1'.format(tool)
|
|
|
|
install_man(man_page)
|
2016-11-03 12:34:18 +00:00
|
|
|
endforeach
|