From f2f9e63568114ca4086853a99689ca1217e99ba9 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 22 Jun 2023 18:14:02 +0200 Subject: [PATCH] build/gi: Set header & pkgconfig names So that the docs generated by gi-docgen contains them Part-of: --- clutter/clutter/meson.build | 1 + cogl/cogl-pango/meson.build | 1 + cogl/cogl/meson.build | 1 + src/meson.build | 1 + 4 files changed, 4 insertions(+) diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build index 03553adce..785072854 100644 --- a/clutter/clutter/meson.build +++ b/clutter/clutter/meson.build @@ -376,6 +376,7 @@ if have_introspection cally_headers, ], nsversion: libmutter_api_version, + header: 'cally/cally.h', namespace: 'Cally', includes: [ libmutter_cogl_gir[0], diff --git a/cogl/cogl-pango/meson.build b/cogl/cogl-pango/meson.build index 6f64ca08a..c270215df 100644 --- a/cogl/cogl-pango/meson.build +++ b/cogl/cogl-pango/meson.build @@ -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"', diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build index 7e6e52eb3..2aa71dd08 100644 --- a/cogl/cogl/meson.build +++ b/cogl/cogl/meson.build @@ -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__', diff --git a/src/meson.build b/src/meson.build index f4efdee70..e03b5d4bf 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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,