commit:     cc495749f8e0441745ef11298903c72f1b695599
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 16:29:04 2016 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 16:29:04 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=cc495749

kde-plasma: Version bump KDE Plasma 5.8.2

Package-Manager: portage-2.3.2

 kde-plasma/bluedevil/bluedevil-5.8.2.ebuild        |  42 +++++
 kde-plasma/breeze-grub/breeze-grub-5.8.2.ebuild    |  31 ++++
 kde-plasma/breeze-gtk/breeze-gtk-5.8.2.ebuild      |  23 +++
 .../breeze-plymouth/breeze-plymouth-5.8.2.ebuild   |  27 ++++
 kde-plasma/breeze/breeze-5.8.2.ebuild              |  75 +++++++++
 .../kactivitymanagerd-5.8.2.ebuild                 |  37 +++++
 .../kde-cli-tools/kde-cli-tools-5.8.2.ebuild       |  60 ++++++++
 .../kde-gtk-config/kde-gtk-config-5.8.2.ebuild     |  58 +++++++
 kde-plasma/kdecoration/kdecoration-5.8.2.ebuild    |  18 +++
 .../kdeplasma-addons/kdeplasma-addons-5.8.2.ebuild |  57 +++++++
 kde-plasma/kgamma/kgamma-5.8.2.ebuild              |  28 ++++
 kde-plasma/khotkeys/khotkeys-5.8.2.ebuild          |  47 ++++++
 kde-plasma/kinfocenter/kinfocenter-5.8.2.ebuild    |  89 +++++++++++
 kde-plasma/kmenuedit/kmenuedit-5.8.2.ebuild        |  45 ++++++
 kde-plasma/kscreen/kscreen-5.8.2.ebuild            |  38 +++++
 .../kscreenlocker/kscreenlocker-5.8.2.ebuild       |  89 +++++++++++
 kde-plasma/ksshaskpass/ksshaskpass-5.8.2.ebuild    |  50 ++++++
 kde-plasma/ksysguard/ksysguard-5.8.2.ebuild        |  48 ++++++
 kde-plasma/kwallet-pam/kwallet-pam-5.8.2.ebuild    |  95 ++++++++++++
 .../kwayland-integration-5.8.2.ebuild              |  23 +++
 kde-plasma/kwin/kwin-5.8.2.ebuild                  |  96 ++++++++++++
 kde-plasma/kwrited/kwrited-5.8.2.ebuild            |  24 +++
 kde-plasma/libkscreen/libkscreen-5.8.2.ebuild      |  28 ++++
 kde-plasma/libksysguard/libksysguard-5.8.2.ebuild  |  54 +++++++
 kde-plasma/milou/milou-5.8.2.ebuild                |  30 ++++
 kde-plasma/oxygen/oxygen-5.8.2.ebuild              |  81 ++++++++++
 .../plasma-desktop/plasma-desktop-5.8.2.ebuild     | 158 +++++++++++++++++++
 .../plasma-integration-5.8.2.ebuild                |  42 +++++
 kde-plasma/plasma-meta/plasma-meta-5.8.2.ebuild    |  65 ++++++++
 kde-plasma/plasma-nm/plasma-nm-5.8.2.ebuild        |  66 ++++++++
 kde-plasma/plasma-pa/plasma-pa-5.8.2.ebuild        |  30 ++++
 kde-plasma/plasma-sdk/plasma-sdk-5.8.2.ebuild      |  58 +++++++
 .../plasma-workspace-wallpapers-5.8.2.ebuild       |  19 +++
 .../plasma-workspace/plasma-workspace-5.8.2.ebuild | 169 +++++++++++++++++++++
 .../polkit-kde-agent/polkit-kde-agent-5.8.2.ebuild |  31 ++++
 kde-plasma/powerdevil/powerdevil-5.8.2.ebuild      | 101 ++++++++++++
 kde-plasma/sddm-kcm/sddm-kcm-5.8.2.ebuild          |  39 +++++
 .../systemsettings/systemsettings-5.8.2.ebuild     |  46 ++++++
 kde-plasma/user-manager/user-manager-5.8.2.ebuild  |  26 ++++
 39 files changed, 2143 insertions(+)

diff --git a/kde-plasma/bluedevil/bluedevil-5.8.2.ebuild 
b/kde-plasma/bluedevil/bluedevil-5.8.2.ebuild
new file mode 100644
index 0000000..b492cda
--- /dev/null
+++ b/kde-plasma/bluedevil/bluedevil-5.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Bluetooth stack for KDE Plasma"
+HOMEPAGE="https://projects.kde.org/projects/extragear/base/bluedevil";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+       $(add_frameworks_dep bluez-qt)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kded)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep plasma)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+"
+DEPEND="${COMMON_DEPEND}
+       x11-misc/shared-mime-info
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       !app-mobilephone/obexd
+       !app-mobilephone/obex-data-server
+       !net-wireless/bluedevil
+       !net-wireless/kbluetooth
+"

diff --git a/kde-plasma/breeze-grub/breeze-grub-5.8.2.ebuild 
b/kde-plasma/breeze-grub/breeze-grub-5.8.2.ebuild
new file mode 100644
index 0000000..fde1831
--- /dev/null
+++ b/kde-plasma/breeze-grub/breeze-grub-5.8.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+inherit kde5
+
+DESCRIPTION="Breeze theme for GRUB"
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+src_prepare() {
+       default
+}
+
+src_configure() {
+       :
+}
+
+src_compile() {
+       :
+}
+
+src_install() {
+       insinto /usr/share/grub/themes
+       doins -r breeze
+}

diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.8.2.ebuild 
b/kde-plasma/breeze-gtk/breeze-gtk-5.8.2.ebuild
new file mode 100644
index 0000000..b0820af
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.8.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Official GTK+ port of KDE's Breeze widget style"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze-gtk";
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+src_install() {
+       kde5_src_install
+
+       insinto /usr/share/themes/Breeze/gtk-3.20
+       doins Breeze-gtk/gtk-3.20/gtk.css
+
+       insinto /usr/share/themes/Breeze-Dark/gtk-3.20
+       doins Breeze-dark-gtk/gtk-3.20/gtk.css
+}

