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:
parent
6b79a0bae1
commit
f2f9e63568
@ -376,6 +376,7 @@ if have_introspection
|
||||
cally_headers,
|
||||
],
|
||||
nsversion: libmutter_api_version,
|
||||
header: 'cally/cally.h',
|
||||
namespace: 'Cally',
|
||||
includes: [
|
||||
libmutter_cogl_gir[0],
|
||||
|
@ -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"',
|
||||
|
@ -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__',
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user