mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-14 08:21:47 -04:00
milan-avb: pw-avb-virtual: activate only when necessary
This commit is contained in:
parent
c3c74257fa
commit
4b886d07f7
3 changed files with 6 additions and 2 deletions
|
|
@ -294,6 +294,10 @@ option('legacy-rtkit',
|
|||
description: 'Build legacy rtkit module',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
option('avb-virtual',
|
||||
description: 'Enable AVB Virtual code for testing',
|
||||
type: 'feature',
|
||||
value: 'disabled')
|
||||
option('avb',
|
||||
description: 'Enable AVB code',
|
||||
type: 'feature',
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ if build_pw_cat
|
|||
summary({'Build pw-cat with FFmpeg integration': build_pw_cat_with_ffmpeg}, bool_yn: true, section: 'pw-cat/pw-play/pw-dump tool')
|
||||
endif
|
||||
|
||||
build_avb_virtual = get_option('avb').require(
|
||||
build_avb_virtual = get_option('avb-virtual').require(
|
||||
host_machine.system() == 'linux',
|
||||
error_message: 'AVB support is only available on Linux'
|
||||
).allowed()
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ if valgrind.found()
|
|||
timeout_multiplier : 3)
|
||||
endif
|
||||
|
||||
if build_module_avb
|
||||
if build_avb_virtual
|
||||
avb_test_inc = [pwtest_inc, include_directories('../src/modules')]
|
||||
avb_module_sources = [
|
||||
'../src/modules/module-avb/avb.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue