Commit ffebe3dd authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: add option to disable build of rtspclientsink plugin

parent 46d8bb28
subdir('rtsp-server')
subdir('rtsp-sink')
if not get_option('rtspclientsink').disabled()
subdir('rtsp-sink')
endif
# 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', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment