gir: Add pkg-config package name and main header

This adds information about the name of the pkg-config package provided by wireplumber
as well as which header a C program needs to include to use the library to the
generated .gir file.
This commit is contained in:
Tom A. Wagner 2022-10-28 17:36:27 +02:00
parent 8cb2df70cb
commit cde0125443

View file

@ -140,6 +140,8 @@ if build_gir
dependencies: [wp_dep, dummy_dep],
namespace: 'Wp',
nsversion: wireplumber_api_version,
export_packages: 'wireplumber-0.4',
header: 'wp/wp.h',
sources: [wpenums_h, wp_gtkdoc_h, wp_lib_headers],
include_directories: [wpenums_include_dir],
includes: ['GLib-2.0', 'GObject-2.0', 'Gio-2.0'],