[rygel/wip/meson: 57/85] meson: Add rygel binary



commit d2aa24bdde74389e4b541af9dd17a72d904734c4
Author: Jens Georg <mail jensge org>
Date:   Sun May 21 09:32:35 2017 +0200

    meson: Add rygel binary

 meson.build           | 2 ++
 src/meson.build       | 1 +
 src/rygel/meson.build | 9 +++++++++
 3 files changed, 12 insertions(+)
---
diff --git a/meson.build b/meson.build
index cc11e7ff..7ea8432c 100644
--- a/meson.build
+++ b/meson.build
@@ -22,6 +22,7 @@ conf.set('PLUGIN_DIR', '"@0@"'.format(rygel_plugindir))
 conf.set('BIG_ICON_DIR', '"@0@"'.format(rygel_bigicondir))
 conf.set('SMALL_ICON_DIR', '"@0@"'.format(rygel_smallicondir))
 conf.set('SYS_CONFIG_DIR', '"@0@"'.format(rygel_sysconfdir))
+conf.set('LOCALEDIR', '"@0@"'.format(join_paths(get_option('prefix'), get_option('localedir'))))
 config_include = include_directories('.')
 
 add_global_arguments(['-include','config.h'], language : 'c')
@@ -69,6 +70,7 @@ 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
+rygel_deps = common_deps
 
 configure_file(output: 'config.h', configuration: conf)
 
diff --git a/src/meson.build b/src/meson.build
index e3882cd6..88d7b50c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -5,3 +5,4 @@ subdir('librygel-renderer-gst')
 subdir('librygel-ruih')
 subdir('librygel-server')
 subdir('media-engines')
+subdir('rygel')
diff --git a/src/rygel/meson.build b/src/rygel/meson.build
new file mode 100644
index 00000000..f16a26dc
--- /dev/null
+++ b/src/rygel/meson.build
@@ -0,0 +1,9 @@
+rygel_sources = [
+        'rygel-acl.vala',
+        'rygel-dbus-service.vala',
+        'rygel-main.vala'
+        ]
+executable('rygel',
+           rygel_sources,
+           dependencies : rygel_deps + [build_config, rygel_core, rygel_server]
+           )


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