Hi there.
When using Clam-qt i have the option to unlock the wallet "for staking only".
What would be the equivalent for clamd?
Is it: "walletpassphrase passphrase 9999999 true" ?
Furthermore, if i stake with the option "for staking only", will it execute the "splitsize=X" command in clam.conf? Or does that only work if the wallet is unlocked completely?
Thank you for answering and thank you to everyone continue working on this project!
That's the correct command to unlock for staking only. I use nine 9's. If you use too many it fails silently due to a bug in Bitcoin that made its way into the CLAM client. Nine 9's gives us a little over 30 years of unlock time, so it should be enough.

All the clam.conf settings work the same whether you've unlocked for staking only or not. Your splitsize will still work.
When i compiled the source, i noticed that it results in a more recent version of clam.According to clam-qt: v.1.4.17-135-gac5c8cc0, build date 2017-01-20 01:57:20 -0500
Is it OK to run this version or is it recommended to stick to the older, precompiled one?
They're both OK to run.