diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2021-09-19 00:55:34 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-10-18 18:03:19 +0100 |
commit | d4bdbeaa0da971c9dbc4cbf20e3f4476905e1961 (patch) | |
tree | 0d34f84c90f17aa283433a9650b7051a69c0e3f0 /meson_options.txt | |
parent | 95eb8672a61a315811c107021180371337be8cbc (diff) | |
download | gstreamer-d4bdbeaa0da971c9dbc4cbf20e3f4476905e1961.tar.gz |
meson: add 'gpl' option and only build plugins with (A)GPL deps if explicitly enabled
Require explicit opt-in to build plugins with (A)GPL dependencies.
Keep ugly/bad options on 'auto' for now so cerbero doesn't fail.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1084>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 1fa3c6d63b..3037d5307b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -34,6 +34,10 @@ option('gst-full-device-providers', type : 'string', value : '', 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.''') +# License-related feature options +option('gpl', type: 'feature', value: 'disabled', + description: 'Allow build of plugins that have (A)GPL-licensed dependencies') + # Common options, automatically inherited by subprojects option('tests', type : 'feature', value : 'auto', description : 'Build tests') option('examples', type : 'feature', value : 'auto', description : 'Build examples') |