[gnome-software] trivial: Some style fixes to the meson files



commit 9474df6cb2cb8eb549533fcd87bc22567a61b3bd
Author: Richard Hughes <richard hughsie com>
Date:   Wed Dec 7 09:33:47 2016 +0000

    trivial: Some style fixes to the meson files

 meson.build     |    8 ++++----
 src/meson.build |   15 ++++++++++++---
 2 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/meson.build b/meson.build
index 79af5ba..1ee4935 100644
--- a/meson.build
+++ b/meson.build
@@ -5,13 +5,13 @@ project('gnome-software', 'c',
 )
 
 conf = configuration_data()
-conf.set('VERSION', '"@0@"'.format(meson.project_version()))
-conf.set('PACKAGE_NAME', '"@0@"'.format(meson.project_name()))
-conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version()))
+conf.set_quoted('VERSION', meson.project_version())
+conf.set_quoted('PACKAGE_NAME', meson.project_name())
+conf.set_quoted('PACKAGE_VERSION', meson.project_version())
 
 # this refers to the gnome-software plugin API version
 # this is not in any way related to a package or soname version
-conf.set('GS_PLUGIN_API_VERSION', '"@0@"'.format('11'))
+conf.set_quoted('GS_PLUGIN_API_VERSION', '11')
 
 # install docs
 install_data('README', install_dir : 'share/doc/gnome-software')
diff --git a/src/meson.build b/src/meson.build
index af6d6b3..ae86f59 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -141,7 +141,16 @@ gnome_software_sources = [
   'gs-main.c'
 ]
 
-gnome_software_dependencies = [gtk, gio_unix, libm, appstream_glib, json_glib, libsoup, libsecret, gmodule]
+gnome_software_dependencies = [
+  appstream_glib,
+  gio_unix,
+  gmodule,
+  gtk,
+  json_glib,
+  libm,
+  libsecret,
+  libsoup
+]
 
 if get_option('enable-packagekit')
   gnome_software_sources += [
@@ -303,8 +312,8 @@ install_data('org.gnome.Software-search-provider.ini',
              install_dir : 'share/gnome-shell/search-providers')
 
 if get_option('enable-man')
-    xsltproc = find_program('xsltproc')
-    custom_target('manfile',
+  xsltproc = find_program('xsltproc')
+  custom_target('manfile',
     input: 'gnome-software.xml',
     output: 'gnome-software.1',
     install: true,


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