project: Update meson files

I probably have OCD. Seeing these files
with this poor alignment gives me physical
pain.
This commit is contained in:
Georges Basile Stavracas Neto 2018-05-03 00:45:29 -03:00
parent 36af5e51d1
commit af0186aaf9
11 changed files with 129 additions and 130 deletions

View file

@ -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
)