Wed, 03 Jan 2018 15:40:46 +0100
finch/meson: fix build with -Dgtkui=false
$ meson build -Dgtkui=false
...
Meson encountered an error in file finch/plugins/meson.build, line 2, column 1:
Unknown variable "x11".
if PLUGINS if ENABLE_GTK gntclipboard = library('gntclipboard', 'gntclipboard.c', dependencies : [x11, libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) gntgf = library('gntgf', 'gntgf.c', dependencies : [x11, libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) endif gnthistory = library('gnthistory', 'gnthistory.c', dependencies : [libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) gntlastlog = library('gntlastlog', 'lastlog.c', dependencies : [libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) gnttinyurl = library('gnttinyurl', 'gnttinyurl.c', dependencies : [libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) grouping = library('grouping', 'grouping.c', dependencies : [libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) endif # PLUGINS