mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
rename pipewire tools
Use the pw- prefix for all pipewire tools. This makes the commands shorter but also avoids conflicts with password and patchwork tools (pwcli is taken, pwconv is maybe we someday can make). pipewire-monitor -> pw-mon pipewire-cli -> pw-cli pipewire-dot -> pw-dot pwcat -> pw-cat
This commit is contained in:
parent
88cd3d3f1e
commit
c047bab910
8 changed files with 18 additions and 18 deletions
|
|
@ -1,34 +1,34 @@
|
|||
executable('pipewire-monitor',
|
||||
'pipewire-monitor.c',
|
||||
executable('pw-mon',
|
||||
'pw-mon.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
executable('pipewire-cli',
|
||||
'pipewire-cli.c',
|
||||
executable('pw-cli',
|
||||
'pw-cli.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
executable('pipewire-dot',
|
||||
'pipewire-dot.c',
|
||||
executable('pw-dot',
|
||||
'pw-dot.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
if get_option('pwcat') and sndfile_dep.found()
|
||||
if get_option('pw-cat') and sndfile_dep.found()
|
||||
|
||||
pwcat_sources = [
|
||||
'pwcat.c',
|
||||
'pw-cat.c',
|
||||
]
|
||||
|
||||
pwcat_aliases = [
|
||||
'pwplay',
|
||||
'pwrecord',
|
||||
'pw-play',
|
||||
'pw-record',
|
||||
]
|
||||
|
||||
executable('pwcat',
|
||||
executable('pw-cat',
|
||||
pwcat_sources,
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
|
|
@ -37,7 +37,7 @@ if get_option('pwcat') and sndfile_dep.found()
|
|||
|
||||
foreach alias : pwcat_aliases
|
||||
dst = join_paths(pipewire_bindir, alias)
|
||||
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pwcat', dst)
|
||||
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pw-cat', dst)
|
||||
meson.add_install_script('sh', '-c', cmd)
|
||||
endforeach
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue