mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-31 21:22:22 +00:00
meson: optionalize pango dependency used by video/videofx
Similar to -Dcairo=<auto|enabled|disabled> in gst-plugins-good.
This commit is contained in:
parent
b688326383
commit
6da4192fe6
2 changed files with 5 additions and 1 deletions
|
@ -61,7 +61,6 @@ plugins = {
|
|||
# FIXME: libwebp-sys2 will build its bundled version on msvc and apple platforms
|
||||
# https://github.com/qnighy/libwebp-sys2-rs/issues/4
|
||||
'gst-plugin-webp': 'libgstrswebp',
|
||||
'gst-plugin-videofx': 'libgstvideofx',
|
||||
'gst-plugin-uriplaylistbin': 'libgsturiplaylistbin',
|
||||
'gst-plugin-spotify': 'libgstspotify',
|
||||
'gst-plugin-textahead': 'libgsttextahead',
|
||||
|
@ -74,6 +73,10 @@ plugins = {
|
|||
|
||||
extra_env = {}
|
||||
|
||||
if dependency('cairo-gobject', required : get_option('videofx')).found()
|
||||
plugins += {'gst-plugin-videofx': 'libgstvideofx',}
|
||||
endif
|
||||
|
||||
if dependency('pangocairo', required : get_option('closedcaption')).found()
|
||||
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
|
||||
endif
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
option('videofx', type : 'feature', value : 'auto', description : 'Build videofx plugin')
|
||||
option('closedcaption', type : 'feature', value : 'auto', description : 'Build closedcaption plugin')
|
||||
option('dav1d', type : 'feature', value : 'auto', description : 'Build dav1d plugin')
|
||||
option('sodium', type : 'combo',
|
||||
|
|
Loading…
Reference in a new issue