meson: Fix space around colon issues
The meson style, which libcamera follows, recommends a space before colons in function parameters. Fix the style violations through the project. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
parent
adb1bbb748
commit
ca437b4a0c
12 changed files with 26 additions and 26 deletions
12
meson.build
12
meson.build
|
@ -20,7 +20,7 @@ project('libcamera', 'c', 'cpp',
|
|||
libcamera_git_version = run_command('utils/gen-version.sh',
|
||||
meson.project_build_root(),
|
||||
meson.project_source_root(),
|
||||
check: false).stdout().strip()
|
||||
check : false).stdout().strip()
|
||||
|
||||
# If the source tree isn't under git control, set libcamera_git_version to the
|
||||
# meson project version.
|
||||
|
@ -49,7 +49,7 @@ if libcamera_version != project_version
|
|||
meson.project_build_root(),
|
||||
meson.project_source_root(),
|
||||
project_version,
|
||||
check: false).stdout().strip()
|
||||
check : false).stdout().strip()
|
||||
libcamera_version = project_version
|
||||
|
||||
# Append a marker to show we have modified this version string.
|
||||
|
@ -109,7 +109,7 @@ if cc.get_id() == 'clang'
|
|||
|
||||
# Use libc++ by default if available instead of libstdc++ when compiling
|
||||
# with clang.
|
||||
if cc.find_library('libc++', required: false).found()
|
||||
if cc.find_library('libc++', required : false).found()
|
||||
cpp_arguments += [
|
||||
'-stdlib=libc++',
|
||||
]
|
||||
|
@ -236,7 +236,7 @@ subdir('test')
|
|||
|
||||
if not meson.is_cross_build()
|
||||
kernel_version_req = '>= 5.0.0'
|
||||
kernel_version = run_command('uname', '-r', check: true).stdout().strip()
|
||||
kernel_version = run_command('uname', '-r', check : true).stdout().strip()
|
||||
if not kernel_version.version_compare(kernel_version_req)
|
||||
warning('The current running kernel version @0@ is too old to run libcamera.'
|
||||
.format(kernel_version))
|
||||
|
@ -249,13 +249,13 @@ endif
|
|||
# running libcamera from the build directory to locate resources in the source
|
||||
# directory (such as IPA configuration files).
|
||||
run_command('ln', '-fsT', meson.project_source_root(), meson.project_build_root() / 'source',
|
||||
check: true)
|
||||
check : true)
|
||||
|
||||
configure_file(output : 'config.h', configuration : config_h)
|
||||
|
||||
# Check for python installation and modules.
|
||||
py_mod = import('python')
|
||||
py_mod.find_installation('python3', modules: py_modules)
|
||||
py_mod.find_installation('python3', modules : py_modules)
|
||||
|
||||
## Summarise Configurations
|
||||
summary({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue