meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ic69760fca3e47474f3f4ffc4e3951c46843905bb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 8dc3a6a..02ea2f2 100644
--- a/meson.build
+++ b/meson.build
@@ -1,13 +1,14 @@
project(
- 'phosphor-ledcontroller', 'cpp',
- version : '1.0.0',
+ 'phosphor-ledcontroller',
+ 'cpp',
+ version: '1.0.0',
meson_version: '>=1.1.1',
default_options: [
'warning_level=3',
'werror=true',
'cpp_std=c++23',
- 'buildtype=debugoptimized'
- ]
+ 'buildtype=debugoptimized',
+ ],
)
sdbusplus_dep = dependency('sdbusplus')
@@ -29,19 +30,27 @@
]
udevdir = dependency('udev').get_variable('udevdir')
-install_data(['udev' / 'rules.d' / '70-leds.rules'], install_dir : udevdir / 'rules.d')
+install_data(
+ ['udev' / 'rules.d' / '70-leds.rules'],
+ install_dir: udevdir / 'rules.d',
+)
systemd = dependency('systemd')
-install_data(['systemd' / 'system' / 'phosphor-ledcontroller.service'],
- install_dir: systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
+install_data(
+ ['systemd' / 'system' / 'phosphor-ledcontroller.service'],
+ install_dir: systemd.get_variable(pkgconfig: 'systemdsystemunitdir'),
)
-install_data(['systemd' / 'system' / 'sysfs-led@.service'],
- install_dir: systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
+install_data(
+ ['systemd' / 'system' / 'sysfs-led@.service'],
+ install_dir: systemd.get_variable(pkgconfig: 'systemdsystemunitdir'),
)
dbus = dependency('dbus-1')
-install_data(['dbus-1' / 'system-services' / 'xyz.openbmc_project.LED.Controller.service'],
- install_dir: dbus.get_variable(pkgconfig: 'system_bus_services_dir')
+install_data(
+ [
+ 'dbus-1' / 'system-services' / 'xyz.openbmc_project.LED.Controller.service',
+ ],
+ install_dir: dbus.get_variable(pkgconfig: 'system_bus_services_dir'),
)
sources = [
@@ -57,7 +66,7 @@
implicit_include_directories: true,
dependencies: deps,
install: true,
- install_dir: '/usr/libexec/phosphor-led-sysfs'
+ install_dir: '/usr/libexec/phosphor-led-sysfs',
)
executable(
@@ -67,10 +76,10 @@
implicit_include_directories: true,
dependencies: deps,
install: true,
- install_dir: '/usr/libexec/phosphor-led-sysfs'
+ install_dir: '/usr/libexec/phosphor-led-sysfs',
)
build_tests = get_option('tests')
if build_tests.allowed()
- subdir('test')
+ subdir('test')
endif