mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
rtp: Add builddir to the include path for gobject-introspection
And also add missing headers/sources https://bugzilla.gnome.org/show_bug.cgi?id=749632
This commit is contained in:
parent
ec21fa6dea
commit
6dd14bb6d6
1 changed files with 3 additions and 0 deletions
|
@ -45,7 +45,9 @@ if HAVE_INTROSPECTION
|
|||
BUILT_GIRSOURCES = GstRtp-@GST_API_VERSION@.gir
|
||||
|
||||
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtpinclude_HEADERS))
|
||||
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtpinclude_HEADERS))
|
||||
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtp_@GST_API_VERSION@_la_SOURCES))
|
||||
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtp_@GST_API_VERSION@_la_SOURCES))
|
||||
|
||||
GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSION@.la
|
||||
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
|
||||
|
@ -55,6 +57,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO
|
|||
--strip-prefix=Gst \
|
||||
--warn-all \
|
||||
--c-include "gst/rtp/rtp.h" \
|
||||
-I$(top_builddir)/gst-libs \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
||||
|
|
Loading…
Reference in a new issue