mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
introspection: Fix build if gir-repository is not installed
This commit is contained in:
parent
740bcd9479
commit
7794caf9f8
13 changed files with 16 additions and 16 deletions
|
@ -13,8 +13,8 @@ SUBDIRS = \
|
||||||
pbutils \
|
pbutils \
|
||||||
riff \
|
riff \
|
||||||
rtp \
|
rtp \
|
||||||
rtsp \
|
|
||||||
sdp \
|
sdp \
|
||||||
|
rtsp \
|
||||||
video \
|
video \
|
||||||
app
|
app
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(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)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -71,7 +71,7 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMI
|
||||||
--nsversion=@GST_MAJORMINOR@ \
|
--nsversion=@GST_MAJORMINOR@ \
|
||||||
$(gir_cincludes) \
|
$(gir_cincludes) \
|
||||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10`/gst \
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||||
--add-include-path=$(builddir)/../interfaces \
|
--add-include-path=$(builddir)/../interfaces \
|
||||||
--library=gstaudio-0.10 \
|
--library=gstaudio-0.10 \
|
||||||
--include=Gst-0.10 \
|
--include=Gst-0.10 \
|
||||||
|
@ -95,7 +95,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(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)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -74,7 +74,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -101,7 +101,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -39,7 +39,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -79,7 +79,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -49,7 +49,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -33,7 +33,7 @@ GstRtp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_MAJORMINOR@
|
||||||
$(gir_cincludes) \
|
$(gir_cincludes) \
|
||||||
-I$(top_srcdir)/gst-libs \
|
-I$(top_srcdir)/gst-libs \
|
||||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10`/gst \
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||||
--library=gstrtp-0.10 \
|
--library=gstrtp-0.10 \
|
||||||
--include=Gst-0.10 \
|
--include=Gst-0.10 \
|
||||||
--include=GstBase-0.10 \
|
--include=GstBase-0.10 \
|
||||||
|
@ -54,7 +54,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(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)
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -84,7 +84,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=$(builddir)/../sdp $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -42,7 +42,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -43,7 +43,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -43,7 +43,7 @@ GstVideo-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_MAJORMI
|
||||||
$(gir_cincludes) \
|
$(gir_cincludes) \
|
||||||
-I$(top_srcdir)/gst-libs \
|
-I$(top_srcdir)/gst-libs \
|
||||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
||||||
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10`/gst \
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
||||||
--library=gstvideo-0.10 \
|
--library=gstvideo-0.10 \
|
||||||
--include=Gst-0.10 \
|
--include=Gst-0.10 \
|
||||||
--include=GstBase-0.10 \
|
--include=GstBase-0.10 \
|
||||||
|
@ -64,7 +64,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(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)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue