mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
gst-libs: fix up gobject-introspection some more
Use new girdir and typlibdir from core .pc files, so we can figure out the right includes to pass to the gobject-introspection tools, whether core is installed in the same prefix as gobject-introspection or in a different prefix or uninstalled. This also keeps us from adding bogus paths to the includes that only work if core is uninstalled. Also add some missing includes/pkgs where needed.
This commit is contained in:
parent
14063f0670
commit
64cfa6bf73
13 changed files with 108 additions and 31 deletions
|
@ -47,8 +47,8 @@ GstApp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_MAJORMINOR@
|
|||
$(gir_cincludes) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--library=gstapp-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--include=GstBase-0.10 \
|
||||
|
@ -69,7 +69,12 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -75,9 +75,9 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMI
|
|||
-I$(top_srcdir)/gst-libs \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
$(gir_cincludes) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||
--add-include-path=$(builddir)/../interfaces \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--library=gstaudio-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--include=GstBase-0.10 \
|
||||
|
@ -100,7 +100,13 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` --includedir=$(builddir)/../interfaces $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=$(builddir)/../interfaces \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -28,8 +28,8 @@ GstCdda-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcdda-@GST_MAJORMINO
|
|||
--nsversion=@GST_MAJORMINOR@ \
|
||||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--add-include-path=$(builddir)/../tag \
|
||||
--library=gstcdda-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
|
@ -53,7 +53,13 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=$(builddir)/../tag \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -57,7 +57,7 @@ GstFft-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_MAJORMINOR@
|
|||
--nsversion=@GST_MAJORMINOR@ \
|
||||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--library=gstfft-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
|
@ -76,7 +76,11 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -88,7 +88,7 @@ GstInterfaces-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstinterfaces-@G
|
|||
$(gir_cincludes) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--library=gstinterfaces-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
|
@ -107,7 +107,11 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -22,7 +22,7 @@ GstNetbuffer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnetbuffer-@GST
|
|||
--nsversion=@GST_MAJORMINOR@ \
|
||||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--library=gstnetbuffer-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
|
@ -41,7 +41,11 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -64,7 +64,7 @@ GstPbutils-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_MAJ
|
|||
$(gir_cincludes) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--library=gstpbutils-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
|
@ -83,7 +83,11 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -32,11 +32,20 @@ GstRiff-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstriff-@GST_MAJORMINO
|
|||
--nsversion=@GST_MAJORMINOR@ \
|
||||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--add-include-path=$(builddir)/../tag \
|
||||
--add-include-path=$(builddir)/../audio \
|
||||
--add-include-path=$(builddir)/../interfaces \
|
||||
--library=gstriff-0.10 \
|
||||
--include=GstAudio-0.10 \
|
||||
--include=GstTag-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
--pkg gstreamer-0.10 \
|
||||
--pkg gstreamer-tag-0.10 \
|
||||
--pkg gstreamer-audio-0.10 \
|
||||
--pkg gstreamer-interfaces-0.10 \
|
||||
--output $@ \
|
||||
$(gir_headers) \
|
||||
$(gir_sources)
|
||||
|
@ -51,7 +60,15 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=$(builddir)/../tag \
|
||||
--includedir=$(builddir)/../audio \
|
||||
--includedir=$(builddir)/../interfaces \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -34,8 +34,8 @@ GstRtp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_MAJORMINOR@
|
|||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--library=gstrtp-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--include=GstBase-0.10 \
|
||||
|
@ -56,7 +56,12 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -67,8 +67,8 @@ GstRtsp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_MAJORMINO
|
|||
$(gir_cincludes) \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=$(builddir)/../sdp \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--library=gstrtsp-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--include=GstSdp-0.10 \
|
||||
|
@ -89,7 +89,12 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=$(builddir)/../sdp $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=$(builddir)/../sdp \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -25,7 +25,7 @@ GstSdp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_MAJORMINOR@
|
|||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--library=gstsdp-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
|
@ -44,7 +44,11 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -31,11 +31,14 @@ GstTag-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_MAJORMINOR@
|
|||
--nsversion=@GST_MAJORMINOR@ \
|
||||
--strip-prefix=Gst \
|
||||
$(gir_cincludes) \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--library=gsttag-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--include=GstBase-0.10 \
|
||||
--libtool="$(top_builddir)/libtool" \
|
||||
--pkg gstreamer-0.10 \
|
||||
--pkg gstreamer-base-0.10 \
|
||||
--output $@ \
|
||||
$(gir_headers) \
|
||||
$(gir_sources)
|
||||
|
@ -50,7 +53,12 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
|
@ -45,8 +45,8 @@ GstVideo-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_MAJORMI
|
|||
$(gir_cincludes) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
|
||||
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
|
||||
--library=gstvideo-0.10 \
|
||||
--include=Gst-0.10 \
|
||||
--include=GstBase-0.10 \
|
||||
|
@ -67,7 +67,12 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||
|
||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
$(AM_V_GEN)$(INTROSPECTION_COMPILER) \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=$(builddir) \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-0.10` \
|
||||
--includedir=`$(PKG_CONFIG) --variable=typelibdir gstreamer-base-0.10` \
|
||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||
|
||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue