From d2b03a45371900e3100209b5fa4d3412b23aef94 Mon Sep 17 00:00:00 2001 From: Simon Feltman Date: Sun, 27 Jan 2013 06:20:51 -0800 Subject: [PATCH] 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 --- gst/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/Makefile.am b/gst/Makefile.am index 7eb1225..c1bdf0c 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_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \ -- 2.7.4