[glib: 1/2] build: Add various installed utilities to gio-2.0.pc



commit 3a9f9e350997a9c65f85a389d5ee055692b74daa
Author: Philip Withnall <withnall endlessm com>
Date:   Fri May 31 21:19:55 2019 +0100

    build: Add various installed utilities to gio-2.0.pc
    
    The most useful ones were already listed in the pkg-config file, but
    some others (notably, `gio-querymodules`) were not. List them in the
    pkg-config file with their installed paths so that the right binary is
    used if GIO is installed in a non-default path.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Fixes: #1796

 gio/meson.build | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gio/meson.build b/gio/meson.build
index f0e08b40f..8f897d5fa 100644
--- a/gio/meson.build
+++ b/gio/meson.build
@@ -829,9 +829,14 @@ pkg.generate(libgio,
                'schemasdir=' + join_paths('${datadir}', schemas_subdir),
                'bindir=' + join_paths('${prefix}', get_option('bindir')),
                'giomoduledir=' + giomodulesdir,
+               'gio=' + join_paths('${bindir}', 'gio'),
+               'gio_querymodules=' + join_paths('${bindir}', 'gio-querymodules'),
                'glib_compile_schemas=' + join_paths('${bindir}', 'glib-compile-schemas'),
                'glib_compile_resources=' + join_paths('${bindir}', 'glib-compile-resources'),
-               'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen')],
+               'gdbus=' + join_paths('${bindir}', 'gdbus'),
+               'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen'),
+               'gresource=' + join_paths('${bindir}', 'gresource'),
+               'gsettings=' + join_paths('${bindir}', 'gsettings')],
   version : glib_version,
   install_dir : glib_pkgconfigreldir,
   filebase : 'gio-2.0',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]