Files
poky/meta/recipes-graphics/clutter/clutter-box2d/fix-disable-introspection.patch
Zhai Edwin 7a0d252635 Upstream-Status: Update patch upstream-status for libfm, eggdbus, screenshot...
(From OE-Core rev: fc626a1badc8260ac8f4d44db5c40a6072d3956c)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17 15:14:43 +01:00

31 lines
980 B
Diff

Even with introspection disabled clutter-box2d would try to install the gir
files.
This patch ignored the while introspection related section of the Makefile if
introspection is disabled.
JL 28/03/11
josh@linux.intel.com
Upstream-Status: Inappropriate [configuration]
Index: clutter-box2d-0.10.0/clutter-box2d/Makefile.am
===================================================================
--- clutter-box2d-0.10.0.orig/clutter-box2d/Makefile.am
+++ clutter-box2d-0.10.0/clutter-box2d/Makefile.am
@@ -41,6 +41,8 @@ EXTRA_DIST = \
BUILT_GIRSOURCES =
+if HAVE_INTROSPECTION
+
ClutterBox2D-@CLUTTER_BOX2D_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-box2d-@CLUTTER_BOX2D_API_VERSION@.la
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
--namespace ClutterBox2D --nsversion=@CLUTTER_BOX2D_API_VERSION@ \
@@ -70,3 +72,5 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
CLEANFILES=
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
+
+endif
\ No newline at end of file