• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

Revisão03b1d9589b6788a5033483eaba6b5b76ca0685f1 (tree)
Hora2023-11-11 02:57:53
AutorWalkerGriggs <walker@walk...>
CommiterWalkerGriggs

Mensagem de Log

modules: Check for opus custom functions in addition to headers

Mudança Sumário

Diff

--- a/src/modules/meson.build
+++ b/src/modules/meson.build
@@ -218,8 +218,10 @@ endif
218218 summary({'ffado-driver': build_module_ffado_driver}, bool_yn: true, section: 'Optional Modules')
219219
220220 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+
221223 # 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
223225 opus_custom_dep = declare_dependency(compile_args: ['-DHAVE_OPUS_CUSTOM'], dependencies: opus_dep)
224226 else
225227 opus_custom_dep = dependency('', required: false)