Commit 95fe1887 authored by Jiří Techet's avatar Jiří Techet

Don't version-control or distribute generated vapi files

parent 4d82f60d
......@@ -10,6 +10,7 @@ autom4te.cache
*.la
*.stamp
*.gir
*.vapi
*.typelib
*.gi
*~
......
......@@ -4,9 +4,9 @@ libchamplain - a map widget
libchamplain is a Gtk widget displaying zoomable and pannable maps that can be
loaded from various network sources. It supports overlay layers, markers, and
custom elements displayed on top of the maps. The library is written in C but
other language mappings are also available thanks to GObject-introspection.
other language mappings are also available thanks to GObject-Introspection.
libchamplain requires:
libchamplain depends on the following libraries:
* [glib](https://gitlab.gnome.org/GNOME/glib)
* [gtk](https://gitlab.gnome.org/GNOME/gtk)
* [clutter](https://gitlab.gnome.org/GNOME/clutter)
......
......@@ -104,13 +104,13 @@ CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
vapidir = $(datadir)/vala/vapi
dist_vapi_DATA = champlain-gtk-@CHAMPLAIN_API_VERSION@.vapi
EXTRA_DIST += champlain-gtk-@CHAMPLAIN_API_VERSION@.vapi
if ENABLE_VALA
CLEANFILES += $(dist_vapi_DATA)
vapidir = $(datadir)/vala/vapi
vapi_DATA = champlain-gtk-@CHAMPLAIN_API_VERSION@.vapi
CLEANFILES += $(vapi_DATA)
champlain-gtk-@CHAMPLAIN_API_VERSION@.vapi: GtkChamplain-@CHAMPLAIN_API_VERSION@.gir
$(AM_V_GEN) ( $(VAPIGEN) --library champlain-gtk-@CHAMPLAIN_API_VERSION@ --vapidir=$(top_builddir)/champlain --pkg champlain-@CHAMPLAIN_API_VERSION@ --pkg clutter-gtk-1.0 --pkg cogl-pango-1.0 --pkg gtk+-3.0 --pkg atk --pkg pangocairo --girdir=$(top_builddir)/champlain $(builddir)/GtkChamplain-@CHAMPLAIN_API_VERSION@.gir )
......
/* champlain-gtk-0.12.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "GtkChamplain", gir_namespace = "GtkChamplain", gir_version = "0.12", lower_case_cprefix = "gtk_champlain_")]
namespace GtkChamplain {
[CCode (cheader_filename = "champlain-gtk/champlain-gtk.h", type_id = "gtk_champlain_embed_get_type ()")]
[Version (since = "0.4")]
public class Embed : Gtk.Alignment, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Embed ();
public unowned Champlain.View get_view ();
[NoAccessorMethod]
public Champlain.View champlain_view { owned get; }
}
}
......@@ -199,13 +199,13 @@ CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
vapidir = $(datadir)/vala/vapi
dist_vapi_DATA = champlain-@CHAMPLAIN_API_VERSION@.vapi
EXTRA_DIST += champlain-@CHAMPLAIN_API_VERSION@.vapi
if ENABLE_VALA
CLEANFILES += $(dist_vapi_DATA)
vapidir = $(datadir)/vala/vapi
vapi_DATA = champlain-@CHAMPLAIN_API_VERSION@.vapi
CLEANFILES += $(vapi_DATA)
champlain-@CHAMPLAIN_API_VERSION@.vapi: Champlain-@CHAMPLAIN_API_VERSION@.gir
$(AM_V_GEN) ( $(VAPIGEN) --library champlain-@CHAMPLAIN_API_VERSION@ --pkg clutter-1.0 --pkg cogl-pango-1.0 --pkg atk --pkg pangocairo $(builddir)/Champlain-@CHAMPLAIN_API_VERSION@.gir )
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment