1winks_sources = [ 2 'gstksclock.c', 3 'gstksvideodevice.c', 4 'gstksvideosrc.c', 5 'ksdeviceprovider.c', 6 'kshelpers.c', 7 'ksvideohelpers.c', 8] 9 10winks_option = get_option('winks') 11if host_system == 'windows' and not winks_option.disabled() 12 # FIXME: Add a way to skip this library when these deps are not found. Not 13 # urgent because these are always available when building for Windows. 14 winks_dep = [cc.find_library('ksuser', required : winks_option), 15 cc.find_library('uuid', required : winks_option), 16 cc.find_library('strmiids', required : winks_option), 17 cc.find_library('dxguid', required : winks_option), 18 cc.find_library('setupapi', required : winks_option), 19 cc.find_library('ole32', required : winks_option)] 20 21 gstwinks = library('gstwinks', 22 winks_sources, 23 c_args : gst_plugins_bad_args, 24 include_directories : [configinc], 25 dependencies : [gstbase_dep] + winks_dep, 26 install : true, 27 install_dir : plugins_install_dir, 28 ) 29 pkgconfig.generate(gstwinks, install_dir : plugins_pkgconfig_install_dir) 30 plugins += [gstwinks] 31endif 32