mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
make: Add generated api to gapidir
This commit is contained in:
parent
6bb55d5272
commit
07f09dd3da
3 changed files with 9 additions and 2 deletions
|
@ -77,7 +77,9 @@ PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-3.0 >= 2.99.3)
|
|||
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)
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
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
|
||||
|
|
|
@ -20,7 +20,8 @@ EXTRA_DIST = \
|
|||
$(sources) \
|
||||
$(METADATA) \
|
||||
AssemblyInfo.cs.in \
|
||||
$(ASSEMBLY_NAME).snk
|
||||
$(ASSEMBLY_NAME).snk \
|
||||
gstreamer-sharp.xml
|
||||
|
||||
all: generated-stamp $(ASSEMBLY)
|
||||
|
||||
|
@ -43,10 +44,12 @@ $(DLL): $(build_sources) generated-stamp
|
|||
|
||||
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/*
|
||||
|
|
Loading…
Reference in a new issue