vcpkg/ports/gobject-introspection/fix-pkgconfig.patch
Takuro IIZUKA 2b681d95e0
[gobject-introspection] Fixed pkg-config file to follow vcpkg directory layout rule (#36279)
* Fixed g-ir-scanner, g-ir-compiler, and g-ir-generator path in .pc to follow vcpkg directory layout rule

* Bumped port-version

* Run x-add-version

---------

Co-authored-by: Takuro Iizuka <t_iizuka@fixstars.com>
2024-01-22 16:02:32 -08:00

18 lines
823 B
Diff

diff --git a/meson.build b/meson.build
index b253927..312fbdc 100644
--- a/meson.build
+++ b/meson.build
@@ -254,9 +254,9 @@ endif
pkgconfig_variables = [
'datadir=' + '${prefix}' / get_option('datadir'),
'bindir=' + '${prefix}' / get_option('bindir'),
- 'g_ir_scanner=${bindir}/g-ir-scanner',
- 'g_ir_compiler=${bindir}/g-ir-compiler@0@'.format(exe_ext),
- 'g_ir_generate=${bindir}/g-ir-generate@0@'.format(exe_ext),
+ 'g_ir_scanner=${prefix}/tools/gobject-introspection/g-ir-scanner',
+ 'g_ir_compiler=${prefix}/tools/gobject-introspection/g-ir-compiler@0@'.format(exe_ext),
+ 'g_ir_generate=${prefix}/tools/gobject-introspection/g-ir-generate@0@'.format(exe_ext),
'gidatadir=${datadir}/gobject-introspection-1.0',
'girdir=' + gir_dir_pc_prefix / 'gir-1.0',
'typelibdir=${libdir}/girepository-1.0',