e4dcdb133a
Nix builds of QTWebEngine doesn't support sound output via Pulse, only through ALSA, unless sandboxing is disabled and LD_LIBRARY_PATH contains a reference to the Pulse libraries. By default, Chromium won't link to PulseAudio, but dlopens it in run-time. It is tricky to make this work because of the nontrivial sandbox configuration. Nix builds of Chromium already link against Pulse directly, so it makes sense to copy this behavior in QTWebEngine.
10 lines
No EOL
348 B
Diff
10 lines
No EOL
348 B
Diff
--- a/src/core/CMakeLists.txt
|
|
+++ b/src/core/CMakeLists.txt
|
|
@@ -341,6 +341,7 @@
|
|
devtools_fast_bundle=false
|
|
devtools_skip_typecheck=false
|
|
enable_jxl_decoder=false # temporarily because libjxl causes internal compiler error on armv7
|
|
+ link_pulseaudio=true
|
|
)
|
|
|
|
extend_gn_list(gnArgArg
|