[Xfce4-commits] [xfce/libxfce4ui] 03/08: Add VAPIGEN for generating vala bindings.

noreply at xfce.org noreply at xfce.org
Mon Aug 14 05:56:14 CEST 2017


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

e   r   i   c       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/libxfce4ui.

commit d2be189ba145700cdba00b48c4e848dcd18d9326
Author: Vidar Haarr <vhaarr at gmail.com>
Date:   Mon Aug 7 18:32:38 2017 +0200

    Add VAPIGEN for generating vala bindings.
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 .gitignore                     |  1 +
 configure.ac.in                |  5 +++++
 libxfce4ui/Makefile.am         | 18 ++++++++++++++++++
 libxfce4ui/libxfce4ui-2.0.deps |  8 ++++++++
 4 files changed, 32 insertions(+)

diff --git a/.gitignore b/.gitignore
index 744986b..d1685ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -68,6 +68,7 @@ libxfce4ui/stamp-libxfce4ui-enum-types.h
 libxfce4ui/stamp-libxfce4ui-marshal.h
 libxfce4ui/libxfce4ui-2.0.gir
 libxfce4ui/libxfce4ui-2.0.typelib
+libxfce4ui/libxfce4ui-2.0.vapi
 xfce4-about/about-dialog-ui.h
 xfce4-about/xfce4-about
 xfce4-about/xfce4-about.desktop
diff --git a/configure.ac.in b/configure.ac.in
index 7443a88..e10019a 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -149,6 +149,11 @@ dnl *** Check for gobject-introspection ***
 dnl ***************************************
 GOBJECT_INTROSPECTION_CHECK([1.30.0])
 
+dnl *************************
+dnl *** Check for vapigen ***
+dnl *************************
+VAPIGEN_CHECK()
+
 dnl *************************************************
 dnl *** Optional support for startup notification ***
 dnl *************************************************
diff --git a/libxfce4ui/Makefile.am b/libxfce4ui/Makefile.am
index 57bd09d..2068ddd 100644
--- a/libxfce4ui/Makefile.am
+++ b/libxfce4ui/Makefile.am
@@ -263,6 +263,24 @@ EXTRA_DIST = \
 	libxfce4ui-marshal.list \
 	make-libxfce4ui-alias.pl
 
+if ENABLE_VAPIGEN
+-include $(VAPIGEN_MAKEFILE)
+
+libxfce4ui-2.0.vapi: libxfce4ui-2.0.gir libxfce4ui-2.0.deps
+
+VAPIGEN_VAPIS = libxfce4ui-2.0.vapi
+VAPIGEN_GIRDIRS = $(prefix)/share/gir-1.0
+
+libxfce4ui_2_0_vapi_DEPS = libxfce4ui-2.0
+libxfce4ui_2_0_vapi_METADATADIRS = $(srcdir)
+libxfce4ui_2_0_vapi_FILES = libxfce4ui-2.0.gir
+
+vapidir = $(datadir)/vala/vapi
+vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)
+
+EXTRA_DIST += libxfce4ui-2.0.metadata libxfce4ui-2.0.deps
+endif
+
 if HAVE_GNUC_VISIBILITY
 TESTS = abicheck.sh
 endif
diff --git a/libxfce4ui/libxfce4ui-2.0.deps b/libxfce4ui/libxfce4ui-2.0.deps
new file mode 100644
index 0000000..4264788
--- /dev/null
+++ b/libxfce4ui/libxfce4ui-2.0.deps
@@ -0,0 +1,8 @@
+libxfce4util-1.0
+atk
+gio-2.0
+cairo
+pango
+gdk-pixbuf-2.0
+gdk-3.0
+gtk+-3.0

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


More information about the Xfce4-commits mailing list