--- a/libpurple/protocols/bonjour/meson.build Tue Apr 09 23:11:12 2024 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ -BONJOUR_SOURCES = [ - 'bonjour.c', - 'bonjour.h', - 'buddy.c', - 'buddy.h', - 'xmpp.c', - 'xmpp.h', - 'mdns_common.c', - 'mdns_common.h', - 'mdns_types.h', - 'parser.c', - 'parser.h', - 'bonjour_ft.c', - 'bonjour_ft.h' -] - -if IS_WIN32 - BONJOUR_SOURCES += [ - 'dns_sd_proxy.c', 'dns_sd_proxy.h', 'mdns_dns_sd.c', 'mdns_dns_sd.h', - 'mdns_win32.c' - ] - gmodule = dependency('gmodule-2.0') - bonjour_link_args = ['-lnetapi32'] -else - BONJOUR_SOURCES += ['mdns_avahi.c'] - gmodule = [] - bonjour_link_args = [] -endif - -if DYNAMIC_BONJOUR - bonjour_resources = gnome.compile_resources('bonjourresource', - 'resources/bonjour.gresource.xml', - source_dir : 'resources', - c_name : 'bonjour') - BONJOUR_SOURCES += bonjour_resources - - shared_library('bonjour', BONJOUR_SOURCES, - c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Bonjour"'], - gnu_symbol_visibility : 'hidden', - link_args : bonjour_link_args, - dependencies : [libxml, avahi, libpurple_dep, glib, gmodule, ws2_32], - install : true, - install_dir : PURPLE_PLUGINDIR) - - devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir()) -endif