CMakeLists.txt has a test for gcc version that doesn't handle >=gcc-5
I've posted a bug upstream https://bugs.kde.org/show_bug.cgi?id=348211 and a patch https://bugsfiles.kde.org/attachment.cgi?id=92816
I solved it by adding "5" to list of allowed main versions of compiler in /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake.
Jonathan, could you please mark your report as blocking gcc-5.1 bug?
Adding a 5 would work, but will break with the next major release of gcc - which, with the new numbering scheme, will be next year (see https://gcc.gnu.org/develop.html )
Marked as blocking GCC 5.1
Also confirmed the bug with GCC 5.2.
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes. Note that the git migration will happen today, so i am not sure if the mirrors will catch it up early enough.
+ 08 Aug 2015; Johannes Huber <email@example.com> +digikam-4.12.0.ebuild:
+ Version bump by Andreas Sturmlechner <firstname.lastname@example.org>, bug
+ #553366. Fixes build with gcc-5.1, bug #550374.