Commit a5f25fcf authored by W. Michael Petullo's avatar W. Michael Petullo

Add capability to build Vala API file

Signed-off-by: 's avatarW. Michael Petullo <mike@flyn.org>
parent d685b3c1
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
......
......@@ -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
])
This diff is collapsed.
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
......
include/libdmapsharing-2.2/libdmapsharing/
lib64/libdmapsharing.so
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"
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