Merge branch 'uninstalled_variables' into 'main'

meson: Add variables to -uninstalled.pc files

See merge request GNOME/glib!4399
This commit is contained in:
Philip Withnall 2024-11-19 12:01:06 +00:00
commit dfe252429c
2 changed files with 16 additions and 0 deletions

View File

@ -915,6 +915,16 @@ pkg.generate(libgio,
'gresource=' + '${bindir}' / 'gresource',
'gsettings=' + '${bindir}' / 'gsettings',
],
uninstalled_variables : [
'gio=${prefix}/gio/gio',
'gio_querymodules=${prefix}/gio/gio-querymodules',
'glib_compile_schemas=${prefix}/gio/glib-compile-schemas',
'glib_compile_resources=${prefix}/gio/glib-compile-resources',
'gdbus=${prefix}/gio/gdbus',
'gdbus_codegen=${prefix}/gio/gdbus-2.0/codegen/gdbus-codegen',
'gresource=${prefix}/gio/gresource',
'gsettings=${prefix}/gio/gsettings',
],
version : glib_version,
install_dir : glib_pkgconfigreldir,
filebase : 'gio-2.0',

View File

@ -450,6 +450,12 @@ pkg.generate(libglib,
valgrind_suppression_file_install_subdir /
fs.name(valgrind_suppression_file),
],
uninstalled_variables : [
'glib_genmarshal=${prefix}/gobject/glib-genmarshal',
'gobject_query=${prefix}/gobject/gobject-query',
'glib_mkenums=${prefix}/gobject/glib-mkenums',
'glib_valgrind_suppressions=' + valgrind_suppression_file.full_path(),
],
version : glib_version,
install_dir : glib_pkgconfigreldir,
filebase : 'glib-2.0',