[rygel/wip/meson: 7/34] meson: Add librygel-ruih



commit 43491ded285c901622a3978787c525cc93880f43
Author: Jens Georg <mail jensge org>
Date:   Sun May 21 06:39:17 2017 +0200

    meson: Add librygel-ruih

 meson.build                   |  1 +
 src/librygel-ruih/meson.build | 25 +++++++++++++++++++++++++
 src/meson.build               |  1 +
 3 files changed, 27 insertions(+)
---
diff --git a/meson.build b/meson.build
index 353fe995..f2907ac3 100644
--- a/meson.build
+++ b/meson.build
@@ -66,6 +66,7 @@ server_deps = common_deps + [gssdp, gupnp_av, soup, mediaart, gmodule, libxml]
 db_deps = common_deps + [gupnp_av, gio, sqlite, unistring]
 media_engine_gst_dep = [gee, gupnp_av, libxml, gio, gstreamer, gstreamer_pbu,
                         gstreamer_base, gupnp_dlna]
+ruih_deps = common_deps
 
 configure_file(output: 'config.h', configuration: conf)
 
diff --git a/src/librygel-ruih/meson.build b/src/librygel-ruih/meson.build
new file mode 100644
index 00000000..0198a313
--- /dev/null
+++ b/src/librygel-ruih/meson.build
@@ -0,0 +1,25 @@
+ruih_sources = [
+    'rygel-ruih-filter-entry.vala',
+    'rygel-ruih-icon-elem.vala',
+    'rygel-ruih-protocol-elem.vala',
+    'rygel-ruih-server-plugin.vala',
+    'rygel-ruih-server.vala',
+    'rygel-ruih-service.vala',
+    'rygel-ruih-service-error.vala',
+    'rygel-ruih-servicemanager.vala',
+    'rygel-ruih-ui-elem.vala',
+    'rygel-ruih-ui-listing.vala',
+    'rygel-ruih-wildcard-filter-entry.vala'
+]
+
+ruih_lib = library('rygel-ruih-2.6', ruih_sources,
+        dependencies : ruih_deps + [build_config, rygel_core],
+        version: '1.0.0',
+        vala_header : 'rygel-ruih.h',
+        install: true,
+        install_dir : [true, true, true])
+
+# need to add to get the current build dir as include dir
+rygel_ruih = declare_dependency(include_directories: include_directories('.'),
+                                  dependencies : ruih_deps,
+                                  link_with: ruih_lib)
diff --git a/src/meson.build b/src/meson.build
index 64774fb4..dd1b9361 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,5 +1,6 @@
 subdir('librygel-core')
 subdir('librygel-db')
 subdir('librygel-renderer')
+subdir('librygel-ruih')
 subdir('librygel-server')
 subdir('media-engines')


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