protocols/xmpp/meson.build

changeset 43247
197c541b3e7c
parent 43189
3f33bf2e4efc
child 43266
19b9321a0177
--- a/protocols/xmpp/meson.build	Mon May 12 20:25:16 2025 -0500
+++ b/protocols/xmpp/meson.build	Mon May 12 20:27:27 2025 -0500
@@ -1,3 +1,13 @@
+feature = get_option('xmpp')
+
+summary({'XMPP': feature}, section : 'Protocols')
+
+if not feature.allowed()
+  subdir_done()
+endif
+
+xeme_dep = dependency('xeme')
+
 XMPP_SOURCES = [
 	'purplexmppconnection.c',
 	'purplexmppcore.c',
@@ -11,10 +21,6 @@
 	'purplexmppprotocol.h',
 ]
 
-if not DYNAMIC_XMPP
-	subdir_done()
-endif
-
 xmpp_resources = gnome.compile_resources('xmppresource',
 	'resources/xmpp.gresource.xml',
 	source_dir : 'resources',

mercurial