diff --git a/kde-plasma/breeze-plymouth/breeze-plymouth-5.8.2.ebuild 
b/kde-plasma/breeze-plymouth/breeze-plymouth-5.8.2.ebuild
new file mode 100644
index 0000000..cbc3805
--- /dev/null
+++ b/kde-plasma/breeze-plymouth/breeze-plymouth-5.8.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+inherit kde5
+
+DESCRIPTION="Breeze theme for Plymouth"
+LICENSE="GPL-2+ GPL-3+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="sys-boot/plymouth"
+DEPEND="${RDEPEND}
+       $(add_frameworks_dep extra-cmake-modules)
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DDISTRO_NAME="Gentoo Linux"
+               -DDISTRO_VERSION=
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/breeze/breeze-5.8.2.ebuild 
b/kde-plasma/breeze/breeze-5.8.2.ebuild
new file mode 100644
index 0000000..7a46fbc
--- /dev/null
+++ b/kde-plasma/breeze/breeze-5.8.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5 multibuild
+
+DESCRIPTION="Breeze visual style for the Plasma desktop"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="qt4 wayland"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep frameworkintegration)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_plasma_dep kdecoration)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libxcb
+       qt4? (
+               kde-base/kdelibs:4
+               x11-libs/libX11
+       )
+       wayland? ( $(add_frameworks_dep kwayland) )
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kpackage)
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep breeze-icons)
+       $(add_plasma_dep kde-cli-tools)
+"
+
+pkg_setup() {
+       kde5_pkg_setup
+       MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
+}
+
+src_configure() {
+       myconfigure() {
+               local mycmakeargs=(
+                       $(cmake-utils_use_find_package wayland KF5Wayland)
+               )
+
+               if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
+                       mycmakeargs+=( -DUSE_KDE4=true )
+               fi
+
+               kde5_src_configure
+       }
+
+       multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+       multibuild_foreach_variant kde5_src_compile
+}
+
+src_test() {
+       multibuild_foreach_variant kde5_src_test
+}
+
+src_install() {
+       multibuild_foreach_variant kde5_src_install
+}

diff --git a/kde-plasma/kactivitymanagerd/kactivitymanagerd-5.8.2.ebuild 
b/kde-plasma/kactivitymanagerd/kactivitymanagerd-5.8.2.ebuild
new file mode 100644
index 0000000..da1090e
--- /dev/null
+++ b/kde-plasma/kactivitymanagerd/kactivitymanagerd-5.8.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="System service to manage user's activities, track the usage 
patterns etc."
+LICENSE="|| ( GPL-2 GPL-3 )"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtwidgets)
+"
+DEPEND="${COMMON_DEPEND}
+       >=dev-libs/boost-1.54
+"
+RDEPEND="${COMMON_DEPEND}
+       !<kde-base/kactivities-4.13.3-r2:4
+       !kde-plasma/kactivitymanagerd:4
+       !<kde-frameworks/kactivities-5.20.0
+       !<kde-plasma/plasma-desktop-5.6.1
+"

diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.8.2.ebuild 
b/kde-plasma/kde-cli-tools/kde-cli-tools-5.8.2.ebuild
new file mode 100644
index 0000000..d9c7a50
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.8.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the 
system"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kde-cli-tools";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+kdesu X"
+
+DEPEND="
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtsvg)
+       $(add_qt_dep qtwidgets)
+       kdesu? ( $(add_frameworks_dep kdesu) )
+       X? (
+               $(add_frameworks_dep kdelibs4support)
+               $(add_qt_dep qtx11extras)
+               x11-libs/libX11
+       )
+"
+RDEPEND="${DEPEND}
+       handbook? ( !kde-apps/kdesu[handbook] )
+"
+
+# requires running kde environment
+RESTRICT+=" test"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package kdesu KF5Su)
+               $(cmake-utils_use_find_package X KF5KDELibs4Support)
+               $(cmake-utils_use_find_package X Qt5X11Extras)
+       )
+
+       kde5_src_configure
+}
+
+src_install() {
+       kde5_src_install
+       use kdesu && dosym /usr/$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu5
+}

diff --git a/kde-plasma/kde-gtk-config/kde-gtk-config-5.8.2.ebuild 
b/kde-plasma/kde-gtk-config/kde-gtk-config-5.8.2.ebuild
new file mode 100644
index 0000000..581afc8
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/kde-gtk-config-5.8.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE Plasma systemsettings kcm to set GTK application look&feel"
+HOMEPAGE="https://projects.kde.org/kde-gtk-config";
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+gtk3"
+
+DEPEND="
+       $(add_frameworks_dep karchive)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       dev-libs/glib:2
+       x11-libs/gtk+:2
+       x11-libs/libXcursor
+       gtk3? ( x11-libs/gtk+:3 )
+"
+RDEPEND="${DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       !kde-base/kde-gtk-config:4
+       !kde-misc/kde-gtk-config
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.4.2-gtk3-optional.patch" )
+
+src_configure() {
+       local mycmakeargs=(
+               -DDATA_INSTALL_DIR="${EPREFIX}/usr/share"
+               -DBUILD_gtk3proxies=$(usex gtk3)
+       )
+
+       kde5_src_configure
+}
+
+pkg_postinst() {
+       kde5_pkg_postinst
+       einfo
+       elog "If you notice missing icons in your GTK applications, you may 
have to install"
+       elog "the corresponding themes for GTK. A good guess would be 
x11-themes/oxygen-gtk"
+       elog "for example."
+       einfo
+}

diff --git a/kde-plasma/kdecoration/kdecoration-5.8.2.ebuild 
b/kde-plasma/kdecoration/kdecoration-5.8.2.ebuild
new file mode 100644
index 0000000..0276250
--- /dev/null
+++ b/kde-plasma/kdecoration/kdecoration-5.8.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_GCC_MINIMAL="4.8"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Plugin based library to create window decorations"
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="$(add_qt_dep qtgui)"
+RDEPEND="${DEPEND}"

diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.8.2.ebuild 
b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.8.2.ebuild
new file mode 100644
index 0000000..705a14c
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.8.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Extra Plasma applets and engines"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="share"
+
+DEPEND="
+       $(add_frameworks_dep kactivities)
+       $(add_frameworks_dep karchive)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kpackage)
+       $(add_frameworks_dep kross)
+       $(add_frameworks_dep krunner)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kunitconversion)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep plasma)
+       $(add_frameworks_dep sonnet)
+       $(add_plasma_dep plasma-workspace)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       share? ( dev-libs/purpose:5 )
+"
+RDEPEND="${DEPEND}
+       $(add_plasma_dep plasma-workspace)
+       !kde-base/kdeplasma-addons:4
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package share KDEExperimentalPurpose)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/kgamma/kgamma-5.8.2.ebuild 
b/kde-plasma/kgamma/kgamma-5.8.2.ebuild
new file mode 100644
index 0000000..3e58d89
--- /dev/null
+++ b/kde-plasma/kgamma/kgamma-5.8.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KMNAME="${PN}5"
+inherit kde5
+
+DESCRIPTION="Screen gamma values kcontrol module"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep ki18n)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       x11-libs/libX11
+       x11-libs/libXxf86vm
+"
+DEPEND="${RDEPEND}
+       x11-proto/xf86vidmodeproto
+"

