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
Notice that LFAutoMatch
is still set to true
here.
- add a rule for your lens that is not picked up automatically by lensfun, overriding
LFAutoMatch
:
[LensProfile]
LFAutoMatch=false
LFLens=MY LENS
- Make sure the rule for the lens comes after that for the camera, so that
LFAutoMatch
is properly overridden. Then you should be good to go.