pidgin/plugins/disco/meson.build

Sat, 13 Apr 2024 23:01:11 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sat, 13 Apr 2024 23:01:11 -0500
changeset 42721
197294ca7c2e
parent 42468
3ea8d5befbe4
child 42742
44125b8e3b27
permissions
-rw-r--r--

Disable the XMPP Discovery Plugin by default

It depends on the old XMPP plugin which we've deleted, but it also depends on
some other API that we want to delete.

Testing Done:
Compiled with the turtles.

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

xmppdisco_SOURCES = [
	'gtkdisco.c',
	'xmppdisco.c',
	'xmppdiscoservice.c',
]

xmppdisco_HEADERS = [
	'gtkdisco.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

library('xmppdisco', xmppdisco_SOURCES, xmppdisco_HEADERS,
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPDisco"'],
    gnu_symbol_visibility : 'hidden',
    dependencies : [libpurple_dep, libpidgin_dep, glib],
    name_prefix : '',
    install : true,
    install_dir : PIDGIN_PLUGINDIR,
    build_by_default : false)

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

mercurial