Pipewireパッケージ(ちょっと変更)
Revisão | 03b1d9589b6788a5033483eaba6b5b76ca0685f1 (tree) |
---|---|
Hora | 2023-11-11 02:57:53 |
Autor | WalkerGriggs <walker@walk...> |
Commiter | WalkerGriggs |
modules: Check for opus custom functions in addition to headers
@@ -218,8 +218,10 @@ endif | ||
218 | 218 | summary({'ffado-driver': build_module_ffado_driver}, bool_yn: true, section: 'Optional Modules') |
219 | 219 | |
220 | 220 | opus_custom_h = cc.has_header('opus/opus_custom.h', dependencies: opus_dep) |
221 | +opus_custom_lib = cc.has_function('opus_custom_encoder_ctl', dependencies: opus_dep) | |
222 | + | |
221 | 223 | # One would imagine that opus_dep is a requirement but for some reason it's not, so we need to manually check that |
222 | -if opus_dep.found() and opus_custom_h | |
224 | +if opus_dep.found() and opus_custom_h and opus_custom_lib | |
223 | 225 | opus_custom_dep = declare_dependency(compile_args: ['-DHAVE_OPUS_CUSTOM'], dependencies: opus_dep) |
224 | 226 | else |
225 | 227 | opus_custom_dep = dependency('', required: false) |