[rygel/wip/g-i: 280/283] renderer: Add g-i



commit 8253085456999bf2e24fc3654712c0c748a7e63f
Author: Jens Georg <jensg openismus com>
Date:   Mon May 27 01:38:15 2013 +0900

    renderer: Add g-i

 src/librygel-renderer/Makefile.am |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-renderer/Makefile.am b/src/librygel-renderer/Makefile.am
index 34af5e1..44e7b73 100644
--- a/src/librygel-renderer/Makefile.am
+++ b/src/librygel-renderer/Makefile.am
@@ -14,6 +14,7 @@ librygel_renderer_2_2_la_SOURCES = \
 
 librygel_renderer_2_2_la_VALAFLAGS = \
        -H rygel-renderer.h --library=rygel-renderer-2.2 \
+       --gir=Rygel-2.0.gir \
        $(LIBRYGEL_RENDERER_DEPS_VALAFLAGS) \
        $(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS) \
        $(RYGEL_COMMON_VALAFLAGS)
@@ -30,6 +31,27 @@ librygel_renderer_2_2_la_LDFLAGS = \
 vapidir = $(VAPIDIR)
 vapi_DATA = rygel-renderer-2.2.vapi rygel-renderer-2.2.deps
 
-rygel-renderer.h rygel-renderer-2.2.vapi: librygel_renderer_2_2_la_vala.stamp
+rygel-renderer.h rygel-renderer-2.2.vapi Rygel-2.2.gir: librygel_renderer_2_2_la_vala.stamp
 
-EXTRA_DIST = rygel-renderer.h rygel-renderer-2.2.vapi rygel-renderer-2.2.deps
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS=
+INTROSPECTION_SCANNER_ARGS=
+INTROSPECTION_COMPILER_ARGS= -l librygel-renderer-2.0.so.1 --includedir=$(builddir)/../librygel-core
+$(srcdir)/RygelRenderer-2.0.gir: $(srcdir)/Rygel-2.0.gir
+       $(AM_V_GEN)$(SED) -e 's,Rygel\.,RygelRenderer.,g' \
+               -e 's,namespace name="Rygel",namespace name="RygelRenderer",g' \
+               -e 's,RygelRenderer\.Plugin,RygelCore.Plugin,g' \
+               -e 's,RygelRenderer\.MediaDevice,RygelCore.MediaDevice,g' \
+               -e 's,<package name="rygel-renderer-2.0"/>,<include name="RygelCore" 
version="2.0"/>\n<package name="rygel-renderer-2.0"/>,' \
+               $< >$@
+GIRS = RygelRenderer-2.0.gir
+
+girdir=$(datadir)/gir-1.0
+dist_gir_DATA = $(GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+nodist_typelib_DATA = $(GIRS:.gir=.typelib)
+
+
+
+EXTRA_DIST = rygel-renderer.h rygel-renderer-2.2.vapi rygel-renderer-2.2.deps RygelRenderer-2.2.gir


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