anchor.diff:        # added later in the wrapped -wv build or downloaded from Google.
         enable_widevine = true;
         use_cups = cupsSupport;
  +      # Provides the enable-webrtc-pipewire-capturer flag to support Wayland screen capture.
  +      rtc_use_pipewire = true;
   
         treat_warnings_as_errors = false;
         is_clang = stdenv.cc.isClang;
  
positive.code: , protobuf, speechd, libXdamage, cups
  , ffmpeg, libxslt, libxml2, at-spi2-core
  , jre
  
  # optional dependencies
  , libgcrypt ? null # gnomeSupport || cupsSupport
  
negative.code:       libXScrnSaver libXcursor libXtst libGLU libGL
        pciutils protobuf speechd libXdamage at-spi2-core
        jre
        pipewire_0_2
      ] ++ optional useVaapi libva
        ++ optional gnomeKeyringSupport libgnome-keyring3
        ++ optionals gnomeSupport [ gnome.GConf libgcrypt ]
  