qtwebengine: enable pipewire/webrtc

This commit is contained in:
John Axel Eriksson 2021-05-19 19:14:38 +02:00
parent 066fb63b02
commit 7a714e8ed2
No known key found for this signature in database
GPG Key ID: 04ED6F42C62F42E9

View File

@ -12,6 +12,7 @@
, libcap
, pciutils
, systemd
, pipewire_0_2
, enableProprietaryCodecs ? true
, gn
, cups, darwin, openbsm, runCommand, xcbuild, writeScriptBin
@ -141,6 +142,7 @@ qtModule {
'';
qmakeFlags = [ "--" "-system-ffmpeg" ]
++ optional stdenv.isLinux "-webengine-webrtc-pipewire"
++ optional enableProprietaryCodecs "-proprietary-codecs";
propagatedBuildInputs = [
@ -173,6 +175,9 @@ qtModule {
# X11 libs
xorg.xrandr libXScrnSaver libXcursor libXrandr xorg.libpciaccess libXtst
xorg.libXcomposite xorg.libXdamage libdrm
# Pipewire
pipewire_0_2
]
# FIXME These dependencies shouldn't be needed but can't find a way