mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
meson: always build pw-mididump
This commit is contained in:
parent
28d47c79f0
commit
d6b1342bab
1 changed files with 7 additions and 12 deletions
|
|
@ -24,6 +24,13 @@ executable('pw-profiler',
|
|||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
executable('pw-mididump',
|
||||
[ 'pw-mididump.c', 'midifile.c'],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
if get_option('pw-cat') and sndfile_dep.found()
|
||||
|
||||
pwcat_sources = [
|
||||
|
|
@ -31,11 +38,6 @@ if get_option('pw-cat') and sndfile_dep.found()
|
|||
'midifile.c',
|
||||
]
|
||||
|
||||
pwmididump_sources = [
|
||||
'pw-mididump.c',
|
||||
'midifile.c',
|
||||
]
|
||||
|
||||
pwcat_aliases = [
|
||||
'pw-play',
|
||||
'pw-record',
|
||||
|
|
@ -50,13 +52,6 @@ if get_option('pw-cat') and sndfile_dep.found()
|
|||
dependencies : [sndfile_dep, pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
executable('pw-mididump',
|
||||
pwmididump_sources,
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
foreach alias : pwcat_aliases
|
||||
dst = join_paths(pipewire_bindir, alias)
|
||||
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pw-cat', dst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue