mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 11:30:59 +00:00
meson: optionalize pango dependency used by net/onvif
Similar to -Dpango=<auto|enabled|disabled> in gst-plugins-base.
This commit is contained in:
parent
9aeaac5a96
commit
d01779dc6c
2 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,6 @@ plugins = {
|
||||||
'gst-plugin-aws': 'libgstaws',
|
'gst-plugin-aws': 'libgstaws',
|
||||||
'gst-plugin-hlssink3': 'libgsthlssink3',
|
'gst-plugin-hlssink3': 'libgsthlssink3',
|
||||||
'gst-plugin-ndi': 'libgstndi',
|
'gst-plugin-ndi': 'libgstndi',
|
||||||
'gst-plugin-onvif': 'libgstrsonvif',
|
|
||||||
'gst-plugin-raptorq': 'libgstraptorq',
|
'gst-plugin-raptorq': 'libgstraptorq',
|
||||||
'gst-plugin-reqwest': 'libgstreqwest',
|
'gst-plugin-reqwest': 'libgstreqwest',
|
||||||
'gst-plugin-rtp': 'libgstrsrtp',
|
'gst-plugin-rtp': 'libgstrsrtp',
|
||||||
|
@ -98,6 +97,10 @@ if dependency('pangocairo', required : get_option('closedcaption')).found()
|
||||||
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
|
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if dependency('pangocairo', required : get_option('onvif')).found()
|
||||||
|
plugins += {'gst-plugin-onvif': 'libgstrsonvif',}
|
||||||
|
endif
|
||||||
|
|
||||||
if dependency('dav1d', version : '>= 1.0.0', required : get_option('dav1d')).found()
|
if dependency('dav1d', version : '>= 1.0.0', required : get_option('dav1d')).found()
|
||||||
plugins += {'gst-plugin-dav1d' : 'libgstdav1d'}
|
plugins += {'gst-plugin-dav1d' : 'libgstdav1d'}
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
option('videofx', type : 'feature', value : 'auto', description : 'Build videofx plugin')
|
option('videofx', type : 'feature', value : 'auto', description : 'Build videofx plugin')
|
||||||
option('closedcaption', type : 'feature', value : 'auto', description : 'Build closedcaption plugin')
|
option('closedcaption', type : 'feature', value : 'auto', description : 'Build closedcaption plugin')
|
||||||
|
option('onvif', type : 'feature', value : 'auto', description : 'Build onvif plugin')
|
||||||
option('dav1d', type : 'feature', value : 'auto', description : 'Build dav1d plugin')
|
option('dav1d', type : 'feature', value : 'auto', description : 'Build dav1d plugin')
|
||||||
option('sodium', type : 'combo',
|
option('sodium', type : 'combo',
|
||||||
choices : ['system', 'built-in', 'disabled'], value : 'built-in',
|
choices : ['system', 'built-in', 'disabled'], value : 'built-in',
|
||||||
|
|
Loading…
Reference in a new issue