commit:     9964e5f273084ffb0e71e5249798e62cdfa63c10
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 18:21:24 2017 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 18:23:31 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9964e5f2

kde-plasma: Version bump KDE Plasma 5.9.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 kde-plasma/bluedevil/bluedevil-5.9.2.ebuild        |  41 ++++++
 kde-plasma/breeze-grub/breeze-grub-5.9.2.ebuild    |  31 ++++
 kde-plasma/breeze-gtk/breeze-gtk-5.9.2.ebuild      |  23 +++
 .../breeze-plymouth/breeze-plymouth-5.9.2.ebuild   |  27 ++++
 kde-plasma/breeze/breeze-5.9.2.ebuild              |  77 ++++++++++
 .../kactivitymanagerd-5.9.2.ebuild                 |  37 +++++
 .../kde-cli-tools/kde-cli-tools-5.9.2.ebuild       |  59 ++++++++
 .../kde-gtk-config/kde-gtk-config-5.9.2.ebuild     |  58 ++++++++
 kde-plasma/kdecoration/kdecoration-5.9.2.ebuild    |  18 +++
 .../kdeplasma-addons/kdeplasma-addons-5.9.2.ebuild |  57 +++++++
 kde-plasma/kgamma/kgamma-5.9.2.ebuild              |  27 ++++
 kde-plasma/khotkeys/khotkeys-5.9.2.ebuild          |  47 ++++++
 kde-plasma/kinfocenter/kinfocenter-5.9.2.ebuild    |  89 +++++++++++
 kde-plasma/kmenuedit/kmenuedit-5.9.2.ebuild        |  45 ++++++
 kde-plasma/kscreen/kscreen-5.9.2.ebuild            |  39 +++++
 .../kscreenlocker/kscreenlocker-5.9.2.ebuild       |  90 +++++++++++
 kde-plasma/ksshaskpass/ksshaskpass-5.9.2.ebuild    |  50 +++++++
 kde-plasma/ksysguard/ksysguard-5.9.2.ebuild        |  48 ++++++
 kde-plasma/kwallet-pam/kwallet-pam-5.9.2.ebuild    |  94 ++++++++++++
 .../kwayland-integration-5.9.2.ebuild              |  23 +++
 kde-plasma/kwin/kwin-5.9.2.ebuild                  |  95 ++++++++++++
 kde-plasma/kwrited/kwrited-5.9.2.ebuild            |  24 +++
 kde-plasma/libkscreen/libkscreen-5.9.2.ebuild      |  28 ++++
 kde-plasma/libksysguard/libksysguard-5.9.2.ebuild  |  54 +++++++
 kde-plasma/milou/milou-5.9.2.ebuild                |  30 ++++
 kde-plasma/oxygen/oxygen-5.9.2.ebuild              |  85 +++++++++++
 .../plasma-desktop/plasma-desktop-5.9.2.ebuild     | 155 +++++++++++++++++++
 .../plasma-integration-5.9.2.ebuild                |  43 ++++++
 kde-plasma/plasma-meta/plasma-meta-5.9.2.ebuild    |  65 ++++++++
 kde-plasma/plasma-nm/plasma-nm-5.9.2.ebuild        |  66 +++++++++
 kde-plasma/plasma-pa/plasma-pa-5.9.2.ebuild        |  30 ++++
 kde-plasma/plasma-sdk/plasma-sdk-5.9.2.ebuild      |  58 ++++++++
 .../plasma-workspace-wallpapers-5.9.2.ebuild       |  19 +++
 .../plasma-workspace/plasma-workspace-5.9.2.ebuild | 164 +++++++++++++++++++++
 .../polkit-kde-agent/polkit-kde-agent-5.9.2.ebuild |  31 ++++
 kde-plasma/powerdevil/powerdevil-5.9.2.ebuild      | 106 +++++++++++++
 kde-plasma/sddm-kcm/sddm-kcm-5.9.2.ebuild          |  39 +++++
 .../systemsettings/systemsettings-5.9.2.ebuild     |  46 ++++++
 kde-plasma/user-manager/user-manager-5.9.2.ebuild  |  27 ++++
 39 files changed, 2145 insertions(+)

diff --git a/kde-plasma/bluedevil/bluedevil-5.9.2.ebuild 
b/kde-plasma/bluedevil/bluedevil-5.9.2.ebuild
new file mode 100644
index 0000000000..05af2ef39b
--- /dev/null
+++ b/kde-plasma/bluedevil/bluedevil-5.9.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 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
+       !kde-plasma/bluedevil:4
+"

