protocols/sip/meson.build

Thu, 17 Jul 2025 20:28:54 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 17 Jul 2025 20:28:54 -0500
changeset 43290
01edcfbfebaa
parent 43278
87aae4564a73
permissions
-rw-r--r--

IRCv3: Implement the /me command

This was kind of forgotten about, but it's here now.

Testing Done:
Watched a packet dump to verify it was sent correct and asked people in #pidgin on libera if it came through correctly.

Reviewed at https://reviews.imfreedom.org/r/4070/

feature = get_option('sip')

summary({'SIP': feature.allowed()}, bool_yn : true, section : 'Protocols')

if not feature.allowed()
  subdir_done()
endif

SIP_SOURCES = [
	'purplesipplugin.c',
	'purplesipplugin.h',
	'purplesipprotocol.c',
	'purplesipprotocol.h',
]

sip_resources = gnome.compile_resources('purplesipresource',
	'resources/purplesip.gresource.xml',
	source_dir : 'resources',
	c_name : 'purple_sip')
SIP_SOURCES += sip_resources

shared_library('sip', SIP_SOURCES,
	c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Sip"'],
	gnu_symbol_visibility : 'hidden',
	dependencies : [glib, libpurple_dep],
	install : true,
	install_dir : PURPLE_PLUGINDIR)

devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())

mercurial