diff --git a/kde-plasma/khotkeys/khotkeys-5.8.2.ebuild 
b/kde-plasma/khotkeys/khotkeys-5.8.2.ebuild
new file mode 100644
index 0000000..6d2e892
--- /dev/null
+++ b/kde-plasma/khotkeys/khotkeys-5.8.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE Plasma workspace hotkey module"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdelibs4support X)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_plasma_dep plasma-workspace)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libX11
+       x11-libs/libXtst
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kded)
+       $(add_plasma_dep kde-cli-tools)
+       !kde-base/khotkeys:4
+       !kde-base/systemsettings:4
+"
+DEPEND="${COMMON_DEPEND}
+       x11-libs/libxcb
+       x11-libs/libXtst
+       x11-proto/xproto
+"

diff --git a/kde-plasma/kinfocenter/kinfocenter-5.8.2.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-5.8.2.ebuild
new file mode 100644
index 0000000..cc6f217
--- /dev/null
+++ b/kde-plasma/kinfocenter/kinfocenter-5.8.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="A utility that provides information about a computer system"
+HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/";
+SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> 
glogo-small.png"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="egl gles2 ieee1394 +opengl +pci wayland"
+
+REQUIRED_USE="egl? ( || ( gles2 opengl ) )"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kpackage)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep solid)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       x11-libs/libX11
+       ieee1394? ( sys-libs/libraw1394 )
+       opengl? (
+               $(add_qt_dep qtgui 'gles2=')
+               media-libs/mesa[egl?,gles2?]
+               !gles2? ( media-libs/glu )
+       )
+       pci? ( sys-apps/pciutils )
+       wayland? ( $(add_frameworks_dep kwayland) )
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep plasma)
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       !kde-base/kcontrol:4
+       !kde-base/kinfocenter:4
+       !kde-misc/about-distro
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package egl EGL)
+               $(cmake-utils_use_find_package gles2 OpenGLES)
+               $(cmake-utils_use_find_package ieee1394 RAW1394)
+               $(cmake-utils_use_find_package opengl OpenGL)
+               $(cmake-utils_use_find_package pci PCIUTILS)
+               $(cmake-utils_use_find_package wayland KF5Wayland)
+       )
+
+       kde5_src_configure
+}
+
+src_install() {
+       kde5_src_install
+
+       insinto /etc/xdg
+       doins "${FILESDIR}"/kcm-about-distrorc
+
+       insinto /usr/share/${PN}
+       doins "${DISTDIR}"/glogo-small.png
+}
+
+pkg_postinst() {
+       if ! has_version "net-fs/nfs-utils"; then
+               einfo "Installing net-fs/nfs-utils will enable the NFS 
information module."
+       fi
+       if ! has_version "net-fs/samba" || ! has_version 
"net-fs/samba[server]"; then
+               einfo "Installing net-fs/samba[server(+)] will enable the Samba 
status information module."
+       fi
+}

diff --git a/kde-plasma/kmenuedit/kmenuedit-5.8.2.ebuild 
b/kde-plasma/kmenuedit/kmenuedit-5.8.2.ebuild
new file mode 100644
index 0000000..7efa299
--- /dev/null
+++ b/kde-plasma/kmenuedit/kmenuedit-5.8.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE Plasma menu editor"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kmenuedit";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+hotkeys"
+
+DEPEND="
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep sonnet)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       hotkeys? ( $(add_plasma_dep khotkeys) )
+"
+RDEPEND="${DEPEND}
+       !kde-base/kmenuedit:4
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package hotkeys KHotKeysDBusInterface)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/kscreen/kscreen-5.8.2.ebuild 
b/kde-plasma/kscreen/kscreen-5.8.2.ebuild
new file mode 100644
index 0000000..2bb9503
--- /dev/null
+++ b/kde-plasma/kscreen/kscreen-5.8.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE Plasma screen management"
+HOMEPAGE="https://projects.kde.org/projects/extragear/base/kscreen";
+
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_plasma_dep libkscreen)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative 'widgets')
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       $(add_qt_dep qtgraphicaleffects)
+       !kde-misc/kscreen
+"
+
+# bug #580440, last checked 5.6.3
+RESTRICT+=" test"

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.8.2.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-5.8.2.ebuild
new file mode 100644
index 0000000..519db8d
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.8.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5 pam
+
+DESCRIPTION="Library and components for secure lock screen architecture"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="pam"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kidletime)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kpackage)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwayland)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep solid)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative 'widgets')
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       dev-libs/wayland
+       x11-libs/libX11
+       x11-libs/libXi
+       x11-libs/libxcb
+       x11-libs/xcb-util-keysyms
+       pam? ( virtual/pam )
+"
+DEPEND="${COMMON_DEPEND}
+       x11-proto/xproto
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       !<kde-base/kcheckpass-4.11.22-r1:4
+       !kde-base/kdebase-pam:0
+       !<kde-plasma/plasma-workspace-5.4.50
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+       kde5_src_prepare
+
+       use test || sed -i \
+               -e "/add_subdirectory(autotests)/ s/^/#/" 
greeter/CMakeLists.txt || die
+}
+
+src_test() {
+       # requires running environment
+       local myctestargs=(
+               -E x11LockerTest
+       )
+       kde5_src_test
+}
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package pam PAM)
+       )
+       kde5_src_configure
+}
+
+src_install() {
+       kde5_src_install
+
+       newpamd "${FILESDIR}/kde.pam" kde
+       newpamd "${FILESDIR}/kde-np.pam" kde-np
+
+       if ! use pam; then
+               chown root "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
+               chmod +s "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
+       fi
+}

diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.8.2.ebuild 
b/kde-plasma/ksshaskpass/ksshaskpass-5.8.2.ebuild
new file mode 100644
index 0000000..4fed5b5
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.8.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KDE implementation of ssh-askpass with Kwallet integration"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/ksshaskpass";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_qt_dep qtwidgets)
+"
+RDEPEND="
+       ${DEPEND}
+       !kde-plasma/ksshaskpass:4
+"
+
+src_install() {
+       kde5_src_install
+
+       insinto /etc/plasma/startup
+       doins "${FILESDIR}/05-ksshaskpass.sh"
+}
+
+pkg_postinst() {
+       kde5_pkg_postinst
+
+       elog ""
+       elog "In order to have ssh-agent start at kde startup,"
+       elog "edit /etc/plasma/startup/10-agent-startup.sh and uncomment"
+       elog "the lines enabling ssh-agent."
+       elog
+       elog "If you do so, do not forget to uncomment the respective"
+       elog "lines in /etc/plasma/shutdown/10-agent-shutdown.sh to"
+       elog "properly kill the agent when the session ends."
+       elog
+       elog "${PN} has been installed as your default askpass application"
+       elog "for Plasma 5 sessions."
+       elog "If that's not desired, select the one you want to use in"
+       elog "/etc/plasma/startup/05-ksshaskpass.sh"
+       elog ""
+}

