From db27029ce45b8c523aaaceb4ab1027cade228ebd Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 8 Feb 2021 23:43:05 +0200 Subject: meson: Fix coding style when declaring arrays MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The meson.build files mix array declarations with and without a space after the opening and before the closing square bracket. The vast majority of cases don't use spaces, so standardize on that. While it it, fix indentation in a few places. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- src/qcam/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/qcam') diff --git a/src/qcam/meson.build b/src/qcam/meson.build index ebcd5ca0..8f3d50dd 100644 --- a/src/qcam/meson.build +++ b/src/qcam/meson.build @@ -32,12 +32,12 @@ if qt5_dep.found() qt5_dep, ] - qt5_cpp_args = [ '-DQT_NO_KEYWORDS' ] + qt5_cpp_args = ['-DQT_NO_KEYWORDS'] tiff_dep = dependency('libtiff-4', required : false) if tiff_dep.found() - qt5_cpp_args += [ '-DHAVE_TIFF' ] - qcam_deps += [ tiff_dep ] + qt5_cpp_args += ['-DHAVE_TIFF'] + qcam_deps += [tiff_dep] qcam_sources += files([ 'dng_writer.cpp', ]) @@ -62,7 +62,7 @@ if qt5_dep.found() if ((cc.get_id() == 'gcc' and cc.version().version_compare('>=9.0') and qt5_dep.version().version_compare('<5.13')) or (cc.get_id() == 'clang' and cc.version().version_compare('>=10.0'))) - qt5_cpp_args += [ '-Wno-deprecated-copy' ] + qt5_cpp_args += ['-Wno-deprecated-copy'] endif resources = qt5.preprocess(moc_headers: qcam_moc_headers, -- cgit v1.2.1