mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
30 lines
1 KiB
Meson
30 lines
1 KiB
Meson
winks_sources = [
|
|
'gstksclock.c',
|
|
'gstksvideodevice.c',
|
|
'gstksvideosrc.c',
|
|
'ksdeviceprovider.c',
|
|
'kshelpers.c',
|
|
'ksvideohelpers.c',
|
|
]
|
|
|
|
winks_option = get_option('winks')
|
|
if host_system == 'windows' and not winks_option.disabled()
|
|
# FIXME: Add a way to skip this library when these deps are not found. Not
|
|
# urgent because these are always available when building for Windows.
|
|
winks_dep = [cc.find_library('ksuser', required : winks_option),
|
|
cc.find_library('uuid', required : winks_option),
|
|
cc.find_library('strmiids', required : winks_option),
|
|
cc.find_library('dxguid', required : winks_option),
|
|
cc.find_library('setupapi', required : winks_option),
|
|
cc.find_library('ole32', required : winks_option)]
|
|
|
|
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,
|
|
)
|
|
plugins += [gstwinks]
|
|
endif
|