Fix Finch->Gnt gir dependency

Wed, 28 Sep 2022 05:44:45 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Wed, 28 Sep 2022 05:44:45 -0500
changeset 41752
3a7d151716fe
parent 41751
0bba0ca12b0a
child 41753
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/

finch/meson.build file | annotate | diff | comparison | revisions
--- 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

mercurial