diff --git a/kde-plasma/ksysguard/ksysguard-5.8.2.ebuild 
b/kde-plasma/ksysguard/ksysguard-5.8.2.ebuild
new file mode 100644
index 0000000..4a1fd3a
--- /dev/null
+++ b/kde-plasma/ksysguard/ksysguard-5.8.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Network-enabled task manager and system monitor"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="lm_sensors"
+
+DEPEND="
+       $(add_plasma_dep libksysguard)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kinit)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       lm_sensors? ( sys-apps/lm_sensors )
+"
+RDEPEND="${DEPEND}
+       !kde-base/ksysguard:4
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package lm_sensors Sensors)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.8.2.ebuild 
b/kde-plasma/kwallet-pam/kwallet-pam-5.8.2.ebuild
new file mode 100644
index 0000000..18dcab7
--- /dev/null
+++ b/kde-plasma/kwallet-pam/kwallet-pam-5.8.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+inherit kde5 multibuild multilib
+
+DESCRIPTION="KWallet PAM module to not enter password again"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+oldwallet"
+
+COMMON_DEPEND="
+       dev-libs/libgcrypt:0=
+       virtual/pam
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep extra-cmake-modules)
+       $(add_qt_dep qtcore)
+"
+RDEPEND="${COMMON_DEPEND}
+       !kde-apps/kwalletd-pam
+       net-misc/socat
+"
+
+pkg_setup() {
+       kde5_pkg_setup
+       MULTIBUILD_VARIANTS=( kf5 $(usev oldwallet) )
+}
+
+src_configure() {
+       myconfigure() {
+               local mycmakeargs=(
+                       -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)"
+               )
+               [[ ${MULTIBUILD_VARIANT} = oldwallet ]] && mycmakeargs+=( 
-DKWALLET4=1 )
+
+               kde5_src_configure
+       }
+       multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+       multibuild_foreach_variant kde5_src_compile
+}
+
+src_test() {
+       multibuild_foreach_variant kde5_src_test
+}
+
+src_install() {
+       multibuild_foreach_variant kde5_src_install
+}
+
+pkg_postinst() {
+       check_dm() {
+               local good
+               if [[ -e "${ROOT}${2}" ]] ; then
+                       if grep -Eq "auth\s+optional\s+pam_kwallet5.so" 
"${ROOT}${2}" && \
+                               grep -Eq "session\s+optional\s+pam_kwallet5.so" 
"${ROOT}${2}" ; then
+                               good=true
+                       fi
+                       if use oldwallet ; then
+                               if ! grep -Eq 
"auth\s+optional\s+pam_kwallet.so" "${ROOT}${2}" || \
+                                       ! grep -Eq 
"session\s+optional\s+pam_kwallet.so" "${ROOT}${2}" ; then
+                                       good=false
+                               fi
+                       fi
+               fi
+               [[ "${good}" = true ]] && \
+                       elog "    ${1} - ${2} ...GOOD" || \
+                       ewarn "    ${1} - ${2} ...BAD"
+       }
+       elog
+       elog "This package enables auto-unlocking of kde-frameworks/kwallet:5."
+       use oldwallet && elog "You have also selected support for legacy 
kde-apps/kwalletd:4."
+       elog "List of things to make it work:"
+       elog "1.  Use standard blowfish encryption instead of GPG"
+       elog "2.  Use same password for login and kwallet"
+       elog "3.  A display manager with support for PAM"
+       elog "4.a Have the following lines in the display manager's pam.d file:"
+       elog "    -auth        optional        pam_kwallet5.so"
+       elog "    -session     optional        pam_kwallet5.so auto_start"
+       if use oldwallet ; then
+               elog "    -auth        optional        pam_kwallet.so 
kdehome=.kde4"
+               elog "    -session     optional        pam_kwallet.so"
+       fi
+       elog "4.b Checking installed DMs..."
+       has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm"
+       has_version "x11-misc/lightdm" && check_dm "LightDM" 
"/etc/pam.d/lightdm"
+       has_version "kde-base/kdm" && check_dm "KDM" "/etc/pam.d/kde"
+       elog
+}

diff --git a/kde-plasma/kwayland-integration/kwayland-integration-5.8.2.ebuild 
b/kde-plasma/kwayland-integration/kwayland-integration-5.8.2.ebuild
new file mode 100644
index 0000000..a31f195
--- /dev/null
+++ b/kde-plasma/kwayland-integration/kwayland-integration-5.8.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Provides integration plugins for various KDE frameworks for 
Wayland"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kwayland-integration";
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kidletime)
+       $(add_frameworks_dep kwayland)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-plasma/kwin/kwin-5.8.2.ebuild 
b/kde-plasma/kwin/kwin-5.8.2.ebuild
new file mode 100644
index 0000000..1e8ce63
--- /dev/null
+++ b/kde-plasma/kwin/kwin-5.8.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_GCC_MINIMAL="4.8"
+KDE_HANDBOOK="optional"
+KDE_TEST="optional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE window manager"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="gles2 multimedia"
+
+# drop qtcore subslot operator when QT_MINIMAL >= 5.7.0
+COMMON_DEPEND="
+       $(add_frameworks_dep kactivities)
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kidletime)
+       $(add_frameworks_dep kinit)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kpackage)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwayland)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem X)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep plasma)
+       $(add_plasma_dep breeze)
+       $(add_plasma_dep kdecoration)
+       $(add_plasma_dep kscreenlocker)
+       $(add_qt_dep qtcore '' '' '5=')
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui 'gles2=')
+       $(add_qt_dep qtscript)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       >=dev-libs/libinput-1.2
+       >=dev-libs/wayland-1.2
+       media-libs/fontconfig
+       media-libs/freetype
+       media-libs/libepoxy
+       media-libs/mesa[egl,gbm,gles2?,wayland]
+       virtual/libudev:=
+       x11-libs/libICE
+       x11-libs/libSM
+       x11-libs/libX11
+       x11-libs/libXi
+       x11-libs/libdrm
+       >=x11-libs/libxcb-1.10
+       >=x11-libs/libxkbcommon-0.5.0
+       x11-libs/xcb-util-cursor
+       x11-libs/xcb-util-image
+       x11-libs/xcb-util-keysyms
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       multimedia? (
+               || (
+                       $(add_qt_dep qtmultimedia 'gstreamer,qml')
+                       $(add_qt_dep qtmultimedia 'gstreamer010,qml')
+               )
+       )
+       !<kde-apps/kdeartwork-meta-15.08.3-r1:4
+       !kde-base/kwin:4
+       !kde-base/systemsettings:4
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_qt_dep designer)
+       $(add_qt_dep qtconcurrent)
+       x11-proto/xproto
+       test? ( x11-libs/xcb-util-wm )
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+       kde5_src_prepare
+       use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch"
+}

diff --git a/kde-plasma/kwrited/kwrited-5.8.2.ebuild 
b/kde-plasma/kwrited/kwrited-5.8.2.ebuild
new file mode 100644
index 0000000..8398835
--- /dev/null
+++ b/kde-plasma/kwrited/kwrited-5.8.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KDE daemon listening for wall and write messages"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kpty)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+       !kde-base/kwrited:4
+"

diff --git a/kde-plasma/libkscreen/libkscreen-5.8.2.ebuild 
b/kde-plasma/libkscreen/libkscreen-5.8.2.ebuild
new file mode 100644
index 0000000..88ad88a
--- /dev/null
+++ b/kde-plasma/libkscreen/libkscreen-5.8.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Plasma screen management library"
+SLOT="5/7"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kwayland)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libxcb
+"
+RDEPEND="${DEPEND}
+       !x11-libs/libkscreen:5
+"
+
+# requires running session
+RESTRICT+=" test"

diff --git a/kde-plasma/libksysguard/libksysguard-5.8.2.ebuild 
b/kde-plasma/libksysguard/libksysguard-5.8.2.ebuild
new file mode 100644
index 0000000..f575c93
--- /dev/null
+++ b/kde-plasma/libksysguard/libksysguard-5.8.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Task management and system monitoring library"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+detailedmemory X"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtwidgets)
+       sys-libs/zlib
+       detailedmemory? ( $(add_qt_dep qtwebkit) )
+       X? (
+               $(add_qt_dep qtx11extras)
+               x11-libs/libX11
+               x11-libs/libXres
+       )
+"
+RDEPEND="${COMMON_DEPEND}
+       !kde-base/ksysguard:4
+       !kde-base/libksysguard:4
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep plasma)
+       X? ( x11-proto/xproto )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package detailedmemory Qt5WebKitWidgets)
+               $(cmake-utils_use_find_package X X11)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/milou/milou-5.8.2.ebuild 
b/kde-plasma/milou/milou-5.8.2.ebuild
new file mode 100644
index 0000000..dadcfa3
--- /dev/null
+++ b/kde-plasma/milou/milou-5.8.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Dedicated search application built on top of Baloo"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/milou";
+
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep krunner)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep plasma)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+       !kde-misc/milou:4
+"

diff --git a/kde-plasma/oxygen/oxygen-5.8.2.ebuild 
b/kde-plasma/oxygen/oxygen-5.8.2.ebuild
new file mode 100644
index 0000000..442296c
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.8.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5 multibuild
+
+DESCRIPTION="Oxygen visual style for the Plasma desktop"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/oxygen";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="qt4 wayland"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep frameworkintegration)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_plasma_dep kdecoration)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libxcb
+       qt4? (
+               kde-base/kdelibs:4
+               x11-libs/libX11
+       )
+       wayland? ( $(add_frameworks_dep kwayland) )
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kservice)
+       qt4? ( virtual/pkgconfig )
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       qt4? (
+               !kde-base/kstyles:4
+               !kde-base/liboxygenstyle:4
+       )
+       !kde-base/kdebase-cursors:4
+"
+
+pkg_setup() {
+       kde5_pkg_setup
+       MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
+}
+
+src_configure() {
+       myconfigure() {
+               local mycmakeargs=(
+                       $(cmake-utils_use_find_package wayland KF5Wayland)
+               )
+
+               if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
+                       mycmakeargs+=( -DUSE_KDE4=true )
+               fi
+
+               kde5_src_configure
+       }
+
+       multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+       multibuild_foreach_variant kde5_src_compile
+}
+
+src_test() {
+       multibuild_foreach_variant kde5_src_test
+}
+
+src_install() {
+       multibuild_foreach_variant kde5_src_install
+}

diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.8.2.ebuild 
b/kde-plasma/plasma-desktop/plasma-desktop-5.8.2.ebuild
new file mode 100644
index 0000000..9505c40
--- /dev/null
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.8.2.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE Plasma desktop"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+fontconfig gtk2 gtk3 +input_devices_evdev input_devices_synaptics ibus
+legacy-systray packagekit pulseaudio +qt4 scim +semantic-desktop"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep attica)
+       $(add_frameworks_dep kactivities)
+       $(add_frameworks_dep kactivities-stats)
+       $(add_frameworks_dep karchive)
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kbookmarks)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcodecs)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kded)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep kemoticons)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemmodels)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kjobwidgets)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep knotifyconfig)
+       $(add_frameworks_dep kparts)
+       $(add_frameworks_dep kpeople)
+       $(add_frameworks_dep krunner)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep plasma)
+       $(add_frameworks_dep solid)
+       $(add_frameworks_dep sonnet)
+       $(add_plasma_dep kwin)
+       $(add_plasma_dep plasma-workspace)
+       $(add_qt_dep qtconcurrent)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtprintsupport)
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtsvg)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       $(add_qt_dep qtxml)
+       media-libs/phonon[qt5]
+       x11-libs/libX11
+       x11-libs/libXcursor
+       x11-libs/libXfixes
+       x11-libs/libXi
+       x11-libs/libxcb
+       x11-libs/libxkbfile
+       fontconfig? (
+               media-libs/fontconfig
+               media-libs/freetype
+               x11-libs/libXft
+               x11-libs/xcb-util-image
+       )
+       ibus? (
+               $(add_qt_dep qtx11extras)
+               app-i18n/ibus
+               dev-libs/glib:2
+               x11-libs/libxcb
+               x11-libs/xcb-util-keysyms
+       )
+       input_devices_synaptics? ( x11-drivers/xf86-input-synaptics )
+       packagekit? ( app-admin/packagekit-qt[qt5] )
+       pulseaudio? (
+               dev-libs/glib:2
+               media-libs/libcanberra
+               media-sound/pulseaudio
+       )
+       scim? ( app-i18n/scim )
+       semantic-desktop? ( $(add_frameworks_dep baloo) )
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep breeze)
+       $(add_plasma_dep kde-cli-tools)
+       $(add_plasma_dep oxygen)
+       $(add_qt_dep qtgraphicaleffects)
+       sys-apps/accountsservice
+       x11-apps/setxkbmap
+       legacy-systray? (
+               gtk2? ( dev-libs/libappindicator:2 )
+               gtk3? ( dev-libs/libappindicator:3 )
+               qt4? ( dev-libs/sni-qt )
+       )
+       pulseaudio? ( $(add_plasma_dep plasma-pa ) )
+       qt4? ( kde-base/qguiplatformplugin_kde )
+       !kde-apps/kcontrol
+       !kde-apps/kdepasswd:4
+       !kde-apps/knetattach[handbook]
+       !kde-base/plasma-desktop:4
+       !kde-base/plasma-workspace:4
+       !kde-base/solid-actions-kcm:4
+       !kde-base/systemsettings:4
+       !kde-misc/kcm_touchpad
+       !kde-misc/kcm-touchpad
+       !kde-plasma/kcm-touchpad
+       !<kde-plasma/kdeplasma-addons-5.5.50
+"
+DEPEND="${COMMON_DEPEND}
+       dev-libs/boost
+       x11-proto/xproto
+       fontconfig? ( x11-libs/libXrender )
+       input_devices_evdev? ( x11-drivers/xf86-input-evdev )
+"
+
+REQUIRED_USE="legacy-systray? ( || ( gtk2 gtk3 qt4 ) ) gtk2? ( legacy-systray 
) gtk3? ( legacy-systray )"
+
+PATCHES=( "${FILESDIR}/${PN}-5.7.90-baloo-optional.patch" )
+
+pkg_setup() {
+       if has_version net-im/skype && use legacy-systray && use amd64; then
+               einfo
+               elog "You need to install dev-libs/sni-qt[abi_x86_32] as skype 
is a 32-bit binary."
+               einfo
+       fi
+}
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package fontconfig Fontconfig)
+               $(cmake-utils_use_find_package ibus IBus)
+               $(cmake-utils_use_find_package input_devices_evdev Evdev)
+               $(cmake-utils_use_find_package input_devices_synaptics 
Synaptics)
+               $(cmake-utils_use_find_package packagekit PackageKitQt5)
+               $(cmake-utils_use_find_package pulseaudio PulseAudio)
+               $(cmake-utils_use_find_package scim SCIM)
+               $(cmake-utils_use_find_package semantic-desktop KF5Baloo)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/plasma-integration/plasma-integration-5.8.2.ebuild 
b/kde-plasma/plasma-integration/plasma-integration-5.8.2.ebuild
new file mode 100644
index 0000000..2805c9b
--- /dev/null
+++ b/kde-plasma/plasma-integration/plasma-integration-5.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Qt Platform Theme integration plugins for the Plasma workspaces"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kjobwidgets)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kwayland)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_plasma_dep breeze)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui '' '' '5=')
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libXcursor
+"
+RDEPEND="${DEPEND}
+       media-fonts/hack
+       media-fonts/noto
+"
+
+# requires running kde environment
+RESTRICT+=" test"

diff --git a/kde-plasma/plasma-meta/plasma-meta-5.8.2.ebuild 
b/kde-plasma/plasma-meta/plasma-meta-5.8.2.ebuild
new file mode 100644
index 0000000..abcc9e4
--- /dev/null
+++ b/kde-plasma/plasma-meta/plasma-meta-5.8.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5-functions
+
+DESCRIPTION="Merge this to pull in all Plasma 5 packages"
+HOMEPAGE="https://www.kde.org/workspaces/plasmadesktop/";
+
+LICENSE="metapackage"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="bluetooth +display-manager grub gtk +handbook networkmanager pam 
plymouth pulseaudio +sddm sdk +wallpapers"
+
+RDEPEND="
+       $(add_plasma_dep breeze)
+       $(add_plasma_dep kactivitymanagerd)
+       $(add_plasma_dep kde-cli-tools)
+       $(add_plasma_dep kdecoration)
+       $(add_plasma_dep kdeplasma-addons)
+       $(add_plasma_dep kgamma)
+       $(add_plasma_dep khotkeys)
+       $(add_plasma_dep kinfocenter)
+       $(add_plasma_dep kmenuedit)
+       $(add_plasma_dep kscreen)
+       $(add_plasma_dep kscreenlocker)
+       $(add_plasma_dep ksshaskpass)
+       $(add_plasma_dep ksysguard)
+       $(add_plasma_dep kwayland-integration)
+       $(add_plasma_dep kwin)
+       $(add_plasma_dep kwrited)
+       $(add_plasma_dep libkscreen)
+       $(add_plasma_dep libksysguard)
+       $(add_plasma_dep milou)
+       $(add_plasma_dep oxygen)
+       $(add_plasma_dep plasma-desktop)
+       $(add_plasma_dep plasma-integration)
+       $(add_plasma_dep plasma-workspace)
+       $(add_plasma_dep polkit-kde-agent)
+       $(add_plasma_dep powerdevil)
+       $(add_plasma_dep systemsettings)
+       $(add_plasma_dep user-manager)
+       bluetooth? ( $(add_plasma_dep bluedevil) )
+       display-manager? (
+               sddm? (
+                       $(add_plasma_dep sddm-kcm)
+                       x11-misc/sddm
+               )
+               !sddm? ( x11-misc/lightdm )
+       )
+       grub? ( $(add_plasma_dep breeze-grub) )
+       gtk? (
+               $(add_plasma_dep breeze-gtk)
+               $(add_plasma_dep kde-gtk-config)
+       )
+       handbook? ( $(add_kdeapps_dep khelpcenter) )
+       networkmanager? ( $(add_plasma_dep plasma-nm) )
+       pam? ( $(add_plasma_dep kwallet-pam) )
+       plymouth? ( $(add_plasma_dep breeze-plymouth) )
+       pulseaudio? ( $(add_plasma_dep plasma-pa) )
+       sdk? ( $(add_plasma_dep plasma-sdk) )
+       wallpapers? ( $(add_plasma_dep plasma-workspace-wallpapers) )
+"

