mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
meson: add option to disable build of rtspclientsink plugin
This commit is contained in:
parent
46d8bb2881
commit
ffebe3dd84
3 changed files with 11 additions and 2 deletions
|
@ -1,2 +1,5 @@
|
|||
subdir('rtsp-server')
|
||||
subdir('rtsp-sink')
|
||||
|
||||
if not get_option('rtspclientsink').disabled()
|
||||
subdir('rtsp-sink')
|
||||
endif
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Feature options for plugins with no external deps
|
||||
option('rtspclientsink', type : 'feature', value : 'auto')
|
||||
|
||||
# Common feature options
|
||||
option('examples', type : 'feature', value : 'auto', yield : true,
|
||||
description : 'Build the examples')
|
||||
|
|
|
@ -23,7 +23,6 @@ rtsp_server_tests = [
|
|||
'gst/media',
|
||||
'gst/permissions',
|
||||
'gst/rtspserver',
|
||||
'gst/rtspclientsink',
|
||||
'gst/sessionmedia',
|
||||
'gst/sessionpool',
|
||||
'gst/stream',
|
||||
|
@ -31,6 +30,10 @@ rtsp_server_tests = [
|
|||
'gst/token',
|
||||
]
|
||||
|
||||
if not get_option('rtspclientsink').disabled()
|
||||
rtsp_server_tests += ['gst/rtspclientsink']
|
||||
endif
|
||||
|
||||
foreach test_name : rtsp_server_tests
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
|
|
Loading…
Reference in a new issue