mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 23:33:34 +00:00
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.
9 lines
217 B
Diff
9 lines
217 B
Diff
--- a/src/core/config/common.pri
|
|
+++ b/src/core/config/common.pri
|
|
@@ -47,3 +47,5 @@
|
|
|
|
!qtConfig(webengine-nodejs10): gn_args += use_rollup=false
|
|
gn_args += enable_ipc_logging=false
|
|
+
|
|
+gn_args += link_pulseaudio=true
|