[rhythmbox/gobject-introspection: 2/34] start adding autotoolery for generating gobject-introspection stuff



commit 38cb2bbec94de69aec80865667f6afbbf96b567c
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Mar 6 19:57:39 2010 +1000

    start adding autotoolery for generating gobject-introspection stuff

 configure.ac      |    2 +
 shell/Makefile.am |  128 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5e82be7..60563b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,8 @@ dnl XXXX hack to kill off all the libtool tags ...
 dnl it isn't like we are using C++ or Fortran.
 m4_define([_LT_AC_TAGCONFIG],[])
 
+GOBJECT_INTROSPECTION_CHECK([0.6.7])
+
 IT_PROG_INTLTOOL([0.35.0])
 
 AC_ISC_POSIX
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 225b43c..34011f6 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -170,6 +170,134 @@ if ENABLE_PYTHON
 rhythmbox_LDADD += $(PYTHON_LIBS)
 endif
 
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --add-include-dir=$(srcdir)
+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+
+if HAVE_INTROSPECTION
+introspection_sources = \
+		backends/rb-encoder.h \
+		backends/rb-encoder.c \
+		backends/rb-player-gst-filter.h \
+		backends/rb-player-gst-filter.c \
+		backends/rb-player-gst-tee.h \
+		backends/rb-player-gst-tee.c \
+		backends/rb-player.h \
+		backends/rb-player.c \
+		lib/rb-builder-helpers.h \
+		lib/rb-builder-helpers.c \
+		lib/rb-debug.h \
+		lib/rb-debug.c \
+		lib/rb-file-helpers.h \
+		lib/rb-file-helpers.c \
+		lib/rb-preferences.h \
+		lib/rb-preferences.c \
+		lib/rb-stock-icons.h \
+		lib/rb-stock-icons.c \
+		lib/rb-string-value-map.h \
+		lib/rb-string-value-map.c \
+		lib/rb-util.h \
+		lib/rb-util.c \
+		metadata/rb-metadata.h \
+		metadata/rb-metadata.c \
+		podcast/rb-podcast-manager.h \
+		podcast/rb-podcast-manager.c \
+		podcast/rb-podcast-parse.h \
+		podcast/rb-podcast-parse.c \
+		rhythmdb/rb-refstring.h \
+		rhythmdb/rb-refstring.c \
+		rhythmdb/rhythmdb.h \
+		rhythmdb/rhythmdb.c \
+		rhythmdb/rhythmdb-property-model.h \
+		rhythmdb/rhythmdb-property-model.c \
+		rhythmdb/rhythmdb-query-model.h \
+		rhythmdb/rhythmdb-query-model.c \
+		rhythmdb/rhythmdb-query-results.h \
+		rhythmdb/rhythmdb-query-results.c \
+		rhythmdb/rhythmdb-import-job.h \
+		rhythmdb/rhythmdb-import-job.c \
+		shell/rb-shell.h \
+		shell/rb-shell.c \
+		shell/rb-shell-player.h \
+		shell/rb-shell-player.c \
+		shell/rb-shell-preferences.h \
+		shell/rb-shell-preferences.c \
+		shell/rb-playlist-manager.h \
+		shell/rb-playlist-manager.c \
+		shell/rb-removable-media-manager.h \
+		shell/rb-removable-media-manager.c \
+		shell/rb-history.h \
+		shell/rb-history.c \
+		shell/rb-play-order.h \
+		shell/rb-play-order.c \
+		shell/rb-plugin.h \
+		shell/rb-plugin.c \
+		sources/rb-source.h \
+		sources/rb-source.c \
+		sources/rb-streaming-source.h \
+		sources/rb-streaming-source.c \
+		sources/rb-source-group.h \
+		sources/rb-source-group.c \
+		sources/rb-source-search.h \
+		sources/rb-source-search.c \
+		sources/rb-sourcelist.h \
+		sources/rb-sourcelist.c \
+		sources/rb-sourcelist-model.h \
+		sources/rb-sourcelist-model.c \
+		sources/rb-browser-source.h \
+		sources/rb-browser-source.c \
+		sources/rb-removable-media-source.h \
+		sources/rb-removable-media-source.c \
+		sources/rb-media-player-source.h \
+		sources/rb-media-player-source.c \
+		sources/rb-playlist-source.h \
+		sources/rb-playlist-source.c \
+		sources/rb-playlist-xml.h \
+		sources/rb-playlist-xml.c \
+		sources/rb-auto-playlist-source.h \
+		sources/rb-auto-playlist-source.c \
+		sources/rb-static-playlist-source.h \
+		sources/rb-static-playlist-source.c \
+		sources/rb-source-search-basic.h \
+		sources/rb-source-search-basic.c \
+		widgets/rb-entry-view.h \
+		widgets/rb-entry-view.c \
+		widgets/rb-property-view.h \
+		widgets/rb-property-view.c \
+		widgets/rb-dialog.h \
+		widgets/rb-dialog.c \
+		widgets/rb-cell-renderer-pixbuf.h \
+		widgets/rb-cell-renderer-pixbuf.c \
+		widgets/rb-cell-renderer-rating.h \
+		widgets/rb-cell-renderer-rating.c \
+		widgets/rb-rating.h \
+		widgets/rb-rating.c \
+		widgets/rb-library-browser.h \
+		widgets/rb-library-browser.c \
+		widgets/rb-segmented-bar.h \
+		widgets/rb-segmented-bar.c \
+		widgets/rb-song-info.h \
+		widgets/rb-song-info.c \
+		widgets/rb-uri-dialog.h \
+		widgets/rb-uri-dialog.c
+
+Rhythmbox-0.12.gir: librhythmbox-core.la
+Rhythmbox_0_12_gir_INCLUDES = GObject-2.0 Gio-2.0 Gtk-2.0 Gst-0.10 libxml2-2.0
+Rhythmbox_0_12_gir_CFLAGS = $(INCLUDES)
+Rhythmbox_0_12_gir_LIBS = librhythmbox-core.la
+Rhythmbox_0_12_gir_FILES = $(addprefix $(top_srcdir)/,$(introspection_sources))
+INTROSPECTION_GIRS += Rhythmbox-0.12.gir
+
+girdir = $(datadir)/gir-1.0
+dist_gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+CLEANFILES += $(dist_gir_DATA) $(typelib_DATA)
+endif
+
+
 
 BUILT_SOURCES += $(tab_files)
 



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