[gtk/wip/otte/for-master: 3/11] build: Define if options should be enabled or disbaled




commit 0b47b929d362d9e66562aa8c7a8163c250782cb7
Author: Benjamin Otte <otte redhat com>
Date:   Wed Mar 17 20:03:25 2021 +0100

    build: Define if options should be enabled or disbaled
    
    "auto" options are terrible because nobody knows if they should enable
    them or not. So enable the ones that every release should use and
    disable the ones that releases aren't expected to use.
    
    Everybody is still free to override this in their config - either to
    turn off stuff that's unsupported or not wanted for them or to enable
    new and exciting experimental features - but we should not leave this to
    the randomly existing environment that somebpody happens to build in.
    
    Options should be a deliberate choice every time.

 meson_options.txt | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 16a1cbd9fe..e864737046 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -29,36 +29,36 @@ option('macos-backend',
 
 option('media-ffmpeg',
        type: 'feature',
-       value: 'auto',
+       value: 'disabled',
        description : 'Build the ffmpeg media backend')
 
 option('media-gstreamer',
        type: 'feature',
-       value: 'auto',
+       value: 'enabled',
        description : 'Build the gstreamer media backend')
 
 # Print backends
 
 option('print-cups',
        type: 'feature',
-       value: 'auto',
+       value: 'enabled',
        description : 'Build the cups print backend')
 
 option('print-cloudprint',
        type: 'feature',
-       value: 'auto',
+       value: 'disabled',
        description : 'Build the cloudprint print backend')
 
 # Optional features
 
 option('vulkan',
        type: 'feature',
-       value: 'auto',
+       value: 'enabled',
        description : 'Enable support for the Vulkan graphics API')
 
 option('xinerama',
        type: 'feature',
-       value: 'auto',
+       value: 'enabled',
        description : 'Enable support for the X11 Xinerama extension')
 
 option('cloudproviders',
@@ -83,7 +83,7 @@ option('colord',
 
 option('sassc',
        type: 'feature',
-       value: 'auto',
+       value: 'disabled',
        description: 'Rebuild themes using sassc')
 
 # Documentation and introspection
@@ -100,7 +100,7 @@ option('man-pages',
 
 option('introspection',
        type: 'feature',
-       value: 'auto',
+       value: 'enabled',
        yield: true,
        description : 'Build introspection data (requires gobject-introspection)')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]