2016-08-05 19:48:41 +00:00
|
|
|
executable('gst-validate-' + apiversion,
|
|
|
|
'gst-validate.c',
|
|
|
|
install: true,
|
|
|
|
include_directories : inc_dirs,
|
|
|
|
dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gio_dep],
|
|
|
|
c_args : [gst_c_args],
|
|
|
|
link_with : [gstvalidate]
|
|
|
|
)
|
|
|
|
executable('gst-validate-transcoding-' + apiversion,
|
|
|
|
'gst-validate-transcoding.c', install: true,
|
|
|
|
include_directories : inc_dirs,
|
|
|
|
dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gst_video_dep, gio_dep],
|
|
|
|
c_args : [gst_c_args],
|
|
|
|
link_with : [gstvalidate]
|
|
|
|
)
|
|
|
|
executable('gst-validate-media-check-' + apiversion,
|
|
|
|
'gst-validate-media-check.c',
|
|
|
|
install: true,
|
|
|
|
include_directories : inc_dirs,
|
|
|
|
dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gio_dep],
|
|
|
|
c_args : [gst_c_args],
|
|
|
|
link_with : [gstvalidate]
|
|
|
|
)
|
|
|
|
|
2017-06-07 13:16:45 +00:00
|
|
|
rtsp_server_dep = dependency('gstreamer-rtsp-server-' + apiversion,
|
2017-06-07 20:18:59 +00:00
|
|
|
fallback: ['gst-rtsp-server', 'gst_rtsp_server_dep'],
|
|
|
|
required: false)
|
2017-06-07 13:16:45 +00:00
|
|
|
|
|
|
|
if rtsp_server_dep.found()
|
|
|
|
executable('gst-validate-rtsp-server-' + apiversion,
|
|
|
|
'gst-validate-rtsp-server.c',
|
|
|
|
install: true,
|
|
|
|
include_directories: inc_dirs,
|
|
|
|
dependencies: [rtsp_server_dep],
|
|
|
|
c_args: [gst_c_args],
|
|
|
|
link_with: [gstvalidate]
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2017-02-10 18:54:05 +00:00
|
|
|
if cairo_dep.found()
|
|
|
|
executable('gst-validate-image-check-' + apiversion,
|
|
|
|
'gst-validate-images-check.c',
|
|
|
|
install: true,
|
|
|
|
include_directories : inc_dirs,
|
|
|
|
dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gio_dep],
|
|
|
|
c_args : [gst_c_args],
|
|
|
|
link_with : [gstvalidate, video]
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2016-08-05 19:48:41 +00:00
|
|
|
tmpconf = configuration_data()
|
2017-02-21 16:39:37 +00:00
|
|
|
tmpconf.set('LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
|
2016-08-05 19:48:41 +00:00
|
|
|
tmpconf.set('BUILDDIR', meson.current_build_dir())
|
|
|
|
tmpconf.set('SRCDIR', meson.current_source_dir())
|
|
|
|
|
|
|
|
configure_file(input : 'gst-validate-launcher.in',
|
2016-09-21 19:41:45 +00:00
|
|
|
install_dir: get_option('bindir'),
|
2016-08-05 19:48:41 +00:00
|
|
|
output : 'gst-validate-launcher',
|
|
|
|
configuration : tmpconf)
|
2016-11-18 17:45:42 +00:00
|
|
|
|
|
|
|
launcher = find_program(meson.current_build_dir() + '/gst-validate-launcher')
|