If sys-auth/elogind is used, indicated by a new USE flag "elogind", ConsoleKit integration should be skipped like it is done with USE="systemd". Fortunately PowerDevil does not actively depend on systemd-logind, and only needs a provider for the org.freedesktop.login1 DBus services.
Created attachment 453012 [details] powerdevil-5.8.3-r4.ebuild Updated ebuild that allows sys-auth/elogind to substitute ConsoleKit.
Created attachment 454168 [details] powerdevil-5.8.4-r1.ebuild Version bump to kde-plasma/powerdevil-5.8.4-r1 with elogind support.
Looks fine to me, let me know when you want to start landing stuff and I'll be happy to commit.
Created attachment 457700 [details] kde-plasma/powerdevil-5.8.5-r1 Version bump to powerdevil-5.8.5 with elogind support.
@KDE Team: If you are fine with this, you might want to take over for inclusion into the KDE overlay, adding the patched powerdevil ebuild(s). I suggest to keep them masked, as people should know what they are doing if they want to test elogind right now. There are still some issues, but those are within elogind and worked upon.
Thanks, I've pushed this to the overlay for now, and it'll appear in the main tree with the next bump. https://gitweb.gentoo.org/proj/kde.git/commit/?id=0dafa9c6bcd15d9c2b0f0f7f2cbd8a4d36124cc5 I've also masked the elogind USE flag in the main repository so that we can safely move stuff to the main tree as necessary and don't need to keep special revisions for elogind.
Thanks. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09ee8c07e6739e5133b6a67f305aebabac9dd27