1if not gstva_dep.found() 2 subdir_done() 3endif 4 5gtk_dep = dependency('gtk+-3.0', required : get_option('examples')) 6gtk_x11_dep = dependency('gtk+-x11-3.0', required : get_option('examples')) 7x11_dep = dependency('x11', required : get_option('examples')) 8libva_x11_dep = dependency('libva-x11', version: libva_req, required: get_option('examples')) 9 10if gtk_dep.found() and gtk_x11_dep.found() and x11_dep.found() and libva_x11_dep.found() 11 executable('va-x11-render', 12 'main.c', 13 install: false, 14 include_directories : [configinc], 15 dependencies : [gtk_dep, gtk_x11_dep, x11_dep, gst_dep, gstapp_dep, gstvideo_dep, gstva_dep, libva_x11_dep], 16 c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], 17 ) 18endif 19 20executable('multiple-vpp', 21 'multiple-vpp.c', 22 install: false, 23 include_directories : [configinc], 24 dependencies : [gst_dep, gstvideo_dep, gstva_dep, gstcontroller_dep], 25 c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], 26) 27