qtwebengine-5: Enable pulseaudio.

Previously it will dlopen libpulse, then fallback to alsa.
See also <https://issues.guix.gnu.org/45280>.

* gnu/packages/qt.scm (qtwebengine-5)[arguments]: Set link_pulseaudio with gn_args.
This commit is contained in:
宋文武 2023-02-20 20:20:22 +08:00
parent fbbbc2088c
commit d9368572ab
No known key found for this signature in database
GPG Key ID: D415BF253B515976

View File

@ -2708,7 +2708,8 @@ using the Enchant spell-checking library.")
"src/buildtools/config/linux.pri"
(lambda (in out)
(display (get-string-all in) out)
(display "\ngn_args += use_system_openh264=true\n" out)))
(display "\ngn_args += use_system_openh264=true\n" out)
(display "\ngn_args += link_pulseaudio = true\n" out)))
;; Qtwebengine is not installed into the same prefix as
;; qtbase. Some qtbase QTLibraryInfo constants will not
;; work. Replace with the full path to the qtwebengine-5