pidgin/plugins/xmppconsole/meson.build

Fri, 01 Oct 2021 01:06:04 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Fri, 01 Oct 2021 01:06:04 -0500
changeset 41066
00e6bda3ef95
parent 41011
90dd69fd1372
child 41116
dff0811ff40c
permissions
-rw-r--r--

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/

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

library('xmppconsole',
    'xmppconsole.c', xmppconsole_resource,
    dependencies : [libpurple_dep, libpidgin_dep, glib],
    name_prefix : '',
    install : true, install_dir : PIDGIN_PLUGINDIR)

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

mercurial