Light elements depletion in stellar atmospheres: the boron case