mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
meson: Install utils symlinks, install qpaeq
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
8a15af4ffc
commit
f5c9ef59f3
1 changed files with 18 additions and 0 deletions
|
|
@ -2,6 +2,13 @@ pacat_sources = [
|
||||||
'pacat.c',
|
'pacat.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
pacat_aliases = [
|
||||||
|
'pamon',
|
||||||
|
'paplay',
|
||||||
|
'parec',
|
||||||
|
'parecord',
|
||||||
|
]
|
||||||
|
|
||||||
executable('pacat',
|
executable('pacat',
|
||||||
pacat_sources,
|
pacat_sources,
|
||||||
install: true,
|
install: true,
|
||||||
|
|
@ -11,6 +18,13 @@ executable('pacat',
|
||||||
c_args : pa_c_args,
|
c_args : pa_c_args,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
foreach alias : pacat_aliases
|
||||||
|
# FIXME How to handle extension (.exe on windows)?
|
||||||
|
dst = join_paths(bindir, alias)
|
||||||
|
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pacat', dst)
|
||||||
|
meson.add_install_script('sh', '-c', cmd)
|
||||||
|
endforeach
|
||||||
|
|
||||||
pactl_sources = [
|
pactl_sources = [
|
||||||
'pactl.c',
|
'pactl.c',
|
||||||
]
|
]
|
||||||
|
|
@ -87,3 +101,7 @@ if cc.has_header('sys/soundcard.h')
|
||||||
install_dir : bindir,
|
install_dir : bindir,
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if dbus_dep.found() and fftw_dep.found()
|
||||||
|
install_data('qpaeq', install_dir : bindir)
|
||||||
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue