[rygel/wip/g-i: 517/521] server: Add g-i
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/g-i: 517/521] server: Add g-i
- Date: Mon, 27 May 2013 10:08:02 +0000 (UTC)
commit b9eee99356b09616346ba5a8a170b887313b683f
Author: Jens Georg <jensg openismus com>
Date: Sat May 25 16:10:13 2013 +0900
server: Add g-i
src/librygel-server/Makefile.am | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/Makefile.am b/src/librygel-server/Makefile.am
index d083c95..380aef7 100644
--- a/src/librygel-server/Makefile.am
+++ b/src/librygel-server/Makefile.am
@@ -14,6 +14,7 @@ librygel_server_2_0_la_SOURCES = \
librygel_server_2_0_la_VALAFLAGS = \
-H rygel-server.h --library=rygel-server-2.0 \
+ --gir=Rygel-2.0.gir \
$(LIBRYGEL_SERVER_DEPS_VALAFLAGS) \
$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS) \
$(RYGEL_COMMON_VALAFLAGS)
@@ -36,4 +37,25 @@ vapi_DATA = rygel-server-2.0.vapi rygel-server-2.0.deps
rygel-server.h rygel-server-2.0.vapi: librygel_server_2_0_la_vala.stamp
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS=
+INTROSPECTION_SCANNER_ARGS=
+INTROSPECTION_COMPILER_ARGS= -l librygel-server-2.0.so.1 --includedir=$(builddir)/../librygel-core
+Rygel-2.0.gir: librygel-server-2.0.la
+RygelServer-2.0.gir: Rygel-2.0.gir
+ $(AM_V_GEN)$(SED) -e 's,Rygel\.,RygelServer.,g' \
+ -e 's,namespace name="Rygel",namespace name="RygelServer",g' \
+ -e 's,RygelServer\.Plugin,RygelCore.Plugin,g' \
+ -e 's,RygelServer\.MediaDevice,RygelCore.MediaDevice,g' \
+ -e 's,<package name="rygel-server-2.0"/>,<include name="RygelCore" version="2.0"/>\n<package
name="rygel-server-2.0"/>,' \
+ $< >$@
+GIRS = RygelServer-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-server.h rygel-server-2.0.vapi rygel-server-2.0.deps
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]