mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-02-05 05:49:10 +00:00
Currently, building vala bindings from a tarball is broken because spice-client-glib-2.0.deps is missing from the tarball. This commit adds it to EXTRA_DIST and also makes sure the vala bindings don't get built/installed unless --enable-vala has been passed to configure. This means vala must be installed to build the vala bindings from a tarball. Fixes fdo bug #44000.
35 lines
938 B
Makefile
35 lines
938 B
Makefile
NULL =
|
|
CLEANFILES =
|
|
|
|
vapidir = $(datadir)/vala/vapi
|
|
vapi_DATA = \
|
|
spice-client-glib-2.0.vapi \
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \
|
|
$(NULL)
|
|
dist_vapi_DATA = \
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \
|
|
spice-client-glib-2.0.deps \
|
|
$(NULL)
|
|
|
|
BUILT_SOURCES = $(vapi_DATA)
|
|
EXTRA_DIST = \
|
|
spice-client-gtk-2.0.deps \
|
|
spice-client-gtk-3.0.deps \
|
|
$(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) \
|
|
$<
|
|
|
|
-include $(top_srcdir)/git.mk
|