diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-05-03 00:45:29 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-05-03 00:45:29 -0300 |
commit | af0186aaf99cb6add6b5a3c85828e8a4d6e49fd5 (patch) | |
tree | 598d9e4eb973fc5fc04e765adb2da7d748c83803 /shell | |
parent | 36af5e51d13b035eb3eb6b7d196d8924996ce344 (diff) | |
download | gnome-control-center-af0186aaf99cb6add6b5a3c85828e8a4d6e49fd5.tar.gz |
project: Update meson files
I probably have OCD. Seeing these files
with this poor alignment gives me physical
pain.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/meson.build | 90 |
1 files changed, 46 insertions, 44 deletions
diff --git a/shell/meson.build b/shell/meson.build index 241b140ca..73b18f84e 100644 --- a/shell/meson.build +++ b/shell/meson.build @@ -7,39 +7,39 @@ service_conf.set('bindir', control_center_bindir) service = 'org.gnome.ControlCenter.service' configure_file( - input: service + '.in', - output: service, - install: true, - install_dir: join_paths(control_center_datadir, 'dbus-1', 'services'), - configuration: service_conf + input : service + '.in', + output : service, + install : true, + install_dir : join_paths(control_center_datadir, 'dbus-1', 'services'), + configuration : service_conf ) desktop = 'gnome-control-center.desktop' desktop_in = configure_file( - input: desktop + '.in.in', - output: desktop + '.in', - configuration: desktop_conf + input : desktop + '.in.in', + output : desktop + '.in', + configuration : desktop_conf ) i18n.merge_file( - desktop, - type: 'desktop', - input: desktop_in, - output: desktop, - po_dir: po_dir, - install: true, - install_dir: control_center_desktopdir + desktop, + type : 'desktop', + input : desktop_in, + output : desktop, + po_dir : po_dir, + install : true, + install_dir : control_center_desktopdir ) cflags = ['-DGNOMELOCALEDIR="@0@"'.format(control_center_localedir)] libshell = static_library( - 'shell', - sources: 'cc-shell-model.c', - include_directories: [top_inc, common_inc], - dependencies: common_deps, - c_args: cflags + 'shell', + sources : 'cc-shell-model.c', + include_directories : [top_inc, common_inc], + dependencies : common_deps, + c_args : cflags ) sources = files( @@ -93,30 +93,30 @@ debug_conf.set('BUGREPORT_URL', 'http://bugzilla.gnome.org/enter_bug.cgi?product debug_conf.set10('ENABLE_TRACING', enable_tracing) sources += configure_file( - input: 'cc-debug.h.in', - output: 'cc-debug.h', - configuration: debug_conf + input : 'cc-debug.h.in', + output : 'cc-debug.h', + configuration : debug_conf ) executable( meson.project_name(), - sources, - include_directories: top_inc, - dependencies: shell_deps, - c_args: cflags, - link_with: panels_libs + [libshell], - install: true + sources, + include_directories : top_inc, + dependencies : shell_deps, + c_args : cflags, + link_with : panels_libs + [libshell], + install : true ) # Because it is confusing and somewhat problematic to directly add and compile # cc-panel-loader.o by another directory (i.e. the shell search provider), we # have to create a library and link it there, just like libshell.la. libpanel_loader = static_library( - 'panel_loader', - sources: 'cc-panel-loader.c', - include_directories: top_inc, - dependencies: common_deps, - c_args: cflags + ['-DCC_PANEL_LOADER_NO_GTYPES'] + 'panel_loader', + sources : 'cc-panel-loader.c', + include_directories : top_inc, + dependencies : common_deps, + c_args : cflags + ['-DCC_PANEL_LOADER_NO_GTYPES'] ) # libshell_test @@ -127,19 +127,21 @@ sources = files( 'cc-object-storage.c', ) libtestshell = static_library( - 'testshell', - sources, - include_directories: top_inc, - dependencies: common_deps + [ libwidgets_dep ], - c_args: cflags, - link_with: panels_libs + 'testshell', + sources, + include_directories : top_inc, + dependencies : common_deps + [ libwidgets_dep ], + c_args : cflags, + link_with : panels_libs ) libtestshell_dep = declare_dependency( - include_directories: top_inc, - link_with: libtestshell + include_directories : top_inc, + link_with : libtestshell ) libtestshell_deps = common_deps + [ libwidgets_dep, libtestshell_dep ] -install_data ('org.gnome.ControlCenter.gschema.xml', - install_dir: control_center_schemadir) +install_data ( + 'org.gnome.ControlCenter.gschema.xml', + install_dir : control_center_schemadir +) |