instead of 'examples' use 'gst-examples' as option to build the respective subproject

we want to do this because the other "examples" in plugins (tests etc) need  a lot deps (qt5 etc)
that are not needed by gst-examples itself.
This commit is contained in:
Stephan Hesse 2019-11-02 17:18:27 +01:00
parent 3dc7c9de94
commit 1ee4c316c1
2 changed files with 2 additions and 1 deletions

View file

@ -63,7 +63,7 @@ subprojects = [
['gstreamer-sharp', { 'option': get_option('sharp') }],
['pygobject', { 'option': get_option('python'), 'match_gst_version': false }],
['gst-python', { 'option': get_option('python'), 'has-plugins': true}],
['gst-examples', { 'option': get_option('examples'), 'match_gst_versions': false}],
['gst-examples', { 'option': get_option('gst-examples'), 'match_gst_versions': false}],
]
symlink = '''

View file

@ -10,6 +10,7 @@ option('omx', type : 'feature', value : 'disabled')
option('vaapi', type : 'feature', value : 'auto')
option('sharp', type : 'feature', value : 'disabled')
option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
option('gst-examples', type : 'feature', value : 'auto', description : 'Build gst-examples')
# Common options, automatically inherited by subprojects
option('examples', type : 'feature', value : 'auto', description : 'Build examples')