[rygel/wip/meson: 18/34] meson: Use shared_module for plugins



commit 886541583b527044a3ecd1ea12adeec40a673de5
Author: Jens Georg <mail jensge org>
Date:   Sun May 21 19:57:59 2017 +0200

    meson: Use shared_module for plugins

 src/media-engines/gstreamer/meson.build | 10 +++++-----
 src/media-engines/simple/meson.build    | 10 +++++-----
 src/plugins/external/meson.build        | 10 +++++-----
 src/plugins/gst-launch/meson.build      | 10 +++++-----
 src/plugins/lms/meson.build             | 10 +++++-----
 src/plugins/media-export/meson.build    | 12 ++++++------
 src/plugins/mpris/meson.build           | 10 +++++-----
 src/plugins/playbin/meson.build         | 10 +++++-----
 src/plugins/ruih/meson.build            | 12 ++++++------
 9 files changed, 47 insertions(+), 47 deletions(-)
---
diff --git a/src/media-engines/gstreamer/meson.build b/src/media-engines/gstreamer/meson.build
index d8830205..a15addad 100644
--- a/src/media-engines/gstreamer/meson.build
+++ b/src/media-engines/gstreamer/meson.build
@@ -15,8 +15,8 @@ media_engine_gst_sources = [
     ]
 
 
-library('rygel-media-engine-gst',
-        media_engine_gst_sources,
-        dependencies: media_engine_gst_dep + [build_config, rygel_core, rygel_server],
-        install: true,
-        install_dir : rygel_enginedir)
+shared_module('rygel-media-engine-gst',
+              media_engine_gst_sources,
+              dependencies: media_engine_gst_dep + [build_config, rygel_core, rygel_server],
+              install: true,
+              install_dir : rygel_enginedir)
diff --git a/src/media-engines/simple/meson.build b/src/media-engines/simple/meson.build
index 1f5bf0e1..f1b83649 100644
--- a/src/media-engines/simple/meson.build
+++ b/src/media-engines/simple/meson.build
@@ -1,8 +1,8 @@
 media_engine_simple_sources = ['rygel-simple-media-engine.vala',
                                'rygel-simple-data-source.vala']
 
-library('rygel-media-engine-simple',
-        media_engine_simple_sources,
-        dependencies: [build_config, rygel_core, rygel_server, posix],
-        install: true,
-        install_dir : rygel_enginedir)
+shared_module('rygel-media-engine-simple',
+              media_engine_simple_sources,
+              dependencies: [build_config, rygel_core, rygel_server, posix],
+              install: true,
+              install_dir : rygel_enginedir)
diff --git a/src/plugins/external/meson.build b/src/plugins/external/meson.build
index 7d20c638..236029c7 100644
--- a/src/plugins/external/meson.build
+++ b/src/plugins/external/meson.build
@@ -11,8 +11,8 @@ rygel_external_sources = [
     'rygel-external-variant-util.vala',
     'rygel-free-desktop-interfaces.vala']
 
-library('rygel-external',
-        rygel_external_sources,
-        dependencies : external_plugin_deps + [build_config, rygel_core, rygel_server],
-        install: true,
-        install_dir: rygel_plugindir)
+shared_module('rygel-external',
+              rygel_external_sources,
+              dependencies : external_plugin_deps + [build_config, rygel_core, rygel_server],
+              install: true,
+              install_dir: rygel_plugindir)
diff --git a/src/plugins/gst-launch/meson.build b/src/plugins/gst-launch/meson.build
index 8a3a5024..707343c5 100644
--- a/src/plugins/gst-launch/meson.build
+++ b/src/plugins/gst-launch/meson.build
@@ -4,8 +4,8 @@ gst_launch_sources = [
     'rygel-gst-launch-audio-item.vala',
     'rygel-gst-launch-video-item.vala']
 
-library('rygel-gst-launch',
-        gst_launch_sources,
-        dependencies: gst_launch_plugin_deps + [build_config, rygel_core, rygel_server],
-        install : true,
-        install_dir : rygel_plugindir)
+shared_module('rygel-gst-launch',
+              gst_launch_sources,
+              dependencies: gst_launch_plugin_deps + [build_config, rygel_core, rygel_server],
+              install : true,
+              install_dir : rygel_plugindir)
diff --git a/src/plugins/lms/meson.build b/src/plugins/lms/meson.build
index 545cc7d4..89b8ff48 100644
--- a/src/plugins/lms/meson.build
+++ b/src/plugins/lms/meson.build
@@ -17,8 +17,8 @@ lms_sources = [
     'rygel-lms-image-year.vala',
     'rygel-lms-dbus-interfaces.vala']
 
