pidgin/plugins/disco/meson.build

Mon, 23 Jan 2023 20:51:42 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 23 Jan 2023 20:51:42 -0600
changeset 42034
f05baca349b3
parent 41116
dff0811ff40c
child 42037
af20db93f2c2
permissions
-rw-r--r--

Use icon-name to set up XMPP Discovery icons instead

This will make it easier to move away from `GtkTreeView`.

Testing Done:
Fetched discovery results from `pidgin.im` and the entries had icons (though I think only chats exist on there.)

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

38471
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
1 xmppdisco_SOURCES = [
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
2 'gtkdisco.c',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
3 'gtkdisco.h',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
4 'xmppdisco.c',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
5 'xmppdisco.h'
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
6 ]
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
7
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
8 xmppdisco_resource = gnome.compile_resources('xmppdiscoresources',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
9 'resources/xmppdisco.gresource.xml',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
10 source_dir : 'resources',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
11 c_name : 'xmppdisco')
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
12 xmppdisco_SOURCES += xmppdisco_resource
39801
2bbed8148402 Convert Service Discovery plugin to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38471
diff changeset
13
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
14 xmppdisco = library('xmppdisco', xmppdisco_SOURCES,
41116
dff0811ff40c Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41066
diff changeset
15 c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPDisco"'],
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
16 dependencies : [libpurple_dep, libpidgin_dep, glib],
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
17 name_prefix : '',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
18 install : true, install_dir : PIDGIN_PLUGINDIR)
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
19
41066
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
20 devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial