KDE/Plasma 5 upgrade

Plasma 5 is the next generation of KDE's desktop environment, based on Qt 5 and KDE Frameworks 5. Upgrading is fairly simple, although it cannot be coinstalled with Plasma 4 due to upstream design decisions.

Note that while Plasma 5 is in a good state, it is still under heavy upstream development and is missing some features present in KDE 4.

Overlay
Plasma 5 packages are not yet in the main tree. Install layman and add the KDE Overlay:

Profile
It is highly recommended to use the Plasma desktop profile as it sets a number of important options to ensure things run smoothly.

In order to choose the most suitable profile, first list what's available:

Then, select the right profile, substituting the appropriate profile number (which may vary between configurations):

Any packages affected by the profile change need to be rebuilt:

Unmasking and keywording
In the following examples please adapt "/path/to/overlay/" with the actual path, this is probably: /var/lib/layman/.

Plasma 5 is currently masked. For your convenience, unmasking files are provided in the overlay:

It's also necessary to unmask the qt5 USE flag:

For stable users, you also need to keyword the required packages:

Installation
The plasma-meta package provides the full Plasma 5 suite:

Alternatively, kde-plasma/plasma-desktop provides the basic desktop, leaving you free to install only the extra packages you require:

Troubleshooting
The most common issue with upgrading is running into blockers. Unfortunately, some packages just can't be coinstalled so they'll need to be removed. Feel free to drop by #gentoo or #gentoo-kde for assistance with resolving any blockers.