# Description: version gir creation to get good .gir and .typelib filenames
# Upstream: https://bugzilla.gnome.org/show_bug.cgi?id=608176
diff -Nur -x '*.orig' -x '*~' totem-pl-parser-2.29.1/plparse/Makefile.am totem-pl-parser-2.29.1.new/plparse/Makefile.am
--- totem-pl-parser-2.29.1/plparse/Makefile.am	2010-01-26 11:42:51.000000000 +0100
+++ totem-pl-parser-2.29.1.new/plparse/Makefile.am	2010-01-26 18:34:55.597968862 +0100
@@ -183,10 +183,10 @@
 	$(plparser_sources)		\
 	$(plparserinclude_HEADERS)
 
-TotemPlParser.gir: libtotem-plparser.la Makefile
-TotemPlParser_gir_SCANNERFLAGS = --namespace=TotemPlParser --strip-prefix=TotemPlParser
-TotemPlParser_gir_INCLUDES = GObject-2.0 Gio-2.0
-TotemPlParser_gir_CFLAGS = \
+TotemPlParser-1.0.gir: libtotem-plparser.la Makefile
+TotemPlParser_1_0_gir_SCANNERFLAGS = --namespace=TotemPlParser --strip-prefix=TotemPlParser --nsversion=1.0
+TotemPlParser_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
+TotemPlParser_1_0_gir_CFLAGS = \
 	$(TOTEM_PLPARSER_CFLAGS)	\
 	$(HAL_CFLAGS)			\
 	$(DBUS_CFLAGS)			\
@@ -197,9 +197,9 @@
 	-I$(top_srcdir)/lib		\
 	-I$(top_builddir)/plparse	\
 	-D_GNU_SOURCE
-TotemPlParser_gir_LIBS = libtotem-plparser.la
-TotemPlParser_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
-INTROSPECTION_GIRS += TotemPlParser.gir
+TotemPlParser_1_0_gir_LIBS = libtotem-plparser.la
+TotemPlParser_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
+INTROSPECTION_GIRS += TotemPlParser-1.0.gir
 
 girdir = $(datadir)/gir-1.0
 dist_gir_DATA = $(INTROSPECTION_GIRS)
