pidgin/plugins/disco/meson.build

Mon, 30 Jun 2025 23:04:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 30 Jun 2025 23:04:59 -0500
changeset 43273
b2e7a32950ae
parent 42742
44125b8e3b27
permissions
-rw-r--r--

Update metainfo.xml for the release

And prepare for the next release right away.

Testing Done:
Ran `meson dist`

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

42742
44125b8e3b27 Really disable some plugins
Gary Kramlich <grim@reaperworld.com>
parents: 42721
diff changeset
1 subdir_done()
44125b8e3b27 Really disable some plugins
Gary Kramlich <grim@reaperworld.com>
parents: 42721
diff changeset
2
38471
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
3 xmppdisco_SOURCES = [
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
4 'gtkdisco.c',
42037
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
5 'xmppdisco.c',
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
6 'xmppdiscoservice.c',
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
7 ]
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
8
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
9 xmppdisco_HEADERS = [
38471
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
10 'gtkdisco.h',
42037
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
11 'xmppdisco.h',
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
12 'xmppdiscoservice.h',
38471
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
13 ]
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
14
42037
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
15 xmppdisco_enums = gnome.mkenums_simple('xmppdiscoenums',
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
16 sources: xmppdisco_HEADERS,
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
17 identifier_prefix: 'XmppDisco',
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
18 symbol_prefix: 'xmpp_disco')
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
19 xmppdisco_SOURCES += xmppdisco_enums
af20db93f2c2 Convert XmppDiscoService into a GObject
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
20
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
21 xmppdisco_resource = gnome.compile_resources('xmppdiscoresources',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
22 'resources/xmppdisco.gresource.xml',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
23 source_dir : 'resources',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
24 c_name : 'xmppdisco')
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
25 xmppdisco_SOURCES += xmppdisco_resource
39801
2bbed8148402 Convert Service Discovery plugin to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38471
diff changeset
26
42372
ba3a49903905 Remove unused Meson variables
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42037
diff changeset
27 library('xmppdisco', xmppdisco_SOURCES, xmppdisco_HEADERS,
41116
dff0811ff40c Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41066
diff changeset
28 c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPDisco"'],
42468
3ea8d5befbe4 Mark all Pidgin symbol visibility as hidden
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42372
diff changeset
29 gnu_symbol_visibility : 'hidden',
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
30 dependencies : [libpurple_dep, libpidgin_dep, glib],
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
31 name_prefix : '',
42721
197294ca7c2e Disable the XMPP Discovery Plugin by default
Gary Kramlich <grim@reaperworld.com>
parents: 42468
diff changeset
32 install : true,
42742
44125b8e3b27 Really disable some plugins
Gary Kramlich <grim@reaperworld.com>
parents: 42721
diff changeset
33 install_dir : PIDGIN_PLUGINDIR)
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39801
diff changeset
34
41066
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
35 devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial