diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-03-01 21:46:16 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-18 21:01:23 +0100 |
commit | e4338c4d422501a459c714a82da76e2ec29b7727 (patch) | |
tree | b7d75adc874c51ce0ba77c1ac0b47d9289d6981d /meson_options.txt | |
parent | 29cccf5e84d61f438298e6f857939a1bcdb3d33a (diff) | |
download | gtk+-e4338c4d422501a459c714a82da76e2ec29b7727.tar.gz |
mediafile: Turn into an extension point
This way, we can support external libraries providing implementations of
GtkMediaFile.
We also add a media backend called 'nomedia' that can be enabled to not
compile any support for GtkMediaFile. This is useful when people want to
statically compile GTK into an application that does not use media.
For now, this option is the default.
We also support a new environment variable GTK_MEDIA that allows
selecting the implementation to use.
GTK_MEDIA=help can be used to get info about the available
implementations.
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 74e5f21b32..4a6e322c16 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -10,6 +10,10 @@ option('win32-backend', type: 'boolean', value: true, option('quartz-backend', type: 'boolean', value: true, description : 'Enable the macOS gdk backend (only when building on macOS)') +# Media backends +option('media', type: 'string', value: 'none', + description : 'Build the specified media engines (comma-separated list, "all", or "none")') + # Optional dependencies option('vulkan', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', description : 'Enable support for the Vulkan graphics API') |