diff --git a/kde-plasma/breeze-grub/breeze-grub-5.9.2.ebuild 
b/kde-plasma/breeze-grub/breeze-grub-5.9.2.ebuild
new file mode 100644
index 0000000000..53d7a4790f
--- /dev/null
+++ b/kde-plasma/breeze-grub/breeze-grub-5.9.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/breeze-gtk/breeze-gtk-5.9.2.ebuild
new file mode 100644
index 0000000000..b72b84697e
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.9.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/breeze-plymouth/breeze-plymouth-5.9.2.ebuild
new file mode 100644
index 0000000000..81b38b1751
--- /dev/null
+++ b/kde-plasma/breeze-plymouth/breeze-plymouth-5.9.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/breeze/breeze-5.9.2.ebuild
new file mode 100644
index 0000000000..86e2ac232f
--- /dev/null
+++ b/kde-plasma/breeze/breeze-5.9.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 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 qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libxcb
+       qt4? (
+               kde-frameworks/kdelibs:4
+               x11-libs/libX11
+       )
+       wayland? ( $(add_frameworks_dep kwayland) )
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kpackage)
+       qt4? ( dev-util/automoc:0 )
+"
+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.9.2.ebuild 
b/kde-plasma/kactivitymanagerd/kactivitymanagerd-5.9.2.ebuild
new file mode 100644
index 0000000000..a40af43b39
--- /dev/null
+++ b/kde-plasma/kactivitymanagerd/kactivitymanagerd-5.9.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 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 'sqlite')
+       $(add_qt_dep qtwidgets)
+"
+DEPEND="${COMMON_DEPEND}
+       >=dev-libs/boost-1.54
+"
+RDEPEND="${COMMON_DEPEND}
+       !<kde-frameworks/kactivities-4.13.3-r2:4
+       !<kde-frameworks/kactivities-5.20.0:5
+       !kde-plasma/kactivitymanagerd:4
+       !<kde-plasma/plasma-desktop-5.6.1
+"

diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.9.2.ebuild 
b/kde-plasma/kde-cli-tools/kde-cli-tools-5.9.2.ebuild
new file mode 100644
index 0000000000..f77f17c8d6
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.9.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 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_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.9.2.ebuild 
b/kde-plasma/kde-gtk-config/kde-gtk-config-5.9.2.ebuild
new file mode 100644
index 0000000000..c6012d1f6b
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/kde-gtk-config-5.9.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 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-plasma/kde-gtk-config:4
+"
+
+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.9.2.ebuild 
b/kde-plasma/kdecoration/kdecoration-5.9.2.ebuild
new file mode 100644
index 0000000000..1d32f7b6bc
--- /dev/null
+++ b/kde-plasma/kdecoration/kdecoration-5.9.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.9.2.ebuild
new file mode 100644
index 0000000000..83dad86814
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.9.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 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-plasma/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.9.2.ebuild 
b/kde-plasma/kgamma/kgamma-5.9.2.ebuild
new file mode 100644
index 0000000000..2509365789
--- /dev/null
+++ b/kde-plasma/kgamma/kgamma-5.9.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 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 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.9.2.ebuild 
b/kde-plasma/khotkeys/khotkeys-5.9.2.ebuild
new file mode 100644
index 0000000000..3033e65bf8
--- /dev/null
+++ b/kde-plasma/khotkeys/khotkeys-5.9.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 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-plasma/khotkeys:4
+       !kde-plasma/systemsettings:4
+"
+DEPEND="${COMMON_DEPEND}
+       x11-libs/libxcb
+       x11-libs/libXtst
+       x11-proto/xproto
+"

