girepository: Expose gi-compile-repository in pkg-config

Expose the binary path to gi-compile-repository similar to how
glib-compile-resources is exposed so meson and other external
tools can locate it.
This commit is contained in:
Evan Welsh 2024-12-10 17:46:46 +00:00
parent a5f68ba494
commit bb0dd59a6b
No known key found for this signature in database
GPG Key ID: ADD6B27657A69DDE

View File

@ -229,6 +229,7 @@ pkgconfig_variables = [
'gidatadir=${datadir}/gobject-introspection-1.0',
'girdir=' + gir_dir_pc_prefix / 'gir-1.0',
'typelibdir=${libdir}/girepository-1.0',
'gi_compile_repository=' + pkgconfig_multiarch_bindir / 'gi-compile-repository'
]
pkg.generate(libgirepository,