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>
2023-01-14 08:25:53 +00:00
# GStreamer subprojects
2020-07-15 13:01:37 +00:00
option ( 'base' , type : 'feature' , value : 'enabled' )
option ( 'good' , type : 'feature' , value : 'enabled' )
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>
2023-01-14 08:25:53 +00:00
option ( 'ugly' , type : 'feature' , value : 'enabled' )
option ( 'bad' , type : 'feature' , value : 'enabled' )
option ( 'libav' , type : 'feature' , value : 'enabled' )
option ( 'devtools' , type : 'feature' , value : 'enabled' )
option ( 'ges' , type : 'feature' , value : 'enabled' )
option ( 'rtsp_server' , type : 'feature' , value : 'enabled' )
option ( 'rs' , type : 'feature' , value : 'disabled' )
2018-07-12 14:14:33 +00:00
option ( 'omx' , type : 'feature' , value : 'disabled' )
2020-03-02 05:41:47 +00:00
option ( 'vaapi' , type : 'feature' , value : 'disabled' )
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>
2023-01-14 08:25:53 +00:00
option ( 'gst-examples' , type : 'feature' , value : 'auto' , description : 'Build gst-examples subproject' )
# Bindings
option ( 'python' , type : 'feature' , value : 'auto' )
2018-07-12 23:11:41 +00:00
option ( 'sharp' , type : 'feature' , value : 'disabled' )
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>
2023-01-14 08:25:53 +00:00
# External subprojects
option ( 'tls' , type : 'feature' , value : 'auto' , description : 'TLS support using glib-networking as a subproject' )
option ( 'libnice' , type : 'feature' , value : 'auto' , description : 'ICE support using libnice as a subproject' )
2020-07-23 11:01:07 +00:00
2022-04-06 09:22:44 +00:00
# Build for fuzzing
option ( 'oss_fuzz' , type : 'feature' , value : 'disabled' ,
description : 'Use fuzzing build environment' )
2020-07-23 11:01:07 +00:00
# Other options
option ( 'custom_subprojects' , type : 'string' , value : '' , description : 'Comma-separated project names' )
2019-09-17 15:52:10 +00:00
option ( 'gst-full-libraries' , type : 'array' , value : [ ] ,
description : '''List of libraries to expose in gstreamer-full's ABI. gstreamer, glib and gobject are always included.''' )
2020-10-31 02:51:16 +00:00
option ( 'gst-full-version-script' , type : 'string' , value : 'data/misc/gstreamer-full-default.map' ,
2020-08-11 13:49:53 +00:00
description : 'path of the version script to be used by the linker, see https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html' )
2020-07-16 11:18:38 +00:00
option ( 'gst-full-plugins' , type : 'string' , value : '*' ,
description : '''List of plugins to expose in gstreamer-full's ABI with the syntax plugin1;plugin2. By default '*' will export all plugins enabled by the build process.''' )
option ( 'gst-full-elements' , type : 'string' , value : '' ,
description : '''List of elements to expose in gstreamer-full's ABI with the syntax plugin1;plugin2:element1,element2. By default '' will export all element of the enabled plugin.''' )
option ( 'gst-full-typefind-functions' , type : 'string' , value : '' ,
description : '''List of typefind functions to expose in gstreamer-full's ABI with the syntax plugin:func1,func2. By default '' will export all typefind functions of the enabled plugin.''' )
option ( 'gst-full-device-providers' , type : 'string' , value : '' ,
description : '''List of device providers to expose in gstreamer-full's ABI with the syntax plugin1:dp1;plugin2:dp1:dp2. By default '' will export all device provider of the enabled plugin.''' )
option ( 'gst-full-dynamic-types' , type : 'string' , value : '' ,
description : '''List of dynamic types to expose in gstreamer-full's ABI with the syntax plugin:dt1,dt2. By default '' will export all device provider of the enabled plugin.''' )
2022-09-21 16:18:31 +00:00
option ( 'orc-source' , type : 'combo' , choices : [ 'system' , 'subproject' , 'auto' ] , value : 'subproject' )
2018-05-05 14:55:52 +00:00
2021-09-18 23:55:34 +00:00
# License-related feature options
option ( 'gpl' , type : 'feature' , value : 'disabled' ,
description : 'Allow build of plugins that have (A)GPL-licensed dependencies' )
2018-05-05 14:55:52 +00:00
# Common options, automatically inherited by subprojects
2020-06-11 07:49:18 +00:00
option ( 'tests' , type : 'feature' , value : 'auto' , description : 'Build tests' )
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>
2023-01-14 08:25:53 +00:00
option ( 'tools' , type : 'feature' , value : 'auto' , yield : true , description : 'Build command line tools' )
2018-07-25 14:06:20 +00:00
option ( 'examples' , type : 'feature' , value : 'auto' , description : 'Build examples' )
option ( 'introspection' , type : 'feature' , value : 'auto' , description : 'Generate introspection data' )
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>
2023-01-14 08:25:53 +00:00
option ( 'nls' , type : 'feature' , value : 'auto' , description : 'Native language support (translations)' )
option ( 'orc' , type : 'feature' , value : 'auto' , description : 'Optimized Inner Loop Runtime Compiler (SIMD)' )
2018-10-28 14:06:35 +00:00
option ( 'doc' , type : 'feature' , value : 'auto' , description : 'Generate API documentation with hotdoc' )
2020-06-05 09:40:29 +00:00
option ( 'gtk_doc' , type : 'feature' , value : 'disabled' , description : 'Generate API documentation with gtk-doc' )
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>
2023-01-14 08:25:53 +00:00
option ( 'qt5' , type : 'feature' , value : 'auto' , description : 'Qt5 toolkit support' )
option ( 'qt6' , type : 'feature' , value : 'auto' , description : 'Qt6 toolkit support' )
2021-09-11 15:17:56 +00:00
option ( 'package-origin' , type : 'string' , value : 'Unknown package origin' , yield : true ,
description : 'package origin URL to use in plugins' )
2021-10-27 17:38:07 +00:00
option ( 'gobject-cast-checks' , type : 'feature' , value : 'auto' , yield : true ,
description : 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)' )
option ( 'glib-asserts' , type : 'feature' , value : 'enabled' , yield : true ,
description : 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)' )
option ( 'glib-checks' , type : 'feature' , value : 'enabled' , yield : true ,
description : 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)' )
2021-12-06 14:02:58 +00:00
option ( 'package-name' , type : 'string' , yield : true ,
description : 'package name to use in plugins' )