Mon, 12 May 2025 20:27:27 -0500
Add discrete options for protocol plugins
This removes the dynamic-prpls option and replaces it with discrete options
for each protocol plugin.
Testing Done:
Called in the turtles after removing all of my subproject check outs.
Reviewed at https://reviews.imfreedom.org/r/3994/
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', 'purplexmppprotocol.c', ] XMPP_HEADERS = [ 'purplexmppconnection.h', 'purplexmppconstants.h', 'purplexmppcore.h', 'purplexmppprotocol.h', ] xmpp_resources = gnome.compile_resources('xmppresource', 'resources/xmpp.gresource.xml', source_dir : 'resources', c_name : 'purple_xmpp') XMPP_SOURCES += xmpp_resources xmpp_prpl = library('xmpp', XMPP_SOURCES + XMPP_HEADERS, c_args : ['-DPURPLE_XMPP_COMPILATION', '-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-XMPP"'], gnu_symbol_visibility : 'hidden', dependencies : [libpurple_dep, glib, gio, hasl, xeme_dep], install : true, install_dir : PURPLE_PLUGINDIR) devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())