mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: meson: Fix indentation in daemon/client blocks
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
This commit is contained in:
parent
5f43173209
commit
5fcc70e2e8
4 changed files with 172 additions and 173 deletions
|
|
@ -193,26 +193,25 @@ if not get_option('client')
|
|||
libpulse_dep = dependency('libpulse', required : true)
|
||||
libpulse_simple_dep = dependency('libpulse-simple', required : true)
|
||||
else
|
||||
libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
||||
libpulsecommon_sources,
|
||||
libpulsecommon_headers,
|
||||
include_directories : [configinc, topinc],
|
||||
c_args : [pa_c_args],
|
||||
link_args : [nodelete_link_args],
|
||||
install : true,
|
||||
install_dir : privlibdir,
|
||||
dependencies : [
|
||||
libm_dep, thread_dep, dl_dep, shm_dep, iconv_dep, sndfile_dep, dbus_dep,
|
||||
x11_dep, libsystemd_dep, glib_dep.partial_dependency(compile_args: true),
|
||||
gtk_dep.partial_dependency(compile_args: true), asyncns_dep, libintl_dep,
|
||||
platform_dep, platform_socket_dep, execinfo_dep,
|
||||
],
|
||||
implicit_include_directories : false)
|
||||
|
||||
libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
||||
libpulsecommon_sources,
|
||||
libpulsecommon_headers,
|
||||
include_directories : [configinc, topinc],
|
||||
c_args : [pa_c_args],
|
||||
link_args : [nodelete_link_args],
|
||||
install : true,
|
||||
install_dir : privlibdir,
|
||||
dependencies : [
|
||||
libm_dep, thread_dep, dl_dep, shm_dep, iconv_dep, sndfile_dep, dbus_dep,
|
||||
x11_dep, libsystemd_dep, glib_dep.partial_dependency(compile_args: true),
|
||||
gtk_dep.partial_dependency(compile_args: true), asyncns_dep, libintl_dep,
|
||||
platform_dep, platform_socket_dep, execinfo_dep,
|
||||
],
|
||||
implicit_include_directories : false)
|
||||
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
||||
|
||||
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
||||
|
||||
subdir('pulse')
|
||||
subdir('pulse')
|
||||
endif
|
||||
|
||||
if get_option('daemon')
|
||||
|
|
|
|||
|
|
@ -1,47 +1,47 @@
|
|||
if get_option('client')
|
||||
pacat_sources = [
|
||||
'pacat.c',
|
||||
]
|
||||
pacat_sources = [
|
||||
'pacat.c',
|
||||
]
|
||||
|
||||
pacat_aliases = [
|
||||
'pamon',
|
||||
'paplay',
|
||||
'parec',
|
||||
'parecord',
|
||||
]
|
||||
pacat_aliases = [
|
||||
'pamon',
|
||||
'paplay',
|
||||
'parec',
|
||||
'parecord',
|
||||
]
|
||||
|
||||
executable('pacat',
|
||||
pacat_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [sndfile_dep, libintl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
executable('pacat',
|
||||
pacat_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [sndfile_dep, libintl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
|
||||
# Windows doesn't support symbolic links.
|
||||
if host_machine.system() != 'windows'
|
||||
foreach alias : pacat_aliases
|
||||
dst = join_paths(bindir, alias)
|
||||
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pacat', dst)
|
||||
meson.add_install_script('sh', '-c', cmd)
|
||||
endforeach
|
||||
endif
|
||||
# Windows doesn't support symbolic links.
|
||||
if host_machine.system() != 'windows'
|
||||
foreach alias : pacat_aliases
|
||||
dst = join_paths(bindir, alias)
|
||||
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pacat', dst)
|
||||
meson.add_install_script('sh', '-c', cmd)
|
||||
endforeach
|
||||
endif
|
||||
|
||||
pactl_sources = [
|
||||
'pactl.c',
|
||||
]
|
||||
pactl_sources = [
|
||||
'pactl.c',
|
||||
]
|
||||
|
||||
executable('pactl',
|
||||
pactl_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [sndfile_dep, libintl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
executable('pactl',
|
||||
pactl_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [sndfile_dep, libintl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
endif
|
||||
|
||||
if get_option('daemon')
|
||||
|
|
@ -75,51 +75,51 @@ if get_option('daemon')
|
|||
endif
|
||||
|
||||
if get_option('client')
|
||||
if x11_dep.found()
|
||||
pax11publish_sources = [
|
||||
'pax11publish.c',
|
||||
]
|
||||
if x11_dep.found()
|
||||
pax11publish_sources = [
|
||||
'pax11publish.c',
|
||||
]
|
||||
|
||||
executable('pax11publish',
|
||||
pax11publish_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [x11_dep, libintl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
endif
|
||||
|
||||
if cdata.has('HAVE_OSS_WRAPPER')
|
||||
libpulsecommon_sources = [
|
||||
'padsp.c',
|
||||
]
|
||||
|
||||
libpulsedsp = shared_library('pulsedsp',
|
||||
libpulsecommon_sources,
|
||||
install: true,
|
||||
install_dir : padsplibdir,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
link_args : [nodelete_link_args],
|
||||
dependencies: [thread_dep, dl_dep],
|
||||
c_args : [pa_c_args, '-Wno-nonnull-compare']
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input : 'padsp.in',
|
||||
output : 'padsp',
|
||||
configuration : cdata,
|
||||
install : true,
|
||||
install_dir : bindir,
|
||||
)
|
||||
endif
|
||||
|
||||
if dbus_dep.found() and fftw_dep.found()
|
||||
install_data('qpaeq', install_dir : bindir)
|
||||
endif
|
||||
|
||||
install_data('pa-info', install_dir : bindir)
|
||||
executable('pax11publish',
|
||||
pax11publish_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [x11_dep, libintl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
endif
|
||||
|
||||
if cdata.has('HAVE_OSS_WRAPPER')
|
||||
libpulsecommon_sources = [
|
||||
'padsp.c',
|
||||
]
|
||||
|
||||
libpulsedsp = shared_library('pulsedsp',
|
||||
libpulsecommon_sources,
|
||||
install: true,
|
||||
install_dir : padsplibdir,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
link_args : [nodelete_link_args],
|
||||
dependencies: [thread_dep, dl_dep],
|
||||
c_args : [pa_c_args, '-Wno-nonnull-compare']
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input : 'padsp.in',
|
||||
output : 'padsp',
|
||||
configuration : cdata,
|
||||
install : true,
|
||||
install_dir : bindir,
|
||||
)
|
||||
endif
|
||||
|
||||
if dbus_dep.found() and fftw_dep.found()
|
||||
install_data('qpaeq', install_dir : bindir)
|
||||
endif
|
||||
|
||||
install_data('pa-info', install_dir : bindir)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue