diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-14 13:55:32 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-14 14:14:22 +0000 |
commit | 1440db1570f9ca616d6eeb7fe3b3cf7df8d5f37f (patch) | |
tree | 6d77a805e5b56e88f498ef264abeed162def3ede /meson_options.txt | |
parent | 2e7fef7d180530d210df0ade91ddb9ccedef6abd (diff) | |
download | gtk+-1440db1570f9ca616d6eeb7fe3b3cf7df8d5f37f.tar.gz |
build: Coalesce print backends options into one
Instead of having separate options for each print backend, we can use
the same approach as the input method modules: a single option, with a
comma-separated list of print backends.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/meson_options.txt b/meson_options.txt index dd0046dd10..5ac89073ac 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,5 +1,4 @@ -option('colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', - description : 'Build colord support code') +# GDK backends option('enable-x11-backend', type: 'boolean', value: 'true', description : 'Enable the X11 gdk backend') option('enable-wayland-backend', type: 'boolean', value: 'true', @@ -10,30 +9,36 @@ option('enable-win32-backend', type: 'boolean', value: 'false', description : 'Enable the Windows gdk backend') option('enable-quartz-backend', type: 'boolean', value: 'false', description : 'Enable the macOS gdk backend') + +# Optional dependencies option('enable-vulkan', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', description : 'Enable support for the Vulkan graphics API') -option('enable-test-print-backend', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'no', - description : 'Enable the test print backend') -option('enable-cups-print-backend', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', - description : 'Enable the CUPS print backend') -option('enable-papi-print-backend', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', - description : 'Enable the papi print backend') -option('enable-cloudprint-print-backend', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', - description : 'Enable the cloudprint print backend') -option('enable-cloudproviders', type: 'boolean', value: false, - description : 'Enable the cloudproviders support') option('enable-xinerama', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', description : 'Enable support for the Xinerama extension') +option('enable-cloudproviders', type: 'boolean', value: false, + description : 'Enable the cloudproviders support') + +# Print backends +option('print-backends', type : 'string', value : 'cups,papi', + description : 'Build the specified print backends (comma-separated list, "all", or "none")') +option('colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', + description : 'Build colord support for the CUPS printing backend') + +# Modules option('dynamic-modules', type: 'boolean', value : true, description : 'Allow dynamic module loading') option('included-immodules', type: 'string', value : 'none', description : 'Build the specified input methods (comma-separated list, "all", or "none")') + +# Documentation and introspection option('documentation', type: 'boolean', value: 'false', description : 'Build API reference and tools documentation') option('man-pages', type: 'boolean', value: 'false', description : 'Build man pages for installed tools') option('introspection', type: 'boolean', value: 'true', description : 'Build introspection data (requires gobject-introspection)') + +# Demos and binaries option('demos', type: 'boolean', value: 'true', description : 'Build demos and example programs') option('build-tests', type: 'boolean', value: 'true', |