pidgin/plugins/xmppconsole/meson.build

Tue, 02 Jan 2024 00:36:32 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 02 Jan 2024 00:36:32 -0600
changeset 42562
f02878f30f91
parent 42468
3ea8d5befbe4
child 42992
402dbf6669b3
permissions
-rw-r--r--

Create a full widget for the new instant message window

This now uses AdwMessageDialog and is self contained but PidginApplication
manages a singleton of it.

Previously this used the request api. I'm not sure why, as the request fields
were created by the ui itself.

Testing Done:
Created an im with `Echo` on a `demo` account and was able to send and receive messages.

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

xmppconsole_resource = gnome.compile_resources('xmppconsoleresources',
    'xmppconsole.gresource.xml',
    c_name : 'xmppconsole')

library('xmppconsole',
    'xmppconsole.c', xmppconsole_resource,
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPConsole"'],
    gnu_symbol_visibility : 'hidden',
    dependencies : [libpurple_dep, libpidgin_dep, glib],
    name_prefix : '',
    install : true, install_dir : PIDGIN_PLUGINDIR)

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

mercurial