pidgin/pidgin

Move debug command-line option to the UIs

2021-10-19, Elliott Sales de Andrade
cd297cfc56f3
Move debug command-line option to the UIs

This is not really a core option, and even has a different meaning in Finch.

Testing Done:
Run `finch3 -d` and see debug window open by default; run `pidgin3` and see debug output printed.

Reviewed at https://reviews.imfreedom.org/r/1080/
subdir('kwallet')
if nettle.found()
internalkeyring_plugin = library('internalkeyring', 'internalkeyring.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-InternalKeyring"'],
dependencies : [nettle, libpurple_dep],
name_prefix : '',
build_by_default : false,
install : false, install_dir : PURPLE_PLUGINDIR)
endif
if secretservice.found()
secretsservice_plugin = library('secretservice', 'secretservice.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-SecretServiceKeyring"'],
dependencies : [secretservice, libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif
if IS_WIN32
wincred_plugin = library('wincred', 'wincred.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-WinCredKeyring"'],
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif
if nettle.found() or secretservice.found() or IS_WIN32
devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
endif