AC_SUBST(GLIB_SHARP_CFLAGS)
AC_SUBST(GLIB_SHARP_LIBS)
gtksharp_prefix=`pkg-config --variable=prefix gtk-sharp-3.0`
+gapidir=`pkg-config --variable=gapidir gtk-sharp-3.0`
AC_SUBST(gtksharp_prefix)
+AC_SUBST(gapidir)
dnl Find GAPI
PKG_CHECK_MODULES(GAPI, gapi-3.0 >= 2.99.3)
prefix=@prefix@
exec_prefix=${prefix}
libdir=@libdir@
+gapidir=@gapidir@
Name: @ASSEMBLY_TITLE@
Description: @ASSEMBLY_DESCRIPTION@
Version: @VERSION@
Requires:
+Cflags: -I:${gapidir}/gstreamer-sharp.xml
Libs: -r:${libdir}/mono/@ASSEMBLY_NAME@/@ASSEMBLY_NAME@.dll
$(sources) \
$(METADATA) \
AssemblyInfo.cs.in \
- $(ASSEMBLY_NAME).snk
+ $(ASSEMBLY_NAME).snk \
+ gstreamer-sharp.xml
all: generated-stamp $(ASSEMBLY)
install-data-local:
echo "$(GACUTIL) /i $(DLL) /f $(GACUTIL_FLAGS)"; \
- $(GACUTIL) /i $(DLL) /f $(GACUTIL_FLAGS) || exit 1;
+ $(GACUTIL) /i $(DLL) /f $(GACUTIL_FLAGS) || exit 1; \
+ cp $(API) $(gapidir);
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1;
+ rm -f $(gapidir)/$(API)
clean-local:
-rm -r generated/*