[Spice-devel] [PATCH spice-gtk 1/2] build: Fix gir dependencies

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


On 09/03/2018 09:46 AM, Frediano Ziglio wrote:
> File generated should be depends on currently files built, not from
> installed files, so use target objects for spice-gtk dependency
> on spice-lib.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  src/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/meson.build b/src/meson.build
> index 829a89c..b2188af 100644
> --- a/src/meson.build
> +++ b/src/meson.build
> @@ -369,7 +369,7 @@ if spice_gtk_has_gtk
>                                              export_packages : 'spice-client-gtk-3.0',
>                                              extra_args : ['--accept-unprefixed'],
>                                              header : 'spice-widget.h',
> -                                            includes : ['GObject-2.0', 'Gtk-3.0', 'SpiceClientGLib-2.0'],
> +                                            includes : ['GObject-2.0', 'Gtk-3.0', spice_client_glib_gir[0]],
>                                              identifier_prefix : 'Spice',
>                                              symbol_prefix : 'spice',
>                                              install : spice_gtk_has_introspection,
> 
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