2016-08-12 15:51:45 +00:00
|
|
|
winks_sources = [
|
|
|
|
'gstksclock.c',
|
|
|
|
'gstksvideodevice.c',
|
|
|
|
'gstksvideosrc.c',
|
|
|
|
'ksdeviceprovider.c',
|
|
|
|
'kshelpers.c',
|
|
|
|
'ksvideohelpers.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
if host_system == 'windows'
|
2018-07-27 13:29:23 +00:00
|
|
|
winks_dep = [cc.find_library('ksuser', required : get_option('winks')),
|
|
|
|
cc.find_library('uuid', required : get_option('winks')),
|
|
|
|
cc.find_library('strmiids', required : get_option('winks')),
|
|
|
|
cc.find_library('dxguid', required : get_option('winks')),
|
|
|
|
cc.find_library('setupapi', required : get_option('winks')),
|
|
|
|
cc.find_library('ole32', required : get_option('winks'))]
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
gstwinks = library('gstwinks',
|
|
|
|
winks_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstbase_dep] + winks_dep,
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstwinks, install_dir : plugins_pkgconfig_install_dir)
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|