diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-01-20 17:53:32 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-01-20 17:15:55 +0000 |
commit | 16a85736ff7986bc42c690fb9bee42473ac24cae (patch) | |
tree | 0337c7fbdae1f37a52333f0f5792cd8c9aa26484 | |
parent | e7289cfed74368213a5d144eb4f77fa419d19557 (diff) |
meson: Add missing header files to gnome.generate_gir()
This restores the original build of the GIR with automake.
-rw-r--r-- | lib/packagekit-glib2/meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/packagekit-glib2/meson.build b/lib/packagekit-glib2/meson.build index fcaa35f57..4060993b0 100644 --- a/lib/packagekit-glib2/meson.build +++ b/lib/packagekit-glib2/meson.build @@ -188,7 +188,12 @@ packagekit_glib2_dep = declare_dependency( if get_option('gobject_introspection') packagekit_glib2_gir = gnome.generate_gir( packagekit_glib2_library, - sources: packagekit_glib2_sources, + sources: [ + packagekit_glib2_sources, + packagekit_glib2_headers, + pk_enum_type, + pk_version_header, + ], namespace: 'PackageKitGlib', nsversion: '1.0', include_directories: packagekit_glib2_includes, @@ -196,6 +201,7 @@ if get_option('gobject_introspection') header: 'packagekit-glib2/packagekit.h', identifier_prefix: 'Pk', symbol_prefix: 'pk', + export_packages: 'packagekit-glib2', extra_args: [ '-DPK_COMPILATION=1', ], |