2021-05-07 09:05:38 +00:00
|
|
|
if not gstva_dep.found()
|
2021-01-07 14:47:35 +00:00
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2020-08-03 11:50:23 +00:00
|
|
|
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
|
|
|
|
gtk_x11_dep = dependency('gtk+-x11-3.0', required : get_option('examples'))
|
|
|
|
x11_dep = dependency('x11', required : get_option('examples'))
|
|
|
|
libva_x11_dep = dependency('libva-x11', version: libva_req, required: get_option('examples'))
|
|
|
|
|
2021-05-07 09:05:38 +00:00
|
|
|
if gtk_dep.found() and gtk_x11_dep.found() and x11_dep.found() and libva_x11_dep.found()
|
2020-08-03 11:50:23 +00:00
|
|
|
executable('va-x11-render',
|
|
|
|
'main.c',
|
|
|
|
install: false,
|
|
|
|
include_directories : [configinc],
|
2021-05-07 09:05:38 +00:00
|
|
|
dependencies : [gtk_dep, gtk_x11_dep, x11_dep, gst_dep, gstapp_dep, gstvideo_dep, gstva_dep, libva_x11_dep],
|
2020-08-03 11:50:23 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
)
|
|
|
|
endif
|
2020-09-19 19:39:06 +00:00
|
|
|
|
|
|
|
executable('multiple-vpp',
|
|
|
|
'multiple-vpp.c',
|
|
|
|
install: false,
|
|
|
|
include_directories : [configinc],
|
2021-05-07 09:05:38 +00:00
|
|
|
dependencies : [gst_dep, gstvideo_dep, gstva_dep, gstcontroller_dep],
|
2020-09-19 19:39:06 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
)
|
2022-05-22 10:02:15 +00:00
|
|
|
|
|
|
|
executable('vaenc-dynamic-reconfigure',
|
|
|
|
['vaenc-dynamic-reconfigure.c', '../key-handler.c'],
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies: [gst_dep, gstbase_dep, gstvideo_dep],
|
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
install: false)
|