summaryrefslogtreecommitdiff
path: root/src/qcam
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-08 23:43:05 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-11 18:20:22 +0200
commitdb27029ce45b8c523aaaceb4ab1027cade228ebd (patch)
tree506e31c641c53ec30b23aeec8f91c49dbffb9f48 /src/qcam
parent9e369da993955d541858ca841680329aaaae08e3 (diff)
meson: Fix coding style when declaring arrays
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam')
-rw-r--r--src/qcam/meson.build8
1 files changed, 4 insertions, 4 deletions
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,