mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
Add options to disable some modules
This commit is contained in:
parent
aca3e8c96e
commit
3875f0c705
2 changed files with 25 additions and 4 deletions
24
meson.build
24
meson.build
|
@ -9,10 +9,6 @@ subprojects = [
|
|||
'gstreamer',
|
||||
'gst-plugins-base',
|
||||
'gst-plugins-good',
|
||||
'gst-plugins-ugly',
|
||||
'gst-plugins-bad',
|
||||
'gst-devtools',
|
||||
'gst-editing-services'
|
||||
]
|
||||
|
||||
# FIXME Remove that check once we have ffmpeg as a gst-libav subproject
|
||||
|
@ -41,6 +37,26 @@ if get_option('enable_python')
|
|||
subprojects += ['gst-python']
|
||||
endif
|
||||
|
||||
if not get_option('disable_gst_plugins_ugly')
|
||||
subprojects += ['gst-plugins-ugly']
|
||||
endif
|
||||
|
||||
if not get_option('disable_gst_plugins_bad')
|
||||
subprojects += ['gst-plugins-bad']
|
||||
endif
|
||||
|
||||
if not get_option('disable_gst_libav')
|
||||
subprojects += ['gst-libav']
|
||||
endif
|
||||
|
||||
if not get_option('disable_gst_devtools')
|
||||
subprojects += ['gst-devtools']
|
||||
endif
|
||||
|
||||
if not get_option('disable_gst_editing_services')
|
||||
subprojects += ['gst-editing-services']
|
||||
endif
|
||||
|
||||
python3 = find_program('python3')
|
||||
symlink = '''
|
||||
import os
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
option('enable_python', type : 'boolean', value : false)
|
||||
option('disable_gst_libav', type : 'boolean', value : false)
|
||||
option('disable_gst_plugins_ugly', type : 'boolean', value : false)
|
||||
option('disable_gst_plugins_bad', type : 'boolean', value : false)
|
||||
option('disable_gst_devtools', type : 'boolean', value : false)
|
||||
option('disable_gst_editing_services', type : 'boolean', value : false)
|
||||
|
|
Loading…
Reference in a new issue