libmalcontent-ui: Add GIR dependency on libmalcontent

This was missing and causing some problems with GIR compilation for the
UI library.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-02-06 10:54:14 +00:00
parent 106dc900c5
commit b98ec83e66
2 changed files with 3 additions and 3 deletions

View File

@ -70,14 +70,14 @@ pkgconfig.generate(libmalcontent_ui,
libraries_private: libmalcontent_ui_private_deps, libraries_private: libmalcontent_ui_private_deps,
) )
gnome.generate_gir(libmalcontent_ui, libmalcontent_ui_gir = gnome.generate_gir(libmalcontent_ui,
sources: libmalcontent_ui_sources + libmalcontent_ui_headers + libmalcontent_ui_private_headers, sources: libmalcontent_ui_sources + libmalcontent_ui_headers + libmalcontent_ui_private_headers,
nsversion: libmalcontent_ui_api_version, nsversion: libmalcontent_ui_api_version,
namespace: 'MalcontentUi', namespace: 'MalcontentUi',
symbol_prefix: 'mct_', symbol_prefix: 'mct_',
identifier_prefix: 'Mct', identifier_prefix: 'Mct',
export_packages: 'libmalcontent-ui', export_packages: 'libmalcontent-ui',
includes: ['AccountsService-1.0', 'Gio-2.0', 'GObject-2.0', 'Gtk-3.0'], includes: ['AccountsService-1.0', 'Gio-2.0', 'GObject-2.0', 'Gtk-3.0', libmalcontent_gir[0]],
install: true, install: true,
dependencies: libmalcontent_ui_dep, dependencies: libmalcontent_ui_dep,
) )

View File

@ -56,7 +56,7 @@ pkgconfig.generate(libmalcontent,
libraries_private: libmalcontent_private_deps, libraries_private: libmalcontent_private_deps,
) )
gnome.generate_gir(libmalcontent, libmalcontent_gir = gnome.generate_gir(libmalcontent,
sources: libmalcontent_sources + libmalcontent_headers + libmalcontent_private_headers, sources: libmalcontent_sources + libmalcontent_headers + libmalcontent_private_headers,
nsversion: libmalcontent_api_version, nsversion: libmalcontent_api_version,
namespace: 'Malcontent', namespace: 'Malcontent',