
Apparently vapigen can't find the NetworkManager-1.0.gir belonging to
libnm-util.vapi.
(cherry picked from commit 44f14e969b
)
29 lines
540 B
Meson
29 lines
540 B
Meson
gnome.generate_vapi(
|
|
libnm_name,
|
|
sources: libnm_gir[0],
|
|
packages: 'gio-2.0',
|
|
install: true
|
|
)
|
|
|
|
if enable_libnm_glib
|
|
packages = [
|
|
'dbus-glib-1',
|
|
'gio-2.0'
|
|
]
|
|
|
|
libnm_util_vapi = gnome.generate_vapi(
|
|
libnm_util_name,
|
|
sources: libnm_util_gir[0],
|
|
packages: packages,
|
|
install: true
|
|
)
|
|
|
|
gnome.generate_vapi(
|
|
libnm_glib_name,
|
|
sources: libnm_glib_gir[0],
|
|
packages: packages + [libnm_util_vapi],
|
|
gir_dirs: [join_paths(meson.current_build_dir(), '..', 'libnm-util')],
|
|
install: true
|
|
)
|
|
endif
|