mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-14 11:53:16 +00: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
|
@ -32,12 +32,12 @@ benchmark: all
|
|||
monitor: all
|
||||
SPA_PLUGIN_DIR=@BUILD_ROOT@/spa/plugins \
|
||||
PIPEWIRE_MODULE_DIR=@BUILD_ROOT@/src/modules/ \
|
||||
@BUILD_ROOT@/src/tools/pipewire-monitor
|
||||
@BUILD_ROOT@/src/tools/pw-mon
|
||||
|
||||
cli: all
|
||||
SPA_PLUGIN_DIR=@BUILD_ROOT@/spa/plugins \
|
||||
PIPEWIRE_MODULE_DIR=@BUILD_ROOT@/src/modules/ \
|
||||
@BUILD_ROOT@/src/tools/pipewire-cli
|
||||
@BUILD_ROOT@/src/tools/pw-cli
|
||||
|
||||
shell: all
|
||||
ninja -C @BUILD_ROOT@ uninstalled
|
||||
|
|
|
@ -192,7 +192,7 @@ dl_lib = cc.find_library('dl', required : false)
|
|||
pthread_lib = dependency('threads')
|
||||
dbus_dep = dependency('dbus-1')
|
||||
sdl_dep = dependency('sdl2', required : false)
|
||||
if get_option('pwcat')
|
||||
if get_option('pw-cat')
|
||||
sndfile_dep = dependency('sndfile', version : '>= 1.0.20', required : false)
|
||||
endif
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ option('vulkan',
|
|||
description: 'Enable vulkan spa plugin integration',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
option('pwcat',
|
||||
description: 'Build pwcat/pwplay/pwrecord',
|
||||
option('pw-cat',
|
||||
description: 'Build pw-cat/pw-play/pw-record',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* PipeWire - pwcat
|
||||
/* PipeWire - pw-cat
|
||||
*
|
||||
* Copyright © 2020 Konsulko Group
|
||||
|
Loading…
Reference in a new issue