mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
meson: Enable oss module and padsp util
Regarding the module: This is unlike the autotools where liboss-util is built as a library, here we build everything in the oss module, as apparently there's no other consumer for liboss-util. Regarding padsp: Setting the install mode for padsp requires meson 0.47, so instead we set padsp.in as executable in the git repository (which is what glib does for gdbus-codegen btw). Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
0d6ea15eea
commit
5b0a1df228
4 changed files with 36 additions and 1 deletions
|
|
@ -44,7 +44,6 @@ all_modules = [
|
|||
[ 'module-native-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_UNIX_SOCKETS'], [], libprotocol_native ],
|
||||
[ 'module-null-sink', 'module-null-sink.c' ],
|
||||
[ 'module-null-source', 'module-null-source.c' ],
|
||||
# [ 'module-oss', 'oss/module-oss.c' ],
|
||||
[ 'module-pipe-sink', 'module-pipe-sink.c' ],
|
||||
[ 'module-pipe-source', 'module-pipe-source.c' ],
|
||||
[ 'module-position-event-sounds', 'module-position-event-sounds.c' ],
|
||||
|
|
@ -84,6 +83,12 @@ if cc.has_header('linux/input.h')
|
|||
]
|
||||
endif
|
||||
|
||||
if cc.has_header('sys/soundcard.h')
|
||||
all_modules += [
|
||||
[ 'module-oss', [ 'oss/module-oss.c', 'oss/oss-util.c', 'oss/oss-util.h' ] ],
|
||||
]
|
||||
endif
|
||||
|
||||
# Modules enabled by dependencies
|
||||
|
||||
if alsa_dep.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue