mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
meson: Add option for winks plugin
This was accidentally missed.
This commit is contained in:
parent
231524cbbc
commit
60542ec970
2 changed files with 11 additions and 7 deletions
|
@ -128,6 +128,7 @@ option('wasapi', type : 'feature', value : 'auto', description : 'Windows Audio
|
||||||
option('webp', type : 'feature', value : 'auto', description : 'WebP image codec plugin')
|
option('webp', type : 'feature', value : 'auto', description : 'WebP image codec plugin')
|
||||||
option('webrtc', type : 'feature', value : 'auto', description : 'WebRTC audio/video network bin plugin')
|
option('webrtc', type : 'feature', value : 'auto', description : 'WebRTC audio/video network bin plugin')
|
||||||
option('webrtcdsp', type : 'feature', value : 'auto', description : 'Plugin with various audio filters provided by the WebRTC audio processing library')
|
option('webrtcdsp', type : 'feature', value : 'auto', description : 'Plugin with various audio filters provided by the WebRTC audio processing library')
|
||||||
|
option('winks', type : 'feature', value : 'auto', description : 'Windows Kernel Streaming video source plugin')
|
||||||
option('winscreencap', type : 'feature', value : 'auto', description : 'Windows Screen Capture video source plugin')
|
option('winscreencap', type : 'feature', value : 'auto', description : 'Windows Screen Capture video source plugin')
|
||||||
option('x265', type : 'feature', value : 'auto', description : 'HEVC/H.265 video encoder plugin')
|
option('x265', type : 'feature', value : 'auto', description : 'HEVC/H.265 video encoder plugin')
|
||||||
option('zbar', type : 'feature', value : 'auto', description : 'Barcode image scanner plugin')
|
option('zbar', type : 'feature', value : 'auto', description : 'Barcode image scanner plugin')
|
||||||
|
|
|
@ -7,13 +7,16 @@ winks_sources = [
|
||||||
'ksvideohelpers.c',
|
'ksvideohelpers.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
if host_system == 'windows'
|
winks_option = get_option('winks')
|
||||||
winks_dep = [cc.find_library('ksuser', required : get_option('winks')),
|
if host_system == 'windows' and not winks_option.disabled()
|
||||||
cc.find_library('uuid', required : get_option('winks')),
|
# FIXME: Add a way to skip this library when these deps are not found. Not
|
||||||
cc.find_library('strmiids', required : get_option('winks')),
|
# urgent because these are always available when building for Windows.
|
||||||
cc.find_library('dxguid', required : get_option('winks')),
|
winks_dep = [cc.find_library('ksuser', required : winks_option),
|
||||||
cc.find_library('setupapi', required : get_option('winks')),
|
cc.find_library('uuid', required : winks_option),
|
||||||
cc.find_library('ole32', required : get_option('winks'))]
|
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',
|
gstwinks = library('gstwinks',
|
||||||
winks_sources,
|
winks_sources,
|
||||||
|
|
Loading…
Reference in a new issue