|
|
|
@ -61,13 +61,6 @@ let |
|
|
|
|
url = "https://chromium.googlesource.com/chromium/tools/build/+/e77882e0dde52c2ccf33c5570929b75b4a2a2522/recipes/recipe_modules/chromium/resources/clang-format?format=TEXT"; |
|
|
|
|
sha256 = "0ic3hn65dimgfhakli1cyf9j3cxcqsf1qib706ihfhmlzxf7256l"; |
|
|
|
|
}; |
|
|
|
|
# https://webrtc-review.googlesource.com/c/src/+/255601 |
|
|
|
|
webrtcWaylandScreenshareCoredumpFix = fetchurl { |
|
|
|
|
# PipeWire capturer: check existence of cursor metadata |
|
|
|
|
name = "webrtc-wayland-screenshare-coredump-fix.patch"; |
|
|
|
|
url = "https://webrtc-review.googlesource.com/changes/src~255601/revisions/2/patch?download"; |
|
|
|
|
hash = "sha256-PHGwEoYhMa+ZL2ner10FwdGUWUxsVr+HWuZOAEugYDY="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
# The additional attributes for creating derivations based on the chromium |
|
|
|
|
# source tree. |
|
|
|
@ -169,9 +162,7 @@ let |
|
|
|
|
./patches/widevine-79.patch |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
postPatch = optionalString (versionRange "100" "101") '' |
|
|
|
|
base64 --decode ${webrtcWaylandScreenshareCoredumpFix} | patch -p1 -d third_party/webrtc |
|
|
|
|
'' + '' |
|
|
|
|
postPatch = '' |
|
|
|
|
# remove unused third-party |
|
|
|
|
for lib in ${toString gnSystemLibraries}; do |
|
|
|
|
if [ -d "third_party/$lib" ]; then |
|
|
|
@ -289,7 +280,6 @@ let |
|
|
|
|
enable_widevine = true; |
|
|
|
|
# Provides the enable-webrtc-pipewire-capturer flag to support Wayland screen capture: |
|
|
|
|
rtc_use_pipewire = true; |
|
|
|
|
} // optionalAttrs (chromiumVersionAtLeast "101") { |
|
|
|
|
# Disable PGO because the profile data requires a newer compiler version (LLVM 14 isn't sufficient): |
|
|
|
|
chrome_pgo_phase = 0; |
|
|
|
|
} // optionalAttrs proprietaryCodecs { |
|
|
|
|