--- a/finch/plugins/meson.build Fri Feb 02 11:34:32 2018 +0300
+++ b/finch/plugins/meson.build Fri Feb 16 18:30:15 2018 +0300
@@ -1,13 +1,15 @@
- gntclipboard = library('gntclipboard', 'gntclipboard.c',
- dependencies : [x11, libpurple_dep, libfinch_dep, glib],
- install : true, install_dir : FINCH_PLUGINDIR)
+ gntclipboard = library('gntclipboard', 'gntclipboard.c', + dependencies : [x11, libpurple_dep, libfinch_dep, glib], + install : true, install_dir : FINCH_PLUGINDIR) - gntgf = library('gntgf', 'gntgf.c',
- dependencies : [x11, libpurple_dep, libfinch_dep, glib],
- install : true, install_dir : FINCH_PLUGINDIR)
+ gntgf = library('gntgf', 'gntgf.c', + dependencies : [x11, libpurple_dep, libfinch_dep, glib], + install : true, install_dir : FINCH_PLUGINDIR) gnthistory = library('gnthistory', 'gnthistory.c',
dependencies : [libpurple_dep, libfinch_dep, glib],
--- a/meson.build Fri Feb 02 11:34:32 2018 +0300
+++ b/meson.build Fri Feb 16 18:30:15 2018 +0300
@@ -391,8 +391,6 @@
force_deps = not get_option('missing-dependencies')
-with_x = get_option('x') and not IS_WIN32
# #######################################################################
# # Check for GTK+ 2.18 and other things used by the GTK UI
# #######################################################################
@@ -429,28 +427,6 @@
#######################################################################
- # Check if we should compile with X support
- #######################################################################
- x11 = dependency('x11')
- conf.set('HAVE_X11', true)
-X11 development headers not found.
-Use -Dx=false if you do not need X11 support.
- enable_gestures = false
- #######################################################################
# Check for stuff needed by the Evolution integration plugin.
#######################################################################
@@ -508,6 +484,31 @@
#######################################################################
+# Check if we should compile with X support +####################################################################### +with_x = get_option('x') and not IS_WIN32 + x11 = dependency('x11') + conf.set('HAVE_X11', true) +X11 development headers not found. +Use -Dx=false if you do not need X11 support. +if not get_option('gtkui') or not with_x + enable_gestures = false +####################################################################### # Check for ncurses and other things used by the console UI
#######################################################################
--- a/meson_options.txt Fri Feb 02 11:34:32 2018 +0300
+++ b/meson_options.txt Fri Feb 16 18:30:15 2018 +0300
@@ -59,7 +59,7 @@
option('libgadu', type : 'boolean', value : true,
description : 'compile with libgadu (required for GaduGadu support)')
-option('silc', type : 'boolean', value : true,
+option('silc', type : 'boolean', value : false, description : 'compile with SILC plugin')
option('static-prpls', type : 'string',