[clutter-box2d] build: Fix introspection rules



commit de5452e56b537a11fd7f9453d048ff4b4793b5a2
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed May 25 09:14:51 2011 +0100

    build: Fix introspection rules
    
    We have an object with the same name as the intended namespace, so we
    need to tweak the actual namespace to be just 'Clutter' like GdkPixbuf
    does.

 clutter-box2d/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/clutter-box2d/Makefile.am b/clutter-box2d/Makefile.am
index c8a537f..5224ed7 100644
--- a/clutter-box2d/Makefile.am
+++ b/clutter-box2d/Makefile.am
@@ -58,7 +58,11 @@ introspection_files = \
 
 ClutterBox2D-0.12.gir: $(INTROSPECTION_SCANNER) Makefile libclutter-box2d- CLUTTER_BOX2D_API_VERSION@.la
 
-ClutterBox2D_0_12_gir_SCANNERFLAGS = --strip-prefix=ClutterBox2D --add-include-path=$(top_builddir)
+ClutterBox2D_0_12_gir_SCANNERFLAGS = \
+	--identifier-prefix=Clutter \
+        --symbol-prefix=clutter \
+        --c-include='clutter-box2d/clutter-box2d.h' \
+        --pkg-export=clutter-box2d-0.12
 ClutterBox2D_0_12_gir_INCLUDES     = Clutter-1.0
 ClutterBox2D_0_12_gir_PACKAGES     = clutter-1.0
 ClutterBox2D_0_12_gir_CFLAGS       = $(INCLUDES) $(AM_CPPFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]