summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-01-27 06:20:51 -0800
committerTim-Philipp Müller <tim@centricular.net>2013-01-27 21:00:25 +0000
commitdc7eca626497ba3466b5256a1bb99f3f5ff4e9ff (patch)
tree9b35cebff735b8756c8ae18632edee310b42cd5c
parent74e2a8b139634b3d177fe08a59f22180f169ea6e (diff)
g-i: add built enumtypes headers and sources to gir creation
Add gstenumtypes.h/c for inclusion with g-ir-scanner. This fixes problems where introspection based bindings think GstState is typeless due to the GType not being included as an annotation. https://bugzilla.gnome.org/show_bug.cgi?id=691185
-rw-r--r--gst/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/Makefile.am b/gst/Makefile.am
index 714f69eedd..be1d494175 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -260,7 +260,9 @@ if HAVE_INTROSPECTION
BUILT_GIRSOURCES = Gst-@GST_API_VERSION@.gir
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstreamer_@GST_API_VERSION@include_HEADERS))
+gir_headers+=$(patsubst %,$(builddir)/%, $(built_header_make))
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstreamer_@GST_API_VERSION@_la_SOURCES))
+gir_sources+=$(patsubst %,$(builddir)/%, $(built_source_make))
Gst-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstreamer-@GST_API_VERSION@.la
$(AM_V_GEN)GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \