meson: use cdata.set_quoted() in more places
authorTim-Philipp Müller <tim@centricular.com>
Mon, 21 May 2018 10:49:08 +0000 (11:49 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 21 May 2018 10:49:08 +0000 (11:49 +0100)
meson.build

index 544941d..8e4f6f1 100644 (file)
@@ -143,11 +143,11 @@ cdata.set('SIZEOF_OFF_T', cc.sizeof('off_t'))
 # FIXME: check if this is correct
 cdata.set('HAVE_CPU_X86_64', host_machine.cpu() == 'amd64')
 cdata.set('HAVE_GCC_ASM', cc.get_id() != 'msvc')
-cdata.set('VERSION', '"@0@"'.format(gst_version))
-cdata.set('PACKAGE_VERSION', '"@0@"'.format(gst_version))
-cdata.set('GST_LICENSE', '"LGPL"')
-cdata.set('PACKAGE', '"gst-plugins-good"')
-cdata.set('GETTEXT_PACKAGE', '"gst-plugins-good-1.0"')
+cdata.set_quoted('VERSION', gst_version)
+cdata.set_quoted('PACKAGE_VERSION', gst_version)
+cdata.set_quoted('GST_LICENSE', 'LGPL')
+cdata.set_quoted('PACKAGE', 'gst-plugins-good')
+cdata.set_quoted('GETTEXT_PACKAGE', 'gst-plugins-good-1.0')
 cdata.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
 if get_option('nls')
   cdata.set('ENABLE_NLS', 1)