mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
meson: Reorganize meson options a bit
Enable core gstreamer subprojects bad, ugly, libav, ges, devtools by default. Otherwise if, say, you do, -Dgst-plugins-bad:dtls=enabled and openssl is not found, meson will disable the entire subproject. You have to pass -Dbad=enabled -Dgst-plugins-bad:dtls=enabled to get the expected behaviour. Also move options that are not for selection subprojects out of the section, add a qt6 option, and improve the description for some options. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3708>
This commit is contained in:
parent
947c464830
commit
40371ff9c6
1 changed files with 19 additions and 16 deletions
|
@ -1,22 +1,22 @@
|
||||||
# Subproject options
|
# GStreamer subprojects
|
||||||
option('python', type : 'feature', value : 'auto')
|
|
||||||
option('libav', type : 'feature', value : 'auto')
|
|
||||||
option('libnice', type : 'feature', value : 'auto')
|
|
||||||
option('base', type : 'feature', value : 'enabled')
|
option('base', type : 'feature', value : 'enabled')
|
||||||
option('good', type : 'feature', value : 'enabled')
|
option('good', type : 'feature', value : 'enabled')
|
||||||
option('ugly', type : 'feature', value : 'auto')
|
option('ugly', type : 'feature', value : 'enabled')
|
||||||
option('bad', type : 'feature', value : 'auto')
|
option('bad', type : 'feature', value : 'enabled')
|
||||||
option('devtools', type : 'feature', value : 'auto')
|
option('libav', type : 'feature', value : 'enabled')
|
||||||
option('ges', type : 'feature', value : 'auto')
|
option('devtools', type : 'feature', value : 'enabled')
|
||||||
option('rtsp_server', type : 'feature', value : 'auto')
|
option('ges', type : 'feature', value : 'enabled')
|
||||||
|
option('rtsp_server', type : 'feature', value : 'enabled')
|
||||||
|
option('rs', type : 'feature', value : 'disabled')
|
||||||
option('omx', type : 'feature', value : 'disabled')
|
option('omx', type : 'feature', value : 'disabled')
|
||||||
option('vaapi', type : 'feature', value : 'disabled')
|
option('vaapi', type : 'feature', value : 'disabled')
|
||||||
|
option('gst-examples', type : 'feature', value : 'auto', description : 'Build gst-examples subproject')
|
||||||
|
# Bindings
|
||||||
|
option('python', type : 'feature', value : 'auto')
|
||||||
option('sharp', type : 'feature', value : 'disabled')
|
option('sharp', type : 'feature', value : 'disabled')
|
||||||
option('rs', type : 'feature', value : 'disabled')
|
# External subprojects
|
||||||
option('gst-examples', type : 'feature', value : 'auto', description : 'Build gst-examples')
|
option('tls', type : 'feature', value : 'auto', description : 'TLS support using glib-networking as a subproject')
|
||||||
option('tls', type : 'feature', value : 'auto', description : 'TLS support using glib-networking')
|
option('libnice', type : 'feature', value : 'auto', description: 'ICE support using libnice as a subproject')
|
||||||
option('qt5', type : 'feature', value : 'auto', description : 'Qt5 Support')
|
|
||||||
option('tools', type : 'feature', value : 'auto', yield : true, description : 'Build command line tools')
|
|
||||||
|
|
||||||
# Build for fuzzing
|
# Build for fuzzing
|
||||||
option('oss_fuzz', type : 'feature', value : 'disabled',
|
option('oss_fuzz', type : 'feature', value : 'disabled',
|
||||||
|
@ -46,12 +46,15 @@ option('gpl', type: 'feature', value: 'disabled',
|
||||||
|
|
||||||
# Common options, automatically inherited by subprojects
|
# Common options, automatically inherited by subprojects
|
||||||
option('tests', type : 'feature', value : 'auto', description : 'Build tests')
|
option('tests', type : 'feature', value : 'auto', description : 'Build tests')
|
||||||
|
option('tools', type : 'feature', value : 'auto', yield : true, description : 'Build command line tools')
|
||||||
option('examples', type : 'feature', value : 'auto', description : 'Build examples')
|
option('examples', type : 'feature', value : 'auto', description : 'Build examples')
|
||||||
option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data')
|
option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data')
|
||||||
option('nls', type : 'feature', value : 'auto', description : 'Enable native language support (translations)')
|
option('nls', type : 'feature', value : 'auto', description : 'Native language support (translations)')
|
||||||
option('orc', type : 'feature', value : 'auto', description : 'Enable Optimized Inner Loop Runtime Compiler')
|
option('orc', type : 'feature', value : 'auto', description : 'Optimized Inner Loop Runtime Compiler (SIMD)')
|
||||||
option('doc', type : 'feature', value : 'auto', description : 'Generate API documentation with hotdoc')
|
option('doc', type : 'feature', value : 'auto', description : 'Generate API documentation with hotdoc')
|
||||||
option('gtk_doc', type : 'feature', value : 'disabled', description : 'Generate API documentation with gtk-doc')
|
option('gtk_doc', type : 'feature', value : 'disabled', description : 'Generate API documentation with gtk-doc')
|
||||||
|
option('qt5', type : 'feature', value : 'auto', description : 'Qt5 toolkit support')
|
||||||
|
option('qt6', type : 'feature', value : 'auto', description : 'Qt6 toolkit support')
|
||||||
|
|
||||||
option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
|
option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
|
||||||
description : 'package origin URL to use in plugins')
|
description : 'package origin URL to use in plugins')
|
||||||
|
|
Loading…
Reference in a new issue