mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-03 18:23:49 +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
|
# FIXME: libwebp-sys2 will build its bundled version on msvc and apple platforms
|
||||||
# https://github.com/qnighy/libwebp-sys2-rs/issues/4
|
# https://github.com/qnighy/libwebp-sys2-rs/issues/4
|
||||||
'gst-plugin-webp': 'libgstrswebp',
|
'gst-plugin-webp': 'libgstrswebp',
|
||||||
'gst-plugin-videofx': 'libgstvideofx',
|
|
||||||
'gst-plugin-uriplaylistbin': 'libgsturiplaylistbin',
|
'gst-plugin-uriplaylistbin': 'libgsturiplaylistbin',
|
||||||
'gst-plugin-spotify': 'libgstspotify',
|
'gst-plugin-spotify': 'libgstspotify',
|
||||||
'gst-plugin-textahead': 'libgsttextahead',
|
'gst-plugin-textahead': 'libgsttextahead',
|
||||||
|
@ -74,6 +73,10 @@ plugins = {
|
||||||
|
|
||||||
extra_env = {}
|
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()
|
if dependency('pangocairo', required : get_option('closedcaption')).found()
|
||||||
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
|
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
|
||||||
endif
|
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('closedcaption', type : 'feature', value : 'auto', description : 'Build closedcaption 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',
|
||||||
|
|
Loading…
Reference in a new issue