boost is linked against many libraries in Slackware, so upgrading boost may require you to rebuilt other libraries as well.
for current, i provide a SlackBuild script for
digiKam 5.3.0 on my SlackHacks. It does require KDE Framework 5 and libkipi5. You can get it from alienBOB or from
SlackHacks repository as well