[rygel] build: Add additional GIR tweak for references to RygelCore.IconInfo



commit f43f963415533dde89aea9a2231a1ebb2192d327
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Apr 29 13:57:21 2019 +0200

    build: Add additional GIR tweak for references to RygelCore.IconInfo

 src/librygel-server/Makefile.am | 1 +
 src/librygel-server/meson.build | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/librygel-server/Makefile.am b/src/librygel-server/Makefile.am
index c24c5691..8b96e0a3 100644
--- a/src/librygel-server/Makefile.am
+++ b/src/librygel-server/Makefile.am
@@ -47,6 +47,7 @@ $(builddir)/RygelServer-2.6.gir: $(srcdir)/Rygel-2.6.gir
                -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,RygelServer\.IconInfo,RygelCore.IconInfo,g' \
                -e 's,<package name="rygel-server-2.6"/>,<include name="RygelCore" version="2.6"/>\n<package 
name="rygel-server-2.6"/>,' \
                $< >$@
 GIRS = RygelServer-2.6.gir
diff --git a/src/librygel-server/meson.build b/src/librygel-server/meson.build
index 35910283..8b5327fb 100644
--- a/src/librygel-server/meson.build
+++ b/src/librygel-server/meson.build
@@ -107,6 +107,7 @@ server_gir = custom_target('RygelServer-2.6.gir',
                                           '-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,RygelServer[.]IconInfo,RygelCore.IconInfo,g',
                                           '-e', 's|<package name="rygel-server-2.6"/>|<include 
name="RygelCore" version="2.6"/><package name="rygel-server-2.6"/>|',
                         join_paths(meson.current_build_dir(), 'Rygel-2.6.gir')],
               output: 'RygelServer-2.6.gir',
@@ -131,4 +132,4 @@ rygel_server = declare_dependency(include_directories: include_directories('.'),
                                   link_with: server_lib)
 
 # necessary to be able to pass it to g-ir-compiler in other libs
-server_girdir = meson.current_build_dir()
\ No newline at end of file
+server_girdir = meson.current_build_dir()


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