[libgda] Gtk Widgets now are experimental



commit 65b5dd2645fd1cb20a19ef7f85e3ec1d9beb2b56
Author: Daniel Espinosa <esodan gmail com>
Date:   Wed Apr 3 14:08:22 2019 -0600

    Gtk Widgets now are experimental

 libgda/meson.build | 7 +++++--
 meson.build        | 2 +-
 meson_options.txt  | 1 +
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/libgda/meson.build b/libgda/meson.build
index dd4c85b30..0dc9e6301 100644
--- a/libgda/meson.build
+++ b/libgda/meson.build
@@ -313,9 +313,12 @@ libgda_cargs += binreloc_cargs
 
 libgda_dep += sqlite_deps
 
-vala_sources = [
+vala_sources = []
+if get_option('enable-experimental')
+vala_sources += [
        'gda-connection-provider.vala'
        ]
+endif
 
 vala_sourcesf = files(vala_sources)
 valac = find_program('valac')
@@ -541,4 +544,4 @@ ttwd = executable('test-connect',
                ],
        install: false
        )
-test('WorkerConnect', ttwd)
\ No newline at end of file
+test('WorkerConnect', ttwd)
diff --git a/meson.build b/meson.build
index a74bda5b7..5578efd17 100644
--- a/meson.build
+++ b/meson.build
@@ -307,7 +307,7 @@ subdir('libgda')
 subdir('providers')
 
 gtk_dep = dependency('gtk+-3.0', required: false)
-enable_ui = get_option('with-ui') and gtk_dep.found()
+enable_ui = get_option('with-ui') and gtk_dep.found() and get_option('enable-experimental')
 if enable_ui
        gdkpixbuf_dep = dependency('gdk-pixbuf-2.0')
        glade_dep = dependency('gladeui-2.0', required : false)
diff --git a/meson_options.txt b/meson_options.txt
index a1d6c0652..c88958d57 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -15,3 +15,4 @@ option('enable-tools', type : 'boolean', value : false, description : 'Enable bu
 option('glade-catalog-dir', type : 'string', value : '', description : 'Use the given directory to install 
glade catalog files. If glade is not available this option is ignored. If it is not given the valaue from 
pkg-config will be used')
 option('glade-pixmap-dir', type : 'string', value : '', description : 'Use the given directory to install 
glade pixmap files. If glade is not available this option is ignored. If it is not given the valaue from 
pkg-config will be used')
 option('enable-gtk-doc', type : 'boolean', value : false, description : 'Enable documentation generation 
[default = false]')
+option('enable-experimental', type : 'boolean', value : false, description : 'Enable experimental features 
[default = false]')


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