summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-01-08 01:15:35 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-01-08 01:15:35 +0000
commit8b1ec41d0858fe257d2aa5db1e450e4c726d00a4 (patch)
tree2ba0fe506cbe97963fe929c4d914034621305f98 /gst
parent5227832132747abae0c89b06ad989d3af3389e5c (diff)
gobject-introspection: fix g-i build for uninstalled setup
Requires gst-plugins-base git (> 0.10.31.2).
Diffstat (limited to 'gst')
-rw-r--r--gst/rtsp-server/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/gst/rtsp-server/Makefile.am b/gst/rtsp-server/Makefile.am
index 8be1f59..02a0bd7 100644
--- a/gst/rtsp-server/Makefile.am
+++ b/gst/rtsp-server/Makefile.am
@@ -60,6 +60,8 @@ GstRtspServer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtspserver-@G
-DIN_GOBJECT_INTROSPECTION=1 \
--c-include='gst/gst.h' \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
+ --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-rtsp-0.10` \
+ --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-sdp-0.10` \
--library=libgstrtspserver-0.10.la \
--include=Gst-0.10 \
--include=GstRtsp-0.10 \
@@ -81,7 +83,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=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
+ --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-rtsp-0.10` \
+ --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-sdp-0.10` \
+ $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
endif