pidgin/pidgin

Fix Finch->Gnt gir dependency

18 months ago, Elliott Sales de Andrade
3a7d151716fe
Parents 0bba0ca12b0a
Children 316c1207f787
Fix Finch->Gnt gir dependency

This is copied from how Pidgin uses Talkatu.

Testing Done:
Compiled and saw fewer undefined types in gir step (but an added 'missing' pkgconfig file since I'm using a subproject.)

Reviewed at https://reviews.imfreedom.org/r/1854/
--- a/finch/meson.build Wed Sep 28 03:50:52 2022 -0500
+++ b/finch/meson.build Wed Sep 28 05:44:45 2022 -0500
@@ -199,16 +199,16 @@
libfinch_gir = gnome.generate_gir(libfinch,
sources : introspection_sources,
- includes : ['GLib-2.0', 'GModule-2.0', 'GObject-2.0', libpurple_gir[0]],
+ header : 'finch.h',
+ includes : ['GLib-2.0', 'GModule-2.0', 'GObject-2.0', libpurple_gir[0], 'Gnt-3.0'],
namespace : 'Finch',
symbol_prefix : 'finch',
- header : 'finch.h',
identifier_prefix : 'Finch',
export_packages : 'finch-3',
nsversion : '@0@.@1@'.format(purple_major_version,
purple_minor_version),
+ dependencies: [libgnt_dep, gplugin_dep, libpurple_dep],
install : true,
- dependencies: [libgnt_dep, gplugin_dep, libpurple_dep],
extra_args : ['-DFINCH_COMPILATION', '--quiet'])
libfinch_generated_sources += libfinch_gir
endif