build/gi: Set header & pkgconfig names

So that the docs generated by gi-docgen contains them

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3087>
This commit is contained in:
Bilal Elmoussaoui 2023-06-22 18:14:02 +02:00 committed by Marge Bot
parent 6b79a0bae1
commit f2f9e63568
4 changed files with 4 additions and 0 deletions

View File

@ -376,6 +376,7 @@ if have_introspection
cally_headers,
],
nsversion: libmutter_api_version,
header: 'cally/cally.h',
namespace: 'Cally',
includes: [
libmutter_cogl_gir[0],

View File

@ -54,6 +54,7 @@ if have_introspection
pango_dep,
libmutter_cogl_pango_dep,
],
export_packages: 'mutter-cogl-pango-@0@'.format(libmutter_api_version),
extra_args: introspection_args + [
'-UCOGL_COMPILATION',
'-DG_LOG_DOMAIN="CoglPango"',

View File

@ -447,6 +447,7 @@ if have_introspection
namespace: 'Cogl',
includes: ['cairo-1.0', 'GL-1.0', 'GObject-2.0', 'Graphene-1.0'],
dependencies: [cogl_deps],
export_packages: 'mutter-cogl-@0@'.format(libmutter_api_version),
extra_args: introspection_args + [
'-UCOGL_COMPILATION',
'-D__COGL_H_INSIDE__',

View File

@ -1268,6 +1268,7 @@ if have_introspection
libmutter_dep,
mutter_deps,
],
export_packages: 'libmutter-@0@'.format(libmutter_api_version),
extra_args: mutter_c_args + introspection_args,
install_dir_gir: pkglibdir,
install_dir_typelib: pkglibdir,