pidgin/pidgin

1692f596a13d
Manually check for xgettext as we need it for NLS support.

See https://github.com/mesonbuild/meson/issues/8436 for the upstream bug this is working around.

Also fixed an issue where the appdata file was causing configuration to fail if nls was turned off.

Testing Done:
Ran locally with `-Dnls=true` and `-Dnls=false`.

Reviewed at https://reviews.imfreedom.org/r/548/
if ENABLE_DOC
subdir('reference')
endif
if ENABLE_GTK
pidgin_man = configure_file(
input : 'pidgin3.1.in',
output : 'pidgin3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif
if enable_consoleui
finch_man = configure_file(
input : 'finch3.1.in',
output : 'finch3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif