1if ['darwin', 'ios'].contains(host_system) 2 avfoundation_dep = dependency('appleframeworks', modules : ['AVFoundation'], required : get_option('examples')) 3 quartzcore_dep = dependency('appleframeworks', modules : ['QuartzCore'], required : get_option('examples')) 4 corefoundation_dep = dependency('appleframeworks', modules : ['CoreFoundation'], required : get_option('examples')) 5 cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : get_option('examples')) 6 7 if quartzcore_dep.found() and avfoundation_dep.found() and corefoundation_dep.found() and cocoa_dep.found() 8 executable('avsamplesink', 'main.m', 9 include_directories : [configinc], 10 dependencies : [gst_dep, avfoundation_dep, quartzcore_dep, corefoundation_dep, cocoa_dep], 11 c_args : gst_plugins_bad_args, 12 install: false) 13 endif 14endif 15