Fri, 01 Oct 2021 01:06:04 -0500
Add a Meson devenv configuration.
This allows running `meson devenv` as defined at https://mesonbuild.com/Commands.html#devenv
Testing Done:
Ran `meson devenv -C build pidgin3` and `meson devenv -C build finch3` on a system without either installed (even from this build).
Note stock icons don't seem to work with `XDG_DATA_DIRS`, which is why the other review requests were needed. If anything still has stock icons, they'll be broken without an install.
Reviewed at https://reviews.imfreedom.org/r/973/
|
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, |
|
90dd69fd1372
Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents:
39801
diff
changeset
|
15 | dependencies : [libpurple_dep, libpidgin_dep, glib], |
|
90dd69fd1372
Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents:
39801
diff
changeset
|
16 | name_prefix : '', |
|
90dd69fd1372
Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents:
39801
diff
changeset
|
17 | install : true, install_dir : PIDGIN_PLUGINDIR) |
|
90dd69fd1372
Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents:
39801
diff
changeset
|
18 | |
|
41066
00e6bda3ef95
Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41011
diff
changeset
|
19 | devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir()) |