gir-repository r78 - in trunk: . gir
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gir-repository r78 - in trunk: . gir
- Date: Tue, 2 Sep 2008 00:56:41 +0000 (UTC)
Author: walters
Date: Tue Sep 2 00:56:40 2008
New Revision: 78
URL: http://svn.gnome.org/viewvc/gir-repository?rev=78&view=rev
Log:
Bind clutter-cairo
Modified:
trunk/configure.ac
trunk/gir/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Sep 2 00:56:40 2008
@@ -66,6 +66,12 @@
have_clutter_gtk=true, have_clutter_gtk=false)
AM_CONDITIONAL(BUILD_CLUTTERGTK, $have_clutter_gtk)
+dnl clutter-cairo
+PKG_CHECK_MODULES(CLUTTERCAIRO, clutter-cairo-0.6 >= 0.6,
+ have_clutter_cairo=true, have_clutter_cairo=false)
+AM_CONDITIONAL(BUILD_CLUTTERCAIRO, $have_clutter_cairo)
+
+
dnl gstreamer
PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 >= 0.10.0,
have_gstreamer=true, have_gstreamer=false)
Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am (original)
+++ trunk/gir/Makefile.am Tue Sep 2 00:56:40 2008
@@ -278,6 +278,26 @@
BUILT_GIRSOURCES += ClutterGtk.gir
endif BUILD_CLUTTERGTK
+if BUILD_CLUTTERCAIRO
+CLUTTERCAIRO_INCLUDEDIR=`pkg-config --variable=includedir clutter-cairo-0.6`
+CLUTTERCAIRO_LIBDIR=`pkg-config --variable=libdir clutter-cairo-0.6`
+ClutterCairo.gir: $(srcdir)/Clutter.gir $(G_IR_SCANNER)
+ClutterCairo.gir: $(srcdir)/Gtk.gir
+ $(G_IR_SCANNER) -v --namespace ClutterCairo \
+ --include=$(srcdir)/Gtk.gir \
+ --include=$(srcdir)/Clutter.gir \
+ --library=clutter-gtk-0.6 \
+ $(NOCLOSURE) \
+ --pkg gobject-2.0 \
+ --pkg gtk+-2.0 \
+ --pkg cairo \
+ --pkg clutter-cairo-0.6 \
+ --output $@ \
+ -I$(CLUTTER_INCLUDEDIR) \
+ $(CLUTTER_INCLUDEDIR)/clutter-0.6/clutter-cairo/*.h
+BUILT_GIRSOURCES += ClutterCairo.gir
+endif BUILD_CLUTTERCAIRO
+
# GStreamer
if BUILD_GSTREAMER
GST_INCLUDEDIR=`pkg-config --variable=includedir gstreamer-0.10`
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]