mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
configure: require 2.99.2
Also, we now check for glib-sharp instead of gtk-sharp, because even if they are hosted in the same repository named "gtk-sharp", that could change in the future, and glib-sharp provides its own .pc file as well.
This commit is contained in:
parent
70a42dea54
commit
1963b18a8d
2 changed files with 8 additions and 5 deletions
|
@ -73,12 +73,15 @@ AC_SUBST(LIB_PREFIX)
|
|||
AC_SUBST(LIB_SUFFIX)
|
||||
|
||||
dnl Check for gtk-sharp
|
||||
PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-3.0)
|
||||
AC_SUBST(GTK_SHARP_CFLAGS)
|
||||
AC_SUBST(GTK_SHARP_LIBS)
|
||||
PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-3.0 >= 2.99.2)
|
||||
AC_SUBST(GLIB_SHARP_CFLAGS)
|
||||
AC_SUBST(GLIB_SHARP_LIBS)
|
||||
gtksharp_prefix=`pkg-config --variable=prefix gtk-sharp-3.0`
|
||||
AC_SUBST(gtksharp_prefix)
|
||||
|
||||
dnl Find GAPI
|
||||
PKG_CHECK_MODULES(GAPI, gapi-3.0 >= 2.99.2)
|
||||
|
||||
dnl Check for gapi
|
||||
AC_PATH_PROG(GAPI_PARSER, gapi3-parser, no)
|
||||
if test "x$GAPI_PARSER" = "xno"; then
|
||||
|
|
|
@ -30,14 +30,14 @@ $(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
|||
$(GAPI_FIXUP) --api=$(srcdir)/$(API) --metadata=$(srcdir)/$(METADATA)
|
||||
|
||||
generated-stamp: $(API)
|
||||
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GTK_SHARP_CFLAGS) \
|
||||
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GLIB_SHARP_CFLAGS) \
|
||||
--outdir=generated \
|
||||
--glue-filename=$(GLUEDIR)/generated.c --gluelib-name=libgstreamersharpglue-1.0.6.so \
|
||||
--glue-includes=gst/gst.h \
|
||||
--assembly-name=$(ASSEMBLY_NAME) && touch generated-stamp
|
||||
|
||||
$(DLL): $(build_sources) generated-stamp
|
||||
$(CSC) -nowarn:169 -unsafe -target:library $(GTK_SHARP_LIBS) \
|
||||
$(CSC) -nowarn:169 -unsafe -target:library $(GLIB_SHARP_LIBS) \
|
||||
$(build_sources) generated/*.cs -out:$(DLL)
|
||||
|
||||
install-data-local:
|
||||
|
|
Loading…
Reference in a new issue