[rygel/wip/meson] meson: Use set_quoted



commit 5c2a6d5d2bcbbd312ea6c8b824a8484f159129e9
Author: Jens Georg <mail jensge org>
Date:   Thu Oct 11 23:09:09 2018 +0200

    meson: Use set_quoted

 meson.build | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)
---
diff --git a/meson.build b/meson.build
index 153fd25c..342df3d7 100644
--- a/meson.build
+++ b/meson.build
@@ -37,22 +37,21 @@ plugin_config = configuration_data()
 plugin_config.set('VERSION', meson.project_version())
 
 conf = configuration_data()
-conf.set('GETTEXT_PACKAGE', '"rygel"')
-conf.set('PACKAGE_NAME', '"Rygel"')
-conf.set('PACKAGE_STRING', '"Rygel @0@"'.format(meson.project_version()))
-conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version()))
-conf.set('VERSION', '"@0@"'.format(meson.project_version()))
-conf.set('PACKAGE_URL', '"http://www.rygel-project.org";')
-conf.set('ENGINE_DIR', '"@0@"'.format(rygel_enginedir))
-conf.set('PRESET_DIR', '"@0@"'.format(rygel_presetdir))
-conf.set('DATA_DIR', '"@0@"'.format(rygel_datadir))
-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'))))
-conf.set('MX_EXTRACT_PATH', '"@0@"'.format(join_paths(rygel_libexecdir, 'mx-extract')))
-conf.set('DESKTOP_DIR', '"@0@"'.format(join_paths(rygel_datadir, 'applications')))
+conf.set_quoted('GETTEXT_PACKAGE', 'rygel')
+conf.set_quoted('PACKAGE_NAME', 'Rygel')
+conf.set_quoted('PACKAGE_STRING', 'Rygel @0@'.format(meson.project_version()))
+conf.set_quoted('PACKAGE_VERSION', meson.project_version())
+conf.set_quoted('PACKAGE_URL', 'http://www.rygel-project.org')
+conf.set_quoted('ENGINE_DIR', rygel_enginedir)
+conf.set_quoted('PRESET_DIR', rygel_presetdir)
+conf.set_quoted('DATA_DIR', rygel_datadir)
+conf.set_quoted('PLUGIN_DIR', rygel_plugindir)
+conf.set_quoted('BIG_ICON_DIR', rygel_bigicondir)
+conf.set_quoted('SMALL_ICON_DIR', rygel_smallicondir)
+conf.set_quoted('SYS_CONFIG_DIR', rygel_sysconfdir)
+conf.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
+conf.set_quoted('MX_EXTRACT_PATH', join_paths(rygel_libexecdir, 'mx-extract'))
+conf.set_quoted('DESKTOP_DIR', join_paths(rygel_datadir, 'applications'))
 config_include = include_directories('.')
 
 add_global_arguments(['-include','config.h'], language : 'c')


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