-lms_plugin = library('rygel-lms',
-                     lms_sources,
-                     dependencies : lms_deps + [build_config, rygel_core, rygel_server, rygel_db],
-                     install : true,
-                     install_dir : rygel_plugindir)
+shared_module('rygel-lms',
+              lms_sources,
+              dependencies : lms_deps + [build_config, rygel_core, rygel_server, rygel_db],
+              install : true,
+              install_dir : rygel_plugindir)
diff --git a/src/plugins/media-export/meson.build b/src/plugins/media-export/meson.build
index 007297a3..878b7004 100644
--- a/src/plugins/media-export/meson.build
+++ b/src/plugins/media-export/meson.build
@@ -50,9 +50,9 @@ mx_sources = [
     'rygel-media-export-dvd-container.vala',
     'rygel-media-export-dvd-track.vala']
 
-mx_plugin = library('rygel-media-export',
-                    mx_sources,
-                    dependencies : mx_plugin_deps + [rygel_core, rygel_server, rygel_db],
-                    link_with : constants,
-                    install: true,
-                    install_dir : rygel_plugindir)
+shared_module('rygel-media-export',
+              mx_sources,
+              dependencies : mx_plugin_deps + [rygel_core, rygel_server, rygel_db],
+              link_with : constants,
+              install: true,
+              install_dir : rygel_plugindir)
diff --git a/src/plugins/mpris/meson.build b/src/plugins/mpris/meson.build
index 69d7e3f5..3ec7c6a0 100644
--- a/src/plugins/mpris/meson.build
+++ b/src/plugins/mpris/meson.build
@@ -5,8 +5,8 @@ rygel_mpris_sources = [
     'rygel-mpris-interfaces.vala',
     'rygel-free-desktop-interfaces.vala']
 
-library('rygel-mpris',
-        rygel_mpris_sources,
-        dependencies : [build_config, rygel_core, rygel_renderer],
-        install: true,
-        install_dir: rygel_plugindir)
+shared_module('rygel-mpris',
+              rygel_mpris_sources,
+              dependencies : [build_config, rygel_core, rygel_renderer],
+              install: true,
+              install_dir: rygel_plugindir)
diff --git a/src/plugins/playbin/meson.build b/src/plugins/playbin/meson.build
index c769a6fb..117f493d 100644
--- a/src/plugins/playbin/meson.build
+++ b/src/plugins/playbin/meson.build
@@ -1,6 +1,6 @@
 
-library('rygel-playbin',
-        ['rygel-playbin-module.vala', 'rygel-playbin-plugin.vala'],
-        dependencies: [build_config, rygel_core, rygel_renderer, rygel_renderer_gst],
-        install : true,
-        install_dir : rygel_plugindir)
+shared_module('rygel-playbin',
+              ['rygel-playbin-module.vala', 'rygel-playbin-plugin.vala'],
+              dependencies: [build_config, rygel_core, rygel_renderer, rygel_renderer_gst],
+              install : true,
+              install_dir : rygel_plugindir)
diff --git a/src/plugins/ruih/meson.build b/src/plugins/ruih/meson.build
index c5450834..8b0f7ca6 100644
--- a/src/plugins/ruih/meson.build
+++ b/src/plugins/ruih/meson.build
@@ -1,7 +1,7 @@
-library('rygel-ruih',
-        ['rygel-ruih-module.vala', 'rygel-ruih-plugin.vala'],
-        dependencies: [build_config, rygel_core, rygel_ruih],
+shared_module('rygel-ruih',
+              ['rygel-ruih-module.vala', 'rygel-ruih-plugin.vala'],
+              dependencies: [build_config, rygel_core, rygel_ruih],
               # Needed to avoid conflict with librarie's header
-        vala_header : 'rygel-ruih-plugin.h',
-        install : true,
-        install_dir : rygel_plugindir)
+              vala_header : 'rygel-ruih-plugin.h',
+              install : true,
+              install_dir : rygel_plugindir)


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