--- a/meson.build Fri Aug 24 00:08:22 2018 -0500
+++ b/meson.build Sat Aug 25 17:17:39 2018 -0500
@@ -92,25 +92,6 @@
CAIRO = dependency('cairo', required : false)
#######################################################################
-#######################################################################
-if compiler.has_header('talkfilters.h')
- HAVE_TALKFILTERS = true
-*** GNU Talk Filters is required to build the talkfilters plugin;
-*** please make sure you have the GNU Talk Filters development headers installed.
-*** The latest version of GNU Talk Filters is available at
-*** http://www.hyperrealm.com/talkfilters/talkfilters.html.''')
- HAVE_TALKFILTERS = false
- # work out that the library exists
- TALKFILTERS = compiler.find_library('talkfilters')
- HAVE_TALKFILTERS = TALKFILTERS.found()
-#######################################################################
#######################################################################
JSON_GLIB = dependency('json-glib-1.0', required : false)
--- a/talkfilters/meson.build Fri Aug 24 00:08:22 2018 -0500
+++ b/talkfilters/meson.build Sat Aug 25 17:17:39 2018 -0500
@@ -1,4 +1,6 @@
-if TYPES.contains('default') and PIDGIN.found() and HAVE_TALKFILTERS
+TALKFILTERS = dependency('talkfilters', required : false) +if TYPES.contains('default') and PIDGIN.found() and TALKFILTERS.found() talkfilters = shared_module('talkfilters',
dependencies : [TALKFILTERS, PIDGIN, GTK],