[rhythmbox/gobject-introspection: 203/205] split MPID out into its own gir



commit 38ac9232f60c9c7cb630accd73ac80b7bd522d83
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Oct 26 19:49:11 2010 +1000

    split MPID out into its own gir

 .gitignore              |    2 ++
 bindings/gi/Makefile.am |   16 +++++++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1c0b794..024c178 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,8 @@ rhythmbox.pc
 #
 bindings/python/rb.c
 bindings/python/rhythmdb.c
+bindings/gi/MPID-0.13.gir
+bindings/gi/MPID-0.13.typelib
 bindings/gi/RB-0.13.gir
 bindings/gi/RB-0.13.typelib
 bindings/gi/RhythmDB-0.13.gir
diff --git a/bindings/gi/Makefile.am b/bindings/gi/Makefile.am
index 94ade83..a5dc969 100644
--- a/bindings/gi/Makefile.am
+++ b/bindings/gi/Makefile.am
@@ -4,6 +4,10 @@ INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_srcdir) --add-include-path=$(top_builddir)/bindings/gi --c-include=rhythmbox.h --warn-all
 INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
 
+mpid_introspection_sources = \
+		lib/libmediaplayerid/mediaplayerid.h \
+		lib/libmediaplayerid/mpid-device.c
+
 rb_introspection_sources = \
 		backends/rb-encoder.h \
 		backends/rb-encoder.c \
@@ -24,8 +28,6 @@ rb_introspection_sources = \
 		lib/rb-stock-icons.c \
 		lib/rb-util.h \
 		lib/rb-util.c \
-		lib/libmediaplayerid/mediaplayerid.h \
-		lib/libmediaplayerid/mpid-device.c \
 		metadata/rb-metadata.h \
 		metadata/rb-metadata-dbus-client.c \
 		podcast/rb-podcast-manager.h \
@@ -120,6 +122,14 @@ rhythmdb_introspection_sources = \
 		rhythmdb/rb-refstring.h \
 		rhythmdb/rb-refstring.c
 
+MPID-0.13.gir: $(top_builddir)/shell/librhythmbox-core.la
+MPID_0_13_gir_INCLUDES = GObject-2.0
+MPID_0_13_gir_CFLAGS = $(RHYTHMBOX_CFLAGS_NOWARN) $(GUDEV_CFLAGS) -I../..
+MPID_0_13_gir_LIBS = $(top_builddir)/shell/librhythmbox-core.la
+MPID_0_13_gir_FILES = $(addprefix $(top_srcdir)/,$(mpid_introspection_sources))
+MPID_0_13_gir_PACKAGES = rhythmbox
+MPID_0_13_gir_SCANNERFLAGS = --symbol-prefix mpid_
+
 RhythmDB-0.13.gir: $(top_builddir)/shell/librhythmbox-core.la
 RhythmDB_0_13_gir_INCLUDES = GObject-2.0 Gio-2.0 Gtk-$(GTK_MAJ_VER) Gst-0.10 libxml2-2.0
 RhythmDB_0_13_gir_CFLAGS = $(RHYTHMBOX_CFLAGS_NOWARN) $(TOTEM_PLPARSER_CFLAGS) $(DBUS_CFLAGS) $(GUDEV_CFLAGS) -I../..
@@ -134,7 +144,7 @@ RB_0_13_gir_LIBS = $(top_builddir)/shell/librhythmbox-core.la
 RB_0_13_gir_FILES = $(addprefix $(top_srcdir)/,$(rb_introspection_sources))
 RB_0_13_gir_PACKAGES = rhythmbox
 
-INTROSPECTION_GIRS += RhythmDB-0.13.gir RB-0.13.gir
+INTROSPECTION_GIRS += MPID-0.13.gir RhythmDB-0.13.gir RB-0.13.gir
 
 girdir = $(datadir)/gir-1.0
 dist_gir_DATA = $(INTROSPECTION_GIRS)



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