protocols/sip/meson.build

Thu, 03 Jul 2025 22:01:46 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 03 Jul 2025 22:01:46 -0500
changeset 43278
87aae4564a73
parent 43266
19b9321a0177
permissions
-rw-r--r--

Remove sofia as a dependency as we're not going to use it

Testing Done:
Called in the turtles.

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

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