[Xfce4-commits] [xfce/xfce4-panel] 05/09: GObject Introspection: Add VAPIGEN for vala binding generation

noreply at xfce.org noreply at xfce.org
Mon Aug 14 23:10:38 CEST 2017


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit 3d6d1dd39864d013e96072ce63e8e0c4dfff9a2d
Author: Vidar Haarr <vhaarr at gmail.com>
Date:   Mon Aug 7 18:25:26 2017 +0200

    GObject Introspection: Add VAPIGEN for vala binding generation
---
 configure.ac.in           |  5 +++++
 libxfce4panel/Makefile.am | 18 ++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/configure.ac.in b/configure.ac.in
index 9afaf5d..7c4d63d 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -174,6 +174,11 @@ dnl ***************************************
 GOBJECT_INTROSPECTION_CHECK([1.30.0])
 
 dnl *************************
+dnl *** Check for vapigen ***
+dnl *************************
+VAPIGEN_CHECK()
+
+dnl *************************
 dnl *** Check for gtk-doc ***
 dnl *************************
 GTK_DOC_CHECK([1.9])
diff --git a/libxfce4panel/Makefile.am b/libxfce4panel/Makefile.am
index a60627c..146a893 100644
--- a/libxfce4panel/Makefile.am
+++ b/libxfce4panel/Makefile.am
@@ -218,6 +218,24 @@ EXTRA_DIST = \
 	libxfce4panel-marshal.list \
 	make-libxfce4panel-alias.pl
 
+if ENABLE_VAPIGEN
+-include $(VAPIGEN_MAKEFILE)
+
+libxfce4panel-2.0.vapi: libxfce4panel-2.0.gir libxfce4panel-2.0.deps
+
+VAPIGEN_VAPIS = libxfce4panel-2.0.vapi
+VAPIGEN_GIRDIRS = $(prefix)/share/gir-1.0
+
+libxfce4panel_2_0_vapi_DEPS = libxfce4panel-2.0 GObject-2.0 GLib-2.0 Gtk-3.0 libxfce4util-1.0
+libxfce4panel_2_0_vapi_METADATADIRS = $(srcdir)
+libxfce4panel_2_0_vapi_FILES = libxfce4panel-2.0.gir
+
+vapidir = $(datadir)/vala/vapi
+vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)
+
+EXTRA_DIST += libxfce4panel-2.0.metadata libxfce4panel-2.0.deps
+endif
+
 if HAVE_GNUC_VISIBILITY
 TESTS =	abicheck.sh
 endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list