libpurple/plugins/keyrings/kwallet/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 41107
1570d8844e9a
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/

41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
1 if kwallet.found()
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
2 kwallet_moc = qt5.preprocess(
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
3 moc_headers: 'purplekwallet.h',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
4 dependencies: qt5_dep,
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
5 )
39924
54be9746932e move kwallet to it's own directory and namespace the files
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
7 kwallet_sources = [
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
8 'purplekwallet.cpp',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
9 'purplekwallet.h',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
10 kwallet_moc,
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
11 ]
40823
338bba38df77 Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents: 39951
diff changeset
12
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
13 kwallet_plugin = library('purplekwallet', kwallet_sources,
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
14 dependencies : [kwallet, qt5_dep, libpurple_dep],
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
15 name_prefix : '',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40823
diff changeset
16 install : true, install_dir : PURPLE_PLUGINDIR)
41066
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
17
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
18 devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
39924
54be9746932e move kwallet to it's own directory and namespace the files
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 endif

mercurial