Ok, rereading now I understand what you mean. Here’s how I would do this with dynamic profiles:
- create a rule that applies the following partial profile whenever your camera is found:
[LensProfile] UseLensfun=true LFAutoMatch=true LFCameraMake=MY CAMERA MAKE LFCameraModel=MY CAMERA MODEL
LFAutoMatch is still set to
- add a rule for your lens that is not picked up automatically by lensfun, overriding
[LensProfile] LFAutoMatch=false LFLens=MY LENS
- Make sure the rule for the lens comes after that for the camera, so that
LFAutoMatchis properly overridden. Then you should be good to go.