spice-gtk/vapi/Makefile.am
Hans de Goede 47d7c79be5 usb-device-manager: Make spice_usb_device_manager_connect_device async
With the (upcoming) introduction of the usb device node acl helper, which
uses policykit, spice_usbredir_channel_connect() may take a long time as
it will be waiting for the helper, which will be waiting for policykit which
may be interacting with the user. So spice_usbredir_channel_connect() will
need to become async, and since spice_usb_device_manager_connect_device
calls spice_usbredir_channel_connect it thus also needs to become async.

Note that this patch only changes spice_usb_device_manager_connect_device's
API to use the standard GIO async API, it is not actually async after this
patch since spice_usbredir_channel_connect is not yet async.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-11-16 17:06:56 +01:00

35 lines
990 B
Makefile

NULL =
if WITH_VALA
vapidir = $(datadir)/vala/vapi
vapi_DATA = \
spice-client-glib-2.0.vapi \
spice-client-glib-2.0.deps \
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \
$(NULL)
spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir
$(AM_V_GEN)$(VAPIGEN) \
--library spice-client-glib-2.0 \
$<
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir spice-client-glib-2.0.vapi
$(AM_V_GEN)$(VAPIGEN) \
--vapidir=$(builddir) \
--girdir=$(top_builddir)/gtk \
--pkg spice-client-glib-2.0 \
--pkg gtk+-$(GTK_API_VERSION) \
--library spice-client-gtk-$(SPICE_GTK_API_VERSION) \
$<
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps: spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi
@echo "spice-client-glib-2.0" > $@
@echo "gtk+-$(GTK_API_VERSION)" >> $@
endif
CLEANFILES = $(vapi_DATA)
-include $(top_srcdir)/git.mk