From ca437b4a0cde5ec72a5eea709eb044264deb4f55 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Thu, 6 Jul 2023 10:23:36 +0300
Subject: 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>
---
 src/apps/qcam/meson.build    | 4 ++--
 src/gstreamer/meson.build    | 2 +-
 src/libcamera/meson.build    | 4 ++--
 src/py/libcamera/meson.build | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

(limited to 'src')

diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build
index eb0712d9..2e77146c 100644
--- a/src/apps/qcam/meson.build
+++ b/src/apps/qcam/meson.build
@@ -57,9 +57,9 @@ if ((cc.get_id() == 'gcc' and cc.version().version_compare('>=9.0') and
     qt5_cpp_args += ['-Wno-deprecated-copy']
 endif
 
-resources = qt5.preprocess(moc_headers: qcam_moc_headers,
+resources = qt5.preprocess(moc_headers : qcam_moc_headers,
                            qresources : qcam_resources,
-                           dependencies: qt5_dep)
+                           dependencies : qt5_dep)
 
 qcam  = executable('qcam', qcam_sources, resources,
                    install : true,
diff --git a/src/gstreamer/meson.build b/src/gstreamer/meson.build
index 77c79140..20784b71 100644
--- a/src/gstreamer/meson.build
+++ b/src/gstreamer/meson.build
@@ -43,6 +43,6 @@ libcamera_gst = shared_library('gstlibcamera',
     libcamera_gst_sources,
     cpp_args : libcamera_gst_cpp_args,
     dependencies : [libcamera_public, gstvideo_dep, gstallocator_dep],
-    install: true,
+    install : true,
     install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
 )
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 3cd42477..38fbb41e 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -93,9 +93,9 @@ endif
 if not libcrypto.found()
     warning('Neither gnutls nor libcrypto found, all IPA modules will be isolated')
     summary({'IPA modules signed with': 'None (modules will run isolated)'},
-            section: 'Configuration')
+            section : 'Configuration')
 else
-    summary({'IPA modules signed with': libcrypto.name()}, section: 'Configuration')
+    summary({'IPA modules signed with' : libcrypto.name()}, section : 'Configuration')
 endif
 
 if liblttng.found()
diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build
index b38a57d7..f58c7198 100644
--- a/src/py/libcamera/meson.build
+++ b/src/py/libcamera/meson.build
@@ -93,11 +93,11 @@ pycamera = shared_module('_libcamera',
 
 run_command('ln', '-fsrT', files('__init__.py'),
             meson.current_build_dir() / '__init__.py',
-            check: true)
+            check : true)
 
 run_command('ln', '-fsrT', meson.current_source_dir() / 'utils',
             meson.current_build_dir() / 'utils',
-            check: true)
+            check : true)
 
 install_data(['__init__.py'], install_dir : destdir)
 
-- 
cgit v1.2.1