diff --git a/kde-plasma/plasma-nm/plasma-nm-5.8.2.ebuild 
b/kde-plasma/plasma-nm/plasma-nm-5.8.2.ebuild
new file mode 100644
index 0000000..e7a396d
--- /dev/null
+++ b/kde-plasma/plasma-nm/plasma-nm-5.8.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KDE Plasma applet for NetworkManager"
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="modemmanager openconnect teamd"
+
+DEPEND="
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep networkmanager-qt 'teamd=')
+       $(add_frameworks_dep plasma)
+       $(add_frameworks_dep solid)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtwidgets)
+       >=app-crypt/qca-2.1.1:2[qt5]
+       >=net-misc/networkmanager-0.9.10.0[teamd=]
+       modemmanager? (
+               $(add_frameworks_dep modemmanager-qt)
+               $(add_qt_dep qtxml)
+               net-misc/mobile-broadband-provider-info
+       )
+       openconnect? (
+               $(add_qt_dep qtxml)
+               net-misc/networkmanager-openconnect
+               net-misc/openconnect:=
+       )
+"
+RDEPEND="${DEPEND}
+       $(add_plasma_dep plasma-workspace)
+       !kde-misc/plasma-nm
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package modemmanager ModemManager)
+               $(cmake-utils_use_find_package modemmanager KF5ModemManagerQt)
+               $(cmake-utils_use_find_package openconnect OpenConnect)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/plasma-pa/plasma-pa-5.8.2.ebuild 
b/kde-plasma/plasma-pa/plasma-pa-5.8.2.ebuild
new file mode 100644
index 0000000..98fc008
--- /dev/null
+++ b/kde-plasma/plasma-pa/plasma-pa-5.8.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Plasma applet for audio volume management using PulseAudio"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep plasma)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       dev-libs/glib:2
+       gnome-base/gconf:2
+       media-libs/libcanberra
+       media-sound/pulseaudio
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-plasma/plasma-sdk/plasma-sdk-5.8.2.ebuild 
b/kde-plasma/plasma-sdk/plasma-sdk-5.8.2.ebuild
new file mode 100644
index 0000000..f2c060d
--- /dev/null
+++ b/kde-plasma/plasma-sdk/plasma-sdk-5.8.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="optional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Useful applications for Plasma development"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="plasmate"
+
+DEPEND="
+       $(add_frameworks_dep karchive)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemmodels)
+       $(add_frameworks_dep kpackage)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktexteditor)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep plasma)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       dev-libs/kirigami
+       plasmate? (
+               $(add_frameworks_dep kdelibs4support)
+               $(add_frameworks_dep knewstuff)
+               $(add_frameworks_dep kparts)
+               $(add_qt_dep qtwebkit)
+               dev-util/kdevplatform:5
+       )
+"
+RDEPEND="${DEPEND}
+       !dev-util/plasmate
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package plasmate KDevPlatform)
+               $(cmake-utils_use_find_package plasmate Qt5WebKit)
+               $(cmake-utils_use_find_package plasmate Qt5WebKitWidgets)
+       )
+
+       kde5_src_configure
+}

diff --git 
a/kde-plasma/plasma-workspace-wallpapers/plasma-workspace-wallpapers-5.8.2.ebuild
 
b/kde-plasma/plasma-workspace-wallpapers/plasma-workspace-wallpapers-5.8.2.ebuild
new file mode 100644
index 0000000..43ed73a
--- /dev/null
+++ 
b/kde-plasma/plasma-workspace-wallpapers/plasma-workspace-wallpapers-5.8.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+inherit kde5
+
+DESCRIPTION="Additional wallpapers for the Plasma workspace"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep extra-cmake-modules)
+       $(add_qt_dep qtcore)
+"
+RDEPEND="!<kde-apps/kde-wallpapers-15.08.3-r2"

diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.8.2.ebuild 
b/kde-plasma/plasma-workspace/plasma-workspace-5.8.2.ebuild
new file mode 100644
index 0000000..5e315ce
--- /dev/null
+++ b/kde-plasma/plasma-workspace/plasma-workspace-5.8.2.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5 multilib qmake-utils
+
+DESCRIPTION="KDE Plasma workspace"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+calendar geolocation gps prison qalculate +semantic-desktop"
+
+# drop kde-frameworks/plasma subslot operator when FRAMEWORKS_MINIMAL >= 5.24.0
+COMMON_DEPEND="
+       $(add_frameworks_dep kactivities)
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kbookmarks)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep kdesu)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kidletime)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemmodels)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kjobwidgets)
+       $(add_frameworks_dep kjs)
+       $(add_frameworks_dep kjsembed)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep knotifyconfig)
+       $(add_frameworks_dep kpackage)
+       $(add_frameworks_dep krunner)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktexteditor)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwayland)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep kxmlrpcclient)
+       $(add_frameworks_dep plasma '' '' '5=')
+       $(add_frameworks_dep solid)
+       $(add_plasma_dep kscreenlocker)
+       $(add_plasma_dep kwin)
+       $(add_plasma_dep libksysguard)
+       $(add_qt_dep qtconcurrent)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative 'widgets')
+       $(add_qt_dep qtgui 'jpeg')
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtscript)
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       $(add_qt_dep qtxml)
+       dev-libs/libdbusmenu-qt[qt5]
+       media-libs/phonon[qt5]
+       sys-libs/zlib
+       x11-libs/libICE
+       x11-libs/libSM
+       x11-libs/libX11
+       x11-libs/libXau
+       x11-libs/libxcb
+       x11-libs/libXfixes
+       x11-libs/libXrender
+       x11-libs/xcb-util
+       x11-libs/xcb-util-image
+       calendar? ( $(add_kdeapps_dep kholidays) )
+       geolocation? ( $(add_frameworks_dep networkmanager-qt) )
+       gps? ( sci-geosciences/gpsd )
+       prison? ( media-libs/prison:5 )
+       qalculate? ( sci-libs/libqalculate )
+       semantic-desktop? ( $(add_frameworks_dep baloo) )
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kded)
+       $(add_kdeapps_dep kio-extras)
+       $(add_plasma_dep kde-cli-tools)
+       $(add_plasma_dep ksysguard)
+       $(add_plasma_dep milou)
+       $(add_plasma_dep plasma-integration)
+       $(add_qt_dep qdbus)
+       $(add_qt_dep qtgraphicaleffects)
+       $(add_qt_dep qtpaths)
+       $(add_qt_dep qtquickcontrols 'widgets')
+       app-text/iso-codes
+       x11-apps/mkfontdir
+       x11-apps/xmessage
+       x11-apps/xprop
+       x11-apps/xrdb
+       x11-apps/xset
+       x11-apps/xsetroot
+       !dev-libs/xembed-sni-proxy
+       !kde-base/freespacenotifier:4
+       !kde-base/libtaskmanager:4
+       !kde-base/kcminit:4
+       !kde-base/kdebase-startkde:4
+       !kde-base/klipper:4
+       !kde-base/krunner:4
+       !kde-base/ksmserver:4
+       !kde-base/ksplash:4
+       !kde-base/plasma-workspace:4
+"
+DEPEND="${COMMON_DEPEND}
+       x11-proto/xproto
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-5.4-startkde-script.patch"
+       "${FILESDIR}/${PN}-5.7.90-baloo-optional.patch"
+)
+
+RESTRICT+=" test"
+
+src_prepare() {
+       kde5_src_prepare
+
+       sed -e "s|\`qtpaths|\`$(qt5_get_bindir)/qtpaths|" \
+               -i startkde/startkde.cmake startkde/startplasmacompositor.cmake 
|| die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package calendar KF5Holidays)
+               $(cmake-utils_use_find_package geolocation KF5NetworkManagerQt)
+               $(cmake-utils_use_find_package gps libgps)
+               $(cmake-utils_use_find_package prison KF5Prison)
+               $(cmake-utils_use_find_package qalculate Qalculate)
+               $(cmake-utils_use_find_package semantic-desktop KF5Baloo)
+       )
+
+       kde5_src_configure
+}
+
+src_install() {
+       kde5_src_install
+
+       # startup and shutdown scripts
+       insinto /etc/plasma/startup
+       doins "${FILESDIR}/10-agent-startup.sh"
+
+       insinto /etc/plasma/shutdown
+       doins "${FILESDIR}/10-agent-shutdown.sh"
+}
+
+pkg_postinst () {
+       kde5_pkg_postinst
+
+       echo
+       elog "To enable gpg-agent and/or ssh-agent in Plasma sessions,"
+       elog "edit ${EPREFIX}/etc/plasma/startup/10-agent-startup.sh and"
+       elog "${EPREFIX}/etc/plasma/shutdown/10-agent-shutdown.sh"
+       echo
+}

