Add gio-sharp dependency

This commit is contained in:
Stephan Sundermann 2014-07-20 03:52:58 +02:00
parent b1f6e5bbe2
commit 2154455db8
2 changed files with 8 additions and 3 deletions

View file

@ -73,7 +73,7 @@ AC_SUBST(GACUTIL_FLAGS)
AC_SUBST(LIB_PREFIX)
AC_SUBST(LIB_SUFFIX)
dnl Check for gtk-sharp
dnl Check for glib-sharp
PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-3.0 >= 2.99.3)
AC_SUBST(GLIB_SHARP_CFLAGS)
AC_SUBST(GLIB_SHARP_LIBS)
@ -82,6 +82,11 @@ gapidir=`pkg-config --variable=gapidir gtk-sharp-3.0`
AC_SUBST(gtksharp_prefix)
AC_SUBST(gapidir)
dnl Check for gio-sharp
PKG_CHECK_MODULES(GIO_SHARP, gio-sharp-3.0 >= 2.99.3)
AC_SUBST(GIO_SHARP_CFLAGS)
AC_SUBST(GIO_SHARP_LIBS)
dnl Find GAPI
PKG_CHECK_MODULES(GAPI, gapi-3.0 >= 2.99.3)

View file

@ -32,14 +32,14 @@ $(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
generated-stamp: $(API)
rm -rf generated/* && \
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GLIB_SHARP_CFLAGS) \
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GLIB_SHARP_CFLAGS) $(GIO_SHARP_CFLAGS) \
--outdir=generated \
--glue-filename=$(GLUEDIR)/generated.c --gluelib-name=libgstreamersharpglue-1.0.0.dll \
--glue-includes=gst/gst.h,`cd $(GST_INCLUDEDIR);find gst -type f -name "*.h" -not -path "gst/gl/*" | tr "\n" ","` \
--assembly-name=$(ASSEMBLY_NAME) && touch generated-stamp
$(DLL): $(build_sources) generated-stamp
$(CSC) -nowarn:169 -nowarn:108 -nowarn:114 -unsafe -target:library $(GLIB_SHARP_LIBS) \
$(CSC) -nowarn:169 -nowarn:108 -nowarn:114 -unsafe -target:library $(GLIB_SHARP_LIBS) $(GIO_SHARP_LIBS) \
$(build_sources) generated/*/*.cs -out:$(DLL)
install-data-local: