[rygel/wip/meson: 17/52] meson: Add external plugin



commit 46d105f655b4c80f8892cc506f2d40a91214e9c1
Author: Jens Georg <mail jensge org>
Date:   Sun May 21 09:41:34 2017 +0200

    meson: Add external plugin

 meson.build                      |  2 ++
 src/meson.build                  |  2 ++
 src/plugins/external/meson.build | 18 ++++++++++++++++++
 src/plugins/meson.build          |  1 +
 4 files changed, 23 insertions(+)
---
diff --git a/meson.build b/meson.build
index 7ea8432c..9f10add8 100644
--- a/meson.build
+++ b/meson.build
@@ -72,6 +72,8 @@ media_engine_gst_dep = [gee, gupnp_av, libxml, gio, gstreamer, gstreamer_pbu,
 ruih_deps = common_deps
 rygel_deps = common_deps
 
+external_plugin_deps = [gio]
+
 configure_file(output: 'config.h', configuration: conf)
 
 subdir('src')
diff --git a/src/meson.build b/src/meson.build
index 88d7b50c..740860ee 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -6,3 +6,5 @@ subdir('librygel-ruih')
 subdir('librygel-server')
 subdir('media-engines')
 subdir('rygel')
+
+subdir('plugins')
diff --git a/src/plugins/external/meson.build b/src/plugins/external/meson.build
new file mode 100644
index 00000000..7d20c638
--- /dev/null
+++ b/src/plugins/external/meson.build
@@ -0,0 +1,18 @@
+rygel_external_sources = [
+    'rygel-external-container.vala',
+    'rygel-external-dummy-container.vala',
+    'rygel-external-item-factory.vala',
+    'rygel-external-album-art-factory.vala',
+    'rygel-external-thumbnail-factory.vala',
+    'rygel-external-plugin.vala',
+    'rygel-external-interfaces.vala',
+    'rygel-external-plugin-factory.vala',
+    'rygel-external-icon-factory.vala',
+    '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)
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
new file mode 100644
index 00000000..934a0994
--- /dev/null
+++ b/src/plugins/meson.build
@@ -0,0 +1 @@
+subdir('external')


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