diff --git a/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.8.2.ebuild 
b/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.8.2.ebuild
new file mode 100644
index 0000000..8d3e3ef
--- /dev/null
+++ b/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.8.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KMNAME="${PN}-1"
+inherit kde5
+
+DESCRIPTION="PolKit agent module for KDE Plasma"
+HOMEPAGE="https://www.kde.org";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       || ( $(add_frameworks_dep polkit-qt) >=sys-auth/polkit-qt-0.112.0[qt5] )
+"
+RDEPEND="${DEPEND}
+       !sys-auth/polkit-kde-agent:4[-minimal(-)]
+       !sys-auth/polkit-kde-agent:5
+"

diff --git a/kde-plasma/powerdevil/powerdevil-5.8.2.ebuild 
b/kde-plasma/powerdevil/powerdevil-5.8.2.ebuild
new file mode 100644
index 0000000..d814adc
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.8.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_GCC_MINIMAL="4.8"
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="Power management for KDE Plasma Shell"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/powerdevil";
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="systemd +wireless"
+
+DEPEND="
+       $(add_frameworks_dep kactivities)
+       $(add_frameworks_dep kauth policykit)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep kglobalaccel)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kidletime)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep knotifyconfig)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwayland)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep solid)
+       $(add_plasma_dep libkscreen)
+       $(add_plasma_dep plasma-workspace)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       virtual/libudev:=
+       x11-libs/libxcb
+       wireless? (
+               $(add_frameworks_dep bluez-qt)
+               $(add_frameworks_dep networkmanager-qt)
+       )
+"
+
+RDEPEND="${DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       systemd? ( >=sys-power/upower-0.9.23 )
+       !systemd? (
+               sys-auth/polkit-pkla-compat
+               || (
+                       (
+                               >=sys-auth/consolekit-1.0.1
+                               sys-power/pm-utils
+                               >=sys-power/upower-0.9.23
+                       )
+                       sys-power/upower-pm-utils
+               )
+       )
+       !kde-base/powerdevil:4
+       !kde-base/systemsettings:4[handbook]
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package wireless KF5BluezQt)
+               $(cmake-utils_use_find_package wireless KF5NetworkManagerQt)
+       )
+
+       kde5_src_configure
+}
+
+src_install() {
+       kde5_src_install
+
+       if ! use systemd ; then
+               insinto /etc/polkit-1/localauthority/10-vendor.d/
+               doins "${FILESDIR}"/10-org.freedesktop.upower.pkla
+               doins 
"${FILESDIR}"/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
+               doins 
"${FILESDIR}"/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
+               doins 
"${FILESDIR}"/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
+               doins 
"${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
+       fi
+}
+
+pkg_postinst() {
+       kde5_pkg_postinst
+
+       if has_version sys-power/upower-pm-utils && ! use systemd ; then
+               ewarn "You have sys-power/upower-pm-utils installed, which was 
recommended in the past to"
+               ewarn "enable suspend and hibernate support. This workaround is 
no longer required, and it"
+               ewarn "is now recommended to use a recent version of upower and 
consolekit instead:"
+               ewarn
+               ewarn "emerge --ask --update \">=sys-auth/consolekit-1.0.0\" 
sys-power/upower"
+       fi
+}

diff --git a/kde-plasma/sddm-kcm/sddm-kcm-5.8.2.ebuild 
b/kde-plasma/sddm-kcm/sddm-kcm-5.8.2.ebuild
new file mode 100644
index 0000000..112a759
--- /dev/null
+++ b/kde-plasma/sddm-kcm/sddm-kcm-5.8.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KDE Plasma control module for SDDM"
+HOMEPAGE="https://projects.kde.org/projects/kdereview/sddm-kcm";
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kio)
+       $(add_qt_dep qtdeclarative 'widgets')
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libX11
+       x11-libs/libXcursor
+"
+DEPEND="${COMMON_DEPEND}
+       x11-libs/libXfixes
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       x11-misc/sddm
+       !kde-misc/sddm-kcm
+"
+
+DOCS=( CONTRIBUTORS )

diff --git a/kde-plasma/systemsettings/systemsettings-5.8.2.ebuild 
b/kde-plasma/systemsettings/systemsettings-5.8.2.ebuild
new file mode 100644
index 0000000..e604347
--- /dev/null
+++ b/kde-plasma/systemsettings/systemsettings-5.8.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="System settings utility"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="classic gtk"
+
+DEPEND="
+       $(add_frameworks_dep kauth)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       classic? ( $(add_frameworks_dep khtml) )
+"
+RDEPEND="${DEPEND}
+       gtk? ( $(add_plasma_dep kde-gtk-config) )
+       !kde-base/systemsettings:4
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package classic KF5KHtml)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/user-manager/user-manager-5.8.2.ebuild 
b/kde-plasma/user-manager/user-manager-5.8.2.ebuild
new file mode 100644
index 0000000..8580afb
--- /dev/null
+++ b/kde-plasma/user-manager/user-manager-5.8.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Simple system settings module to manage the users of your system"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kdelibs4support)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       >=dev-libs/libpwquality-1.3.0
+"
+RDEPEND="${DEPEND}"

Reply via email to