[rygel/wip/meson: 29/34] meson: Add example plugins
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 29/34] meson: Add example plugins
- Date: Wed, 19 Sep 2018 19:59:12 +0000 (UTC)
commit c844098c7dd62fb60634aad4d45ed5675b335bb2
Author: Jens Georg <mail jensge org>
Date: Tue May 23 17:31:47 2017 +0200
meson: Add example plugins
examples/meson.build | 4 ++--
examples/renderer-plugins/C/meson.build | 15 +++++++++++++++
examples/renderer-plugins/meson.build | 2 ++
examples/renderer-plugins/vala/meson.build | 12 ++++++++++++
examples/server-plugins/C/meson.build | 14 ++++++++++++++
examples/server-plugins/meson.build | 2 ++
examples/server-plugins/vala/meson.build | 12 ++++++++++++
7 files changed, 59 insertions(+), 2 deletions(-)
---
diff --git a/examples/meson.build b/examples/meson.build
index c8a4102b..30c69339 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -1,5 +1,5 @@
-#subdir('renderer-plguins')
-#subdir('server-plugins')
+subdir('renderer-plugins')
+subdir('server-plugins')
executable('standalone-server',
'standalone-server.c',
diff --git a/examples/renderer-plugins/C/meson.build b/examples/renderer-plugins/C/meson.build
new file mode 100644
index 00000000..c0a0c49f
--- /dev/null
+++ b/examples/renderer-plugins/C/meson.build
@@ -0,0 +1,15 @@
+shared_module('rygel-example-renderer-plugin-c',
+ ['example-renderer-plugin.h',
+ 'example-renderer-plugin.c',
+ 'example-player.h',
+ 'example-player.c'],
+ c_args : '-DG_LOG_DOMAIN="ExampleRendererPluginC"',
+ dependencies: [rygel_core, rygel_renderer],
+ link_with : [core_lib, renderer_lib],
+ install : true,
+ install_dir : rygel_plugindir)
+
+configure_file(input : 'example-renderer-c.plugin.in',
+ output : 'example-renderer-c.plugin',
+ configuration : plugin_config,
+ install_dir : rygel_plugindir)
diff --git a/examples/renderer-plugins/meson.build b/examples/renderer-plugins/meson.build
new file mode 100644
index 00000000..9684ef9d
--- /dev/null
+++ b/examples/renderer-plugins/meson.build
@@ -0,0 +1,2 @@
+subdir('C')
+subdir('vala')
diff --git a/examples/renderer-plugins/vala/meson.build b/examples/renderer-plugins/vala/meson.build
new file mode 100644
index 00000000..8d3c2a8a
--- /dev/null
+++ b/examples/renderer-plugins/vala/meson.build
@@ -0,0 +1,12 @@
+shared_module('rygel-example-renderer-plugin-vala',
+ ['example-renderer-plugin-vala.vala',
+ 'example-player-vala.vala'],
+ c_args : '-DG_LOG_DOMAIN="ExampleRendererPluginVala"',
+ dependencies : common_deps + [gupnp_av, rygel_core, rygel_renderer],
+ install : true,
+ install_dir : rygel_plugindir)
+
+configure_file(input : 'example-renderer-vala.plugin.in',
+ output : 'example-renderer-vala.plugin',
+ configuration : plugin_config,
+ install_dir : rygel_plugindir)
diff --git a/examples/server-plugins/C/meson.build b/examples/server-plugins/C/meson.build
new file mode 100644
index 00000000..34c3d826
--- /dev/null
+++ b/examples/server-plugins/C/meson.build
@@ -0,0 +1,14 @@
+shared_module('rygel-example-server-plugin-c',
+ ['example-server-plugin.h',
+ 'example-server-plugin.c',
+ 'example-root-container.h',
+ 'example-root-container.c'],
+ c_args : '-DG_LOG_DOMAIN="ExampleServerPluginC"',
+ dependencies: [rygel_core, rygel_server],
+ install : true,
+ install_dir : rygel_plugindir)
+
+configure_file(input : 'example-server-c.plugin.in',
+ output : 'example-server-c.plugin',
+ configuration : plugin_config,
+ install_dir : rygel_plugindir)
diff --git a/examples/server-plugins/meson.build b/examples/server-plugins/meson.build
new file mode 100644
index 00000000..9684ef9d
--- /dev/null
+++ b/examples/server-plugins/meson.build
@@ -0,0 +1,2 @@
+subdir('C')
+subdir('vala')
diff --git a/examples/server-plugins/vala/meson.build b/examples/server-plugins/vala/meson.build
new file mode 100644
index 00000000..607792aa
--- /dev/null
+++ b/examples/server-plugins/vala/meson.build
@@ -0,0 +1,12 @@
+shared_module('rygel-example-server-plugin-vala',
+ ['example-server-plugin-vala.vala',
+ 'example-root-container-vala.vala'],
+ c_args : '-DG_LOG_DOMAIN="ExampleServerPluginVala"',
+ dependencies : common_deps + [gupnp_av, rygel_core, rygel_server],
+ install : true,
+ install_dir : rygel_plugindir)
+
+configure_file(input : 'example-server-vala.plugin.in',
+ output : 'example-server-vala.plugin',
+ configuration : plugin_config,
+ install_dir : rygel_plugindir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]