--- a/pidgin/plugins/disco/meson.build Mon Jan 23 23:27:47 2023 -0600 +++ b/pidgin/plugins/disco/meson.build Tue Jan 24 15:40:35 2023 -0600 @@ -1,17 +1,28 @@ xmppdisco_SOURCES = [ 'gtkdisco.c', + 'xmppdisco.c', + 'xmppdiscoservice.c', +] + +xmppdisco_HEADERS = [ 'gtkdisco.h', - 'xmppdisco.c', - 'xmppdisco.h' + 'xmppdisco.h', + 'xmppdiscoservice.h', ] +xmppdisco_enums = gnome.mkenums_simple('xmppdiscoenums', + sources: xmppdisco_HEADERS, + identifier_prefix: 'XmppDisco', + symbol_prefix: 'xmpp_disco') +xmppdisco_SOURCES += xmppdisco_enums + xmppdisco_resource = gnome.compile_resources('xmppdiscoresources', 'resources/xmppdisco.gresource.xml', source_dir : 'resources', c_name : 'xmppdisco') xmppdisco_SOURCES += xmppdisco_resource -xmppdisco = library('xmppdisco', xmppdisco_SOURCES, +xmppdisco = library('xmppdisco', xmppdisco_SOURCES, xmppdisco_HEADERS, c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPDisco"'], dependencies : [libpurple_dep, libpidgin_dep, glib], name_prefix : '',