[rygel/wip/g-i: 518/521] renderer: Add g-i
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/g-i: 518/521] renderer: Add g-i
- Date: Mon, 27 May 2013 10:08:07 +0000 (UTC)
commit 3e3947e4b2089fc86ef68c62df4529cbb0fd5c41
Author: Jens Georg <jensg openismus com>
Date: Mon May 27 01:38:15 2013 +0900
renderer: Add g-i
src/librygel-renderer/Makefile.am | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-renderer/Makefile.am b/src/librygel-renderer/Makefile.am
index c1248d6..8974ff9 100644
--- a/src/librygel-renderer/Makefile.am
+++ b/src/librygel-renderer/Makefile.am
@@ -14,6 +14,7 @@ librygel_renderer_2_0_la_SOURCES = \
librygel_renderer_2_0_la_VALAFLAGS = \
-H rygel-renderer.h --library=rygel-renderer-2.0 \
+ --gir=Rygel-2.0.gir \
$(LIBRYGEL_RENDERER_DEPS_VALAFLAGS) \
$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS) \
$(RYGEL_COMMON_VALAFLAGS)
@@ -30,6 +31,27 @@ librygel_renderer_2_0_la_LDFLAGS = \
vapidir = $(VAPIDIR)
vapi_DATA = rygel-renderer-2.0.vapi rygel-renderer-2.0.deps
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS=
+INTROSPECTION_SCANNER_ARGS=
+INTROSPECTION_COMPILER_ARGS= -l librygel-renderer-2.0.so.1 --includedir=$(builddir)/../librygel-core
+Rygel-2.0.gir: librygel-renderer-2.0.la
+RygelRenderer-2.0.gir: 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)
+
+
rygel-renderer.h rygel-renderer-2.0.vapi: librygel_renderer_2_0_la_vala.stamp
EXTRA_DIST = rygel-renderer.h rygel-renderer-2.0.vapi rygel-renderer-2.0.deps
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]