From d5c8d52bc2d1e76fd7a5c3f425fab271193c6d54 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 13 May 2019 23:26:42 +0200 Subject: Add check for GPGME This works from Meson 0.51.0 only. Otherwise, it will fail gracefully. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 743599eb..c25ca294 100644 --- a/meson.build +++ b/meson.build @@ -23,6 +23,7 @@ gtkspell = dependency('gtkspell-2.0', required : false) aspell = dependency('aspell', required : false) enchant = dependency('enchant', required : false) oniguruma = dependency('oniguruma', required : false) +gpgme = dependency('gpgme', version: '>= 1.0', required : false) # Needs Meson 0.51.0 # Compface check is further down # Suppress some compiler warnings (for now) @@ -418,5 +419,5 @@ executable('sylpheed', 'src/vcard.c', version_h], dependencies : [gtk, glib, gobject, gmodule, libsylph_dep, openssl, - gtkspell, aspell, enchant, oniguruma, compface], + gtkspell, aspell, enchant, oniguruma, compface, gpgme], install : true) -- cgit v1.2.3