spa: fix the indentation in the various meson.build files

Was all over the place using tabs and spaces, let's make this more
consistent.
This commit is contained in:
Peter Hutterer 2021-09-20 08:59:10 +10:00 committed by Wim Taymans
parent 335ad734de
commit ebda71d489
12 changed files with 142 additions and 129 deletions

View file

@ -20,7 +20,8 @@ if not get_option('bluez5-backend-hsphfpd').disabled()
cdata.set('HAVE_BLUEZ_5_BACKEND_HSPHFPD', 1)
endif
bluez5_sources = ['plugin.c',
bluez5_sources = [
'plugin.c',
'codec-loader.c',
'a2dp-codecs.c',
'a2dp-sink.c',
@ -30,7 +31,8 @@ bluez5_sources = ['plugin.c',
'sco-io.c',
'quirks.c',
'bluez5-device.c',
'bluez5-dbus.c']
'bluez5-dbus.c'
]
bluez5_data = ['bluez-hardware.conf']

View file

@ -1,5 +1,7 @@
control_sources = ['mixer.c',
'plugin.c']
control_sources = [
'mixer.c',
'plugin.c'
]
controllib = shared_library('spa-control',
control_sources,

View file

@ -1,4 +1,5 @@
spa_jack_sources = ['plugin.c',
spa_jack_sources = [
'plugin.c',
'jack-client.c',
'jack-device.c',
'jack-sink.c',

View file

@ -1,14 +1,16 @@
libcamera_sources = ['libcamera.c',
libcamera_sources = [
'libcamera.c',
'libcamera-device.c',
'libcamera-client.c',
'libcamera-source.c',
'libcamera_wrapper.cpp']
'libcamera_wrapper.cpp'
]
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
required : get_option('libcamera'))
summary({'libdrm': libdrm_dep.found()}, bool_yn: true, section: 'Backend')
if libdrm_dep.found()
libcameralib = shared_library('spa-libcamera',
libcameralib = shared_library('spa-libcamera',
libcamera_sources,
include_directories : [ spa_inc ],
dependencies : [ libudev_dep, libcamera_dep, pthread_lib, libdrm_dep ],

View file

@ -1,10 +1,12 @@
spa_support_sources = ['cpu.c',
spa_support_sources = [
'cpu.c',
'logger.c',
'loop.c',
'node-driver.c',
'null-audio-sink.c',
'plugin.c',
'system.c']
'system.c'
]
spa_support_lib = shared_library('spa-support',
spa_support_sources,
@ -17,10 +19,10 @@ spa_support_lib = shared_library('spa-support',
if not get_option('evl').disabled()
evl_inc = include_directories('/usr/evl/include')
evl_lib = cc.find_library('evl',
dirs: ['/usr/evl/lib/'], required: get_option('evl'))
dirs: ['/usr/evl/lib/'],
required: get_option('evl'))
spa_evl_sources = ['evl-system.c',
'evl-plugin.c']
spa_evl_sources = ['evl-system.c', 'evl-plugin.c']
spa_evl_lib = shared_library('spa-evl',
spa_evl_sources,

View file

@ -1,5 +1,7 @@
videoconvert_sources = ['videoadapter.c',
'plugin.c']
videoconvert_sources = [
'videoadapter.c',
'plugin.c'
]
simd_cargs = []
simd_dependencies = []

View file

@ -1,6 +1,8 @@
spa_vulkan_sources = ['plugin.c',
spa_vulkan_sources = [
'plugin.c',
'vulkan-compute-source.c',
'vulkan-utils.c']
'vulkan-utils.c'
]
spa_vulkan = shared_library('spa-vulkan',
spa_vulkan_sources,