[rygel/wip/meson: 34/34] meson: Use set_quoted



commit a27a0649b6960b818d0ffba81c3efeddf8902d51
Author: Jens Georg <mail jensge org>
Date:   Wed Sep 19 21:54:04 2018 +0200

    meson: Use set_quoted

 meson.build | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/meson.build b/meson.build
index 00bbdc0f..4b7a4b91 100644
--- a/meson.build
+++ b/meson.build
@@ -23,21 +23,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('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]