diff --git a/kde-plasma/kinfocenter/kinfocenter-5.9.2.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-5.9.2.ebuild
new file mode 100644
index 0000000000..32bcb3c6af
--- /dev/null
+++ b/kde-plasma/kinfocenter/kinfocenter-5.9.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 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-plasma/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.9.2.ebuild 
b/kde-plasma/kmenuedit/kmenuedit-5.9.2.ebuild
new file mode 100644
index 0000000000..4b4eedb065
--- /dev/null
+++ b/kde-plasma/kmenuedit/kmenuedit-5.9.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 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-plasma/kmenuedit:4
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package hotkeys KHotKeysDBusInterface)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-plasma/kscreen/kscreen-5.9.2.ebuild 
b/kde-plasma/kscreen/kscreen-5.9.2.ebuild
new file mode 100644
index 0000000000..9023511299
--- /dev/null
+++ b/kde-plasma/kscreen/kscreen-5.9.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 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_frameworks_dep plasma)
+       $(add_plasma_dep kde-cli-tools)
+       $(add_qt_dep qtgraphicaleffects)
+       !kde-plasma/kscreen:4
+"
+
+# bug #580440, last checked 5.6.3
+RESTRICT+=" test"

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.9.2.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-5.9.2.ebuild
new file mode 100644
index 0000000000..3f8a150c2e
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.9.2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 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-plasma/kcheckpass-4.11.22-r1:4
+       !kde-plasma/kdebase-pam:0
+"
+
+RESTRICT+=" test"
+
+PATCHES=( "${FILESDIR}/${PN}-5.9.1-deps.patch" )
+
+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.9.2.ebuild 
b/kde-plasma/ksshaskpass/ksshaskpass-5.9.2.ebuild
new file mode 100644
index 0000000000..37e0a49e14
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.9.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/ksysguard/ksysguard-5.9.2.ebuild
new file mode 100644
index 0000000000..14f94fe172
--- /dev/null
+++ b/kde-plasma/ksysguard/ksysguard-5.9.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 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-plasma/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.9.2.ebuild 
b/kde-plasma/kwallet-pam/kwallet-pam-5.9.2.ebuild
new file mode 100644
index 0000000000..da92a74511
--- /dev/null
+++ b/kde-plasma/kwallet-pam/kwallet-pam-5.9.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 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"
+       elog
+}

diff --git a/kde-plasma/kwayland-integration/kwayland-integration-5.9.2.ebuild 
b/kde-plasma/kwayland-integration/kwayland-integration-5.9.2.ebuild
new file mode 100644
index 0000000000..959818c219
--- /dev/null
+++ b/kde-plasma/kwayland-integration/kwayland-integration-5.9.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/kwin/kwin-5.9.2.ebuild
new file mode 100644
index 0000000000..caf2f099d1
--- /dev/null
+++ b/kde-plasma/kwin/kwin-5.9.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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.5
+       >=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.7.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-plasma/kwin:4
+       !kde-plasma/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.9.2.ebuild 
b/kde-plasma/kwrited/kwrited-5.9.2.ebuild
new file mode 100644
index 0000000000..543a7e01c9
--- /dev/null
+++ b/kde-plasma/kwrited/kwrited-5.9.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KDE Plasma 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-plasma/kwrited:4
+"

diff --git a/kde-plasma/libkscreen/libkscreen-5.9.2.ebuild 
b/kde-plasma/libkscreen/libkscreen-5.9.2.ebuild
new file mode 100644
index 0000000000..f4477d5123
--- /dev/null
+++ b/kde-plasma/libkscreen/libkscreen-5.9.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/libksysguard/libksysguard-5.9.2.ebuild
new file mode 100644
index 0000000000..010ce0194e
--- /dev/null
+++ b/kde-plasma/libksysguard/libksysguard-5.9.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 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-plasma/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.9.2.ebuild 
b/kde-plasma/milou/milou-5.9.2.ebuild
new file mode 100644
index 0000000000..16677b9a86
--- /dev/null
+++ b/kde-plasma/milou/milou-5.9.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 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-plasma/milou:4
+"

diff --git a/kde-plasma/oxygen/oxygen-5.9.2.ebuild 
b/kde-plasma/oxygen/oxygen-5.9.2.ebuild
new file mode 100644
index 0000000000..90e9e7c1a3
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.9.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2017 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 qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libxcb
+       qt4? (
+               kde-frameworks/kdelibs:4
+               x11-libs/libX11
+       )
+       wayland? ( $(add_frameworks_dep kwayland) )
+"
+DEPEND="${COMMON_DEPEND}
+       $(add_frameworks_dep kservice)
+       qt4? (
+               dev-util/automoc:0
+               virtual/pkgconfig
+       )
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+       qt4? (
+               !kde-plasma/kstyles:4
+               !kde-plasma/liboxygenstyle:4
+       )
+       !kde-plasma/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.9.2.ebuild 
b/kde-plasma/plasma-desktop/plasma-desktop-5.9.2.ebuild
new file mode 100644
index 0000000000..0be58310a9
--- /dev/null
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.9.2.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2017 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="appstream +fontconfig gtk2 gtk3 +input_devices_evdev 
input_devices_synaptics
+ibus legacy-systray 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
+       appstream? ( dev-libs/appstream[qt5] )
+       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 )
+       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-plasma/qguiplatformplugin_kde:4 )
+       !kde-apps/kcontrol
+       !kde-apps/knetattach[handbook]
+       !kde-base/plasma-desktop:4
+       !kde-plasma/plasma-workspace:4
+       !kde-plasma/solid-actions-kcm:4
+       !kde-plasma/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 )"
+
+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 appstream AppStreamQt)
+               $(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 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.9.2.ebuild 
b/kde-plasma/plasma-integration/plasma-integration-5.9.2.ebuild
new file mode 100644
index 0000000000..7921664295
--- /dev/null
+++ b/kde-plasma/plasma-integration/plasma-integration-5.9.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 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 'dbus' '' '5=')
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       x11-libs/libXcursor
+       x11-libs/libxcb
+"
+RDEPEND="${DEPEND}
+       media-fonts/hack
+       media-fonts/noto
+"
+
+# requires running kde environment
+RESTRICT+=" test"

diff --git a/kde-plasma/plasma-meta/plasma-meta-5.9.2.ebuild 
b/kde-plasma/plasma-meta/plasma-meta-5.9.2.ebuild
new file mode 100644
index 0000000000..ba3b2cdea0
--- /dev/null
+++ b/kde-plasma/plasma-meta/plasma-meta-5.9.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/plasma-nm/plasma-nm-5.9.2.ebuild
new file mode 100644
index 0000000000..42bb4515d2
--- /dev/null
+++ b/kde-plasma/plasma-nm/plasma-nm-5.9.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 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-plasma/plasma-nm:4
+"
+
+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.9.2.ebuild 
b/kde-plasma/plasma-pa/plasma-pa-5.9.2.ebuild
new file mode 100644
index 0000000000..f5ec51f053
--- /dev/null
+++ b/kde-plasma/plasma-pa/plasma-pa-5.9.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 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[gnome]
+"
+
+RDEPEND="${DEPEND}"

diff --git a/kde-plasma/plasma-sdk/plasma-sdk-5.9.2.ebuild 
b/kde-plasma/plasma-sdk/plasma-sdk-5.9.2.ebuild
new file mode 100644
index 0000000000..1b08de0e6d
--- /dev/null
+++ b/kde-plasma/plasma-sdk/plasma-sdk-5.9.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 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:1
+       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.9.2.ebuild
 
b/kde-plasma/plasma-workspace-wallpapers/plasma-workspace-wallpapers-5.9.2.ebuild
new file mode 100644
index 0000000000..217333eb5c
--- /dev/null
+++ 
b/kde-plasma/plasma-workspace-wallpapers/plasma-workspace-wallpapers-5.9.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/plasma-workspace/plasma-workspace-5.9.2.ebuild
new file mode 100644
index 0000000000..1c6e3db9d8
--- /dev/null
+++ b/kde-plasma/plasma-workspace/plasma-workspace-5.9.2.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2017 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"
+
+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)
+       $(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)
+       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? ( $(add_frameworks_dep prison) )
+       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-plasma/freespacenotifier:4
+       !kde-plasma/libtaskmanager:4
+       !kde-plasma/kcminit:4
+       !kde-plasma/kdebase-startkde:4
+       !kde-plasma/klipper:4
+       !kde-plasma/krunner:4
+       !kde-plasma/ksmserver:4
+       !kde-plasma/ksplash:4
+       !kde-plasma/plasma-workspace:4
+"
+DEPEND="${COMMON_DEPEND}
+       x11-proto/xproto
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.4-startkde-script.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.9.2.ebuild 
b/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.9.2.ebuild
new file mode 100644
index 0000000000..7db0256e7d
--- /dev/null
+++ b/kde-plasma/polkit-kde-agent/polkit-kde-agent-5.9.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/powerdevil/powerdevil-5.9.2.ebuild
new file mode 100644
index 0000000000..3f394ae588
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.9.2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 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="elogind systemd +wireless"
+
+REQUIRED_USE="elogind? ( !systemd )
+       systemd? ( !elogind )
+"
+
+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 )
+       elogind? ( >=sys-power/upower-0.9.23 )
+       !systemd? ( !elogind? (
+               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-plasma/powerdevil:4
+       !kde-plasma/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 && ! use elogind ; 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 && ! use 
elogind ; 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.9.2.ebuild 
b/kde-plasma/sddm-kcm/sddm-kcm-5.9.2.ebuild
new file mode 100644
index 0000000000..7d96ef2461
--- /dev/null
+++ b/kde-plasma/sddm-kcm/sddm-kcm-5.9.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 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.9.2.ebuild 
b/kde-plasma/systemsettings/systemsettings-5.9.2.ebuild
new file mode 100644
index 0000000000..7f6edda2b6
--- /dev/null
+++ b/kde-plasma/systemsettings/systemsettings-5.9.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 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-plasma/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.9.2.ebuild 
b/kde-plasma/user-manager/user-manager-5.9.2.ebuild
new file mode 100644
index 0000000000..b03c4eadfe
--- /dev/null
+++ b/kde-plasma/user-manager/user-manager-5.9.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 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 kcmutils)
+       $(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 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