[rygel/wip/g-i: 279/283] server: Add g-i
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/g-i: 279/283] server: Add g-i
- Date: Sat, 8 Feb 2014 05:43:55 +0000 (UTC)
commit d655a88f9a2fd5c4112a05a23f33d62abfb1b818
Author: Jens Georg <jensg openismus com>
Date: Sat May 25 16:10:13 2013 +0900
server: Add g-i
src/librygel-server/Makefile.am | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/Makefile.am b/src/librygel-server/Makefile.am
index 4781ef1..48283b0 100644
--- a/src/librygel-server/Makefile.am
+++ b/src/librygel-server/Makefile.am
@@ -14,6 +14,7 @@ librygel_server_2_2_la_SOURCES = \
librygel_server_2_2_la_VALAFLAGS = \
-H rygel-server.h --library=rygel-server-2.2 \
+ --gir=Rygel-2.0.gir \
$(LIBRYGEL_SERVER_DEPS_VALAFLAGS) \
$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS) \
$(RYGEL_COMMON_VALAFLAGS)
@@ -34,6 +35,26 @@ librygel_server_2_2_la_LDFLAGS = \
vapidir = $(VAPIDIR)
vapi_DATA = rygel-server-2.2.vapi rygel-server-2.2.deps
-rygel-server.h rygel-server-2.2.vapi: librygel_server_2_2_la_vala.stamp
+rygel-server.h rygel-server-2.2.vapi Rygel-2.2.gir: librygel_server_2_2_la_vala.stamp
-EXTRA_DIST = rygel-server.h rygel-server-2.2.vapi rygel-server-2.2.deps
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS=
+INTROSPECTION_SCANNER_ARGS=
+INTROSPECTION_COMPILER_ARGS= -l librygel-server-2.0.so.1 --includedir=$(builddir)/../librygel-core
+$(srcdir)/RygelServer-2.0.gir: $(srcdir)/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.2.vapi rygel-server-2.2.deps RygelServer-2.2.gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]