mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-01-01 12:42:03 +00:00
Supported by Meson 0.49 (required by Spice-GTK). New syntax is shorter and is recommended in https://mesonbuild.com/Release-notes-for-0-49-0.html ("Joining paths with /"). Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com>
16 lines
640 B
Meson
16 lines
640 B
Meson
if spice_gtk_has_vala
|
|
spice_glib_vapi = gnome.generate_vapi('spice-client-glib-2.0',
|
|
install : true,
|
|
packages : ['gio-2.0', 'gstreamer-1.0'],
|
|
sources : spice_client_glib_gir[0])
|
|
|
|
if spice_gtk_has_gtk
|
|
gnome.generate_vapi('spice-client-gtk-3.0',
|
|
install : true,
|
|
packages : ['gtk+-3.0', 'gstreamer-1.0', spice_glib_vapi],
|
|
gir_dirs : meson.build_root() / 'src',
|
|
vapi_dirs : meson.current_build_dir(),
|
|
sources : spice_client_gtk_gir[0])
|
|
endif
|
|
endif
|