I have been ask to help repair an old house.

At some point sheetrock has been applied to the existing walls of the home. Now the door frames are too narrow. Applying trim on the wall will leave a gap between the trim piece and the door frame at least the thickness of the new sheetrock. Unfortunately, due to several issues the gap is very uneven so I can't just apply a filler strip to the door frames. Typically on one side of any one door the gap may vary from 1/4 inch to 1 inch and is not a constant taper but varies randomly over the door frames length. My thought is to apply the trim to the wall and fill the gap with plaster of paris or something similiar. Is there a better way to do this? I'm guessing that plaster or joint compound will have durability issues but frankly, if it looks okay after sanding and painting to match the trim, I don't much care. I won't be any worse than the job someone did starting this project. Any help gratefully received. thanks Mike