Backport patches to tdegraphics to resolve FTBFS. Switch tdemultimedia to CMake. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>