[libdmapsharing] Add capability to build Vala API file Signed-off-by: W. Michael Petullo <mike flyn org>
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Add capability to build Vala API file Signed-off-by: W. Michael Petullo <mike flyn org>
- Date: Tue, 14 Dec 2010 04:10:16 +0000 (UTC)
commit a5f25fcfde7217092e1394fa17f7a0950c65454c
Author: W. Michael Petullo <mike flyn org>
Date: Mon Dec 13 22:09:20 2010 -0600
Add capability to build Vala API file
Signed-off-by: W. Michael Petullo <mike flyn org>
Makefile.am | 4 +-
configure.ac | 5 +-
libdmapsharing-2.2.vapi | 331 -------------------------------------
tests/Makefile.am | 4 +-
vala/libdmapsharing-2.2.files | 2 +
vala/libdmapsharing-2.2.metadata | 4 +
vala/libdmapsharing-2.2.namespace | 1 +
7 files changed, 15 insertions(+), 336 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2148dea..80e5d77 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = docs libdmapsharing tests
-DIST_SUBDIRS = docs libdmapsharing m4 media tests
+SUBDIRS = docs libdmapsharing tests vala
+DIST_SUBDIRS = $(SUBDIRS) m4 media
### all of the standard pc files we need to generate
# pcfiles = libdmapsharing- LIBDMAPSHARING_MAJORMINOR@.pc
diff --git a/configure.ac b/configure.ac
index fc25867..e66ccc5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -332,6 +332,8 @@ if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
if test "x$VALAC" = "x" ; then
AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH])
fi
+ AC_PATH_PROG(VALA_GEN_INTROSPECT, vala-gen-introspect)
+ AC_PATH_PROG(VAPIGEN, vapigen)
fi
PKG_CHECK_MODULES(GTK, gtk+-2.0, HAVE_GTK=yes, HAVE_GTK=no)
@@ -345,7 +347,7 @@ AC_SUBST(GEE_CFLAGS)
AC_SUBST(GEE_LIBS)
if test "x$HAVE_GEE" = "xyes" -a "x$HAVE_GTK" = "xyes"; then
- AM_CONDITIONAL(BUILD_DPAPVIEW, true)
+ AM_CONDITIONAL(HAVE_VALA, true)
else
AC_WARN([Will not build dpapview])
fi
@@ -377,4 +379,5 @@ libdmapsharing/dmap-config.h
tests/Makefile
m4/Makefile
media/Makefile
+vala/Makefile
])
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c9bfc83..d2b4208 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,6 @@
noinst_PROGRAMS = test-dmap-client test-dmap-server
-if BUILD_DPAPVIEW
+if HAVE_VALA
noinst_PROGRAMS += dpapview
endif
@@ -51,7 +51,7 @@ vala.stamp: $(dpapview_VALASOURCES)
touch $@
endif
-if BUILD_DPAPVIEW
+if HAVE_VALA
dpapview_VALASOURCES = \
dpapview.vala
diff --git a/vala/libdmapsharing-2.2.files b/vala/libdmapsharing-2.2.files
new file mode 100644
index 0000000..db3070c
--- /dev/null
+++ b/vala/libdmapsharing-2.2.files
@@ -0,0 +1,2 @@
+include/libdmapsharing-2.2/libdmapsharing/
+lib64/libdmapsharing.so
diff --git a/vala/libdmapsharing-2.2.metadata b/vala/libdmapsharing-2.2.metadata
new file mode 100644
index 0000000..b08296f
--- /dev/null
+++ b/vala/libdmapsharing-2.2.metadata
@@ -0,0 +1,4 @@
+DMAP cheader_filename="libdmapsharing/dmap.h"
+dmap_container_db_foreach.data hidden="1"
+dmap_db_foreach.data hidden="1"
+dmap_record_factory_create transfer_ownership="1"
diff --git a/vala/libdmapsharing-2.2.namespace b/vala/libdmapsharing-2.2.namespace
new file mode 100644
index 0000000..662af03
--- /dev/null
+++ b/vala/libdmapsharing-2.2.namespace
@@ -0,0 +1 @@
+DMAP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]