[Spice-devel] [PATCH spice-gtk 2/2] build: Fix VAPI include directory

Eduardo Lima (Etrunko) etrunko at redhat.com
Mon Sep 3 13:56:03 UTC 2018


On 09/03/2018 09:46 AM, Frediano Ziglio wrote:
> If gir files are not installed generate_vapi is not able to
> find generated gir files, so look also in src generated files.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  vapi/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/vapi/meson.build b/vapi/meson.build
> index 4737715..de9adb9 100644
> --- a/vapi/meson.build
> +++ b/vapi/meson.build
> @@ -7,6 +7,7 @@ if spice_gtk_has_vala
>      gnome.generate_vapi('spice-client-gtk-3.0',
>                          install : true,
>                          packages : ['gtk+-3.0', 'spice-client-glib-2.0'],
> +                        gir_dirs : join_paths(meson.build_root(), 'src'),
>                          vapi_dirs : meson.current_build_dir(),
>                          sources : spice_client_gtk_gir[0])
>    endif
> 

Acked-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>

-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com


More information about the Spice-devel mailing list