diff options
Diffstat (limited to 'vala')
-rw-r--r-- | vala/Makefile.am | 37 | ||||
-rw-r--r-- | vala/telepathy-vala-uninstalled.pc.in | 12 | ||||
-rw-r--r-- | vala/telepathy-vala.pc.in | 14 |
3 files changed, 63 insertions, 0 deletions
diff --git a/vala/Makefile.am b/vala/Makefile.am new file mode 100644 index 000000000..9c5a8cdaa --- /dev/null +++ b/vala/Makefile.am @@ -0,0 +1,37 @@ +XSLTPROCFLAGS = --nonet --novalid + +vapidir = $(datarootdir)/telepathy/vapi +vapi_DATA = telepathy-glib.vapi + +BUILT_SOURCES = \ + telepathy-glib.vapi \ + $(NULL) + +pkgconfigdir = ${libdir}/pkgconfig +pkgconfig_DATA = telepathy-vala.pc + +telepathy-glib.vapi: $(top_srcdir)/telepathy-glib/TelepathyGLib-0.12.gir + $(VAPIGEN_V)$(VAPIGEN) \ + --library telepathy-glib \ + --pkg gio-2.0 \ + $< \ + $(NULL) + +EXTRA_DIST = \ + $(BUILT_SOURCES) \ + $(NULL) + +CLEANFILES = \ + $(BUILT_SOURCES) \ + $(NULL) + +# set up the verbosity rules to avoid some build noise +# XXX: once automake >= 1.11 is common, remove these, push VALASOURCES files +# into SOURCES and add AM_PROG_VALAC to configure.ac +VAPIGEN_V = $(VAPIGEN_V_$(V)) +VAPIGEN_V_ = $(VAPIGEN_V_$(AM_DEFAULT_VERBOSITY)) +VAPIGEN_V_0 = @echo " VAPIG " $^; + +VGI_V = $(VGI_V_$(V)) +VGI_V_ = $(VGI_V_$(AM_DEFAULT_VERBOSITY)) +VGI_V_0 = @echo " VGI " $^; diff --git a/vala/telepathy-vala-uninstalled.pc.in b/vala/telepathy-vala-uninstalled.pc.in new file mode 100644 index 000000000..a9382e1ed --- /dev/null +++ b/vala/telepathy-vala-uninstalled.pc.in @@ -0,0 +1,12 @@ +prefix= +exec_prefix= +abs_top_srcdir=@abs_top_srcdir@ +abs_top_builddir=@abs_top_builddir@ +vapidir=${abs_top_srcdir}/vala +valaflags=--vapidir=${vapidir} + +Name: Telepathy Vala bindings (uninstalled copy) +Description: Vala bindings for the Telepathy framework +Version: @VERSION@ +Requires: pkg-config >= 0.21 +Requires.private: dbus-glib-1 >= 0.82, glib-2.0 >= 2.22, gobject-2.0 >= 2.22, gio-2.0 >= 2.22, telepathy-glib diff --git a/vala/telepathy-vala.pc.in b/vala/telepathy-vala.pc.in new file mode 100644 index 000000000..fdb4316c2 --- /dev/null +++ b/vala/telepathy-vala.pc.in @@ -0,0 +1,14 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +datarootdir=@datarootdir@ +datadir=@datadir@ +vapidir=@datadir@/telepathy/vapi +valaflags=--vapidir=${vapidir} + +Name: Telepathy Vala bindings +Description: Vala bindings for the Telepathy framework +Version: @VERSION@ +Requires: pkg-config >= 0.21 +Requires.private: dbus-glib-1 >= 0.82, glib-2.0 >= 2.22, gobject-2.0 >= 2.22, gio-2.0 >= 2.22, telepathy-glib |