libpurple/protocols/sametime/meson.build

Mon, 12 Sep 2022 22:08:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 12 Sep 2022 22:08:59 -0500
changeset 41679
ddd97cdcbefc
parent 41107
1570d8844e9a
permissions
-rw-r--r--

Remove the list_icon vfunc from PurpleProtocol.

This was replaced by the icon-name, icon-resource-path, and icon-search-path
properties.

Testing Done:
Compiled

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

SAMETIME_SOURCES = [
	'sametime.c',
	'sametime.h',
	'im_mime.c',
	'im_mime.h',
]

if DYNAMIC_SAMETIME
	sametime_resources = gnome.compile_resources('sametimeresource',
		'resources/sametime.gresource.xml',
		source_dir : 'resources',
		c_name : 'sametime')
	SAMETIME_SOURCES += sametime_resources

	sametime_prpl = shared_library('sametime', SAMETIME_SOURCES,
	    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Sametime"'],
	    dependencies : [meanwhile, gmime, libpurple_dep, glib],
	    install : true, install_dir : PURPLE_PLUGINDIR)

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

	subdir('tests')
endif

mercurial