[rygel/wip/meson: 18/44] meson: Add tracker plugin



commit 28cbcb7f27fc39b3ead016b94e46bc7ee1ff2151
Author: Jens Georg <mail jensge org>
Date:   Sun May 21 19:58:22 2017 +0200

    meson: Add tracker plugin

 meson.build                     |  3 +++
 src/plugins/meson.build         |  1 +
 src/plugins/tracker/meson.build | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+)
---
diff --git a/meson.build b/meson.build
index 8951f98a..3e14d579 100644
--- a/meson.build
+++ b/meson.build
@@ -55,6 +55,8 @@ gstreamer_tag = dependency('gstreamer-tag-1.0', version : '>= 1.0')
 
 gdk_pixbuf = dependency('gdk-pixbuf-2.0')
 
+tracker_sparql = dependency('tracker-sparql-1.0')
+
 posix = vala.find_library('posix')
 
 sed = find_program('sed')
@@ -90,6 +92,7 @@ mx_export_deps = common_deps + [gio, gio_unix, gstreamer, gstreamer_pbu,
                                 posix, gupnp_dlna_gst, gstreamer_tag, libxml,
                                 soup]
 mx_plugin_deps = common_deps + [gstreamer, gstreamer_pbu, gio_unix, gupnp_dlna]
+tracker_plugin_deps = common_deps + [tracker_sparql]
 
 configure_file(output: 'config.h', configuration: conf)
 
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 1f321e5e..9c45aa9e 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -5,3 +5,4 @@ subdir('media-export')
 subdir('mpris')
 subdir('playbin')
 subdir('ruih')
+subdir('tracker')
diff --git a/src/plugins/tracker/meson.build b/src/plugins/tracker/meson.build
new file mode 100644
index 00000000..2bf37228
--- /dev/null
+++ b/src/plugins/tracker/meson.build
@@ -0,0 +1,39 @@
+rygel_tracker_sources = [
+    'rygel-tracker-root-container.vala',
+    'rygel-tracker-category-container.vala',
+    'rygel-tracker-music.vala',
+    'rygel-tracker-videos.vala',
+    'rygel-tracker-pictures.vala',
+    'rygel-tracker-metadata-values.vala',
+    'rygel-tracker-metadata-container.vala',
+    'rygel-tracker-metadata-multivalues.vala',
+    'rygel-tracker-tags.vala',
+    'rygel-tracker-years.vala',
+    'rygel-tracker-titles.vala',
+    'rygel-tracker-albums.vala',
+    'rygel-tracker-artists.vala',
+    'rygel-tracker-genre.vala',
+    'rygel-tracker-new.vala',
+    'rygel-tracker-search-container.vala',
+    'rygel-tracker-category-all-container.vala',
+    'rygel-tracker-upnp-property-map.vala',
+    'rygel-tracker-query.vala',
+    'rygel-tracker-selection-query.vala',
+    'rygel-tracker-deletion-query.vala',
+    'rygel-tracker-insertion-query.vala',
+    'rygel-tracker-cleanup-query.vala',
+    'rygel-tracker-query-triplet.vala',
+    'rygel-tracker-query-triplets.vala',
+    'rygel-tracker-item-factory.vala',
+    'rygel-tracker-video-item-factory.vala',
+    'rygel-tracker-music-item-factory.vala',
+    'rygel-tracker-picture-item-factory.vala',
+    'rygel-tracker-plugin.vala',
+    'rygel-tracker-plugin-factory.vala',
+    'rygel-tracker-interfaces.vala']
+
+shared_module('rygel-tracker',
+              rygel_tracker_sources,
+              dependencies : tracker_plugin_deps + [build_config, rygel_core, rygel_server],
+              install : true,
+              install_dir : rygel_plugindir)


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