--- a/pidgin/plugins/gevolution/meson.build Fri Apr 27 16:38:01 2018 -0400 +++ b/pidgin/plugins/gevolution/meson.build Fri Apr 27 16:54:47 2018 -0400 @@ -1,3 +1,16 @@ +####################################################################### +# Check for stuff needed by the Evolution integration plugin. +####################################################################### +EVOLUTION_ADDRESSBOOK = [ + dependency('libebook-1.2', required : force_deps), + dependency('libedata-book-1.2', required : force_deps), + dependency('evolution-data-server-1.2', version : '>= 3.6', required : force_deps), +] +enable_gevolution = true +foreach dep : EVOLUTION_ADDRESSBOOK + enable_gevolution = enable_gevolution and dep.found() +endforeach + gevolution_SOURCES = [ 'add_buddy_dialog.c', 'assoc-buddy.c', @@ -8,7 +21,7 @@ 'eds-utils.c' ] -if PLUGINS +if PLUGINS and enable_gevolution gmodule = dependency('gmodule-2.0') gevolution = library('gevolution', gevolution_SOURCES,