mirror of
https://github.com/brl/mutter.git
synced 2025-01-26 03:18:56 +00:00
cogl/gir: Depend explicitly on Mtk
As it is used now for MtkRegion types making the GIR file not containing the relevant dependency and not being able to resolve MtkRegion type Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3292>
This commit is contained in:
parent
c645b6c6fa
commit
c01ffdb8ba
@ -45,6 +45,7 @@ if have_introspection
|
||||
symbol_prefix: 'cogl_pango',
|
||||
header: 'cogl-pango.h',
|
||||
includes: [
|
||||
libmutter_mtk_gir[0],
|
||||
libmutter_cogl_gir[0],
|
||||
'Pango-1.0',
|
||||
'PangoCairo-1.0'
|
||||
|
@ -436,7 +436,13 @@ if have_introspection
|
||||
sources: cogl_introspected_headers,
|
||||
nsversion: libmutter_api_version,
|
||||
namespace: 'Cogl',
|
||||
includes: ['cairo-1.0', 'GL-1.0', 'GObject-2.0', 'Graphene-1.0'],
|
||||
includes: [
|
||||
libmutter_mtk_gir[0],
|
||||
'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 + [
|
||||
|
@ -14,6 +14,7 @@ custom_target('cogl-pango-doc',
|
||||
gidocgen,
|
||||
'generate',
|
||||
gidocgen_common_args,
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../mtk/mtk'),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../cogl/cogl'),
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
|
@ -14,6 +14,7 @@ custom_target('cogl-doc',
|
||||
gidocgen,
|
||||
'generate',
|
||||
gidocgen_common_args,
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../mtk/mtk'),
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user