summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-01-18 22:05:32 +0100
committerJohannes Huber <johu@gentoo.org>2017-01-18 22:05:32 +0100
commit7f006bfa785842e0e94cdb2180402146e89073fc (patch)
treea633cf850eb556e6169f4aded04013470f01c50f /kde-plasma
parentkde-misc/yakuake: Import latest slot 4 from gentoo main tree (diff)
downloadkde-sunset-7f006bfa785842e0e94cdb2180402146e89073fc.tar.gz
kde-sunset-7f006bfa785842e0e94cdb2180402146e89073fc.tar.bz2
kde-sunset-7f006bfa785842e0e94cdb2180402146e89073fc.zip
kde-plasma: Import latest KDE Plasma 4 from gentoo main tree
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/bluedevil/Manifest1
-rw-r--r--kde-plasma/bluedevil/bluedevil-2.1.1.ebuild27
-rw-r--r--kde-plasma/bluedevil/metadata.xml5
-rw-r--r--kde-plasma/freespacenotifier/Manifest1
-rw-r--r--kde-plasma/freespacenotifier/freespacenotifier-4.11.22.ebuild12
-rw-r--r--kde-plasma/freespacenotifier/metadata.xml5
-rw-r--r--kde-plasma/kcheckpass/Manifest1
-rw-r--r--kde-plasma/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch15
-rw-r--r--kde-plasma/kcheckpass/kcheckpass-4.11.22-r1.ebuild36
-rw-r--r--kde-plasma/kcheckpass/metadata.xml5
-rw-r--r--kde-plasma/kcminit/Manifest1
-rw-r--r--kde-plasma/kcminit/kcminit-4.11.22.ebuild17
-rw-r--r--kde-plasma/kcminit/metadata.xml5
-rw-r--r--kde-plasma/kde-gtk-config/Manifest1
-rw-r--r--kde-plasma/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch79
-rw-r--r--kde-plasma/kde-gtk-config/kde-gtk-config-2.2.1.ebuild44
-rw-r--r--kde-plasma/kde-gtk-config/metadata.xml5
-rw-r--r--kde-plasma/kdebase-cursors/Manifest1
-rw-r--r--kde-plasma/kdebase-cursors/kdebase-cursors-4.11.22.ebuild13
-rw-r--r--kde-plasma/kdebase-cursors/metadata.xml5
-rw-r--r--kde-plasma/kdebase-pam/files/kde-np.pam-1010
-rw-r--r--kde-plasma/kdebase-pam/files/kde.pam-1014
-rw-r--r--kde-plasma/kdebase-pam/kdebase-pam-10.ebuild25
-rw-r--r--kde-plasma/kdebase-pam/metadata.xml5
-rw-r--r--kde-plasma/kdebase-startkde/Manifest1
-rw-r--r--kde-plasma/kdebase-startkde/files/KDE-497
-rw-r--r--kde-plasma/kdebase-startkde/files/agent-shutdown.sh13
-rw-r--r--kde-plasma/kdebase-startkde/files/agent-startup.sh29
-rw-r--r--kde-plasma/kdebase-startkde/files/gentoo-startkde4-4.patch26
-rw-r--r--kde-plasma/kdebase-startkde/files/kdebase-startkde-kscreen.patch20
-rw-r--r--kde-plasma/kdebase-startkde/files/kdebase-startkde-kwalletd-pam.patch25
-rw-r--r--kde-plasma/kdebase-startkde/kdebase-startkde-4.11.22-r2.ebuild152
-rw-r--r--kde-plasma/kdebase-startkde/metadata.xml9
-rw-r--r--kde-plasma/kdeplasma-addons/Manifest1
-rw-r--r--kde-plasma/kdeplasma-addons/kdeplasma-addons-4.14.3-r1.ebuild62
-rw-r--r--kde-plasma/kdeplasma-addons/metadata.xml18
-rw-r--r--kde-plasma/kdm/Manifest1
-rw-r--r--kde-plasma/kdm/files/kdm-4-gentoo-xinitrc.d.patch19
-rw-r--r--kde-plasma/kdm/files/kdm-logrotate8
-rw-r--r--kde-plasma/kdm/files/kdm.service12
-rw-r--r--kde-plasma/kdm/kdm-4.11.22.ebuild163
-rw-r--r--kde-plasma/kdm/metadata.xml8
-rw-r--r--kde-plasma/kephal/Manifest1
-rw-r--r--kde-plasma/kephal/kephal-4.11.22.ebuild25
-rw-r--r--kde-plasma/kephal/metadata.xml5
-rw-r--r--kde-plasma/khotkeys/Manifest1
-rw-r--r--kde-plasma/khotkeys/khotkeys-4.11.22.ebuild23
-rw-r--r--kde-plasma/khotkeys/metadata.xml5
-rw-r--r--kde-plasma/kinfocenter/Manifest1
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-4.11.22.ebuild37
-rw-r--r--kde-plasma/kinfocenter/metadata.xml5
-rw-r--r--kde-plasma/klipper/Manifest1
-rw-r--r--kde-plasma/klipper/klipper-4.11.22.ebuild31
-rw-r--r--kde-plasma/klipper/metadata.xml8
-rw-r--r--kde-plasma/kmenuedit/Manifest1
-rw-r--r--kde-plasma/kmenuedit/kmenuedit-4.11.22.ebuild31
-rw-r--r--kde-plasma/kmenuedit/metadata.xml5
-rw-r--r--kde-plasma/krunner/Manifest1
-rw-r--r--kde-plasma/krunner/krunner-4.11.22.ebuild51
-rw-r--r--kde-plasma/krunner/metadata.xml5
-rw-r--r--kde-plasma/kscreen/Manifest1
-rw-r--r--kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild56
-rw-r--r--kde-plasma/kscreen/metadata.xml5
-rw-r--r--kde-plasma/kscreensaver/Manifest1
-rw-r--r--kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch21
-rw-r--r--kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild22
-rw-r--r--kde-plasma/kscreensaver/metadata.xml5
-rw-r--r--kde-plasma/ksmserver/Manifest1
-rw-r--r--kde-plasma/ksmserver/ksmserver-4.11.22.ebuild43
-rw-r--r--kde-plasma/ksmserver/metadata.xml5
-rw-r--r--kde-plasma/ksplash/Manifest1
-rw-r--r--kde-plasma/ksplash/ksplash-4.11.22.ebuild39
-rw-r--r--kde-plasma/ksplash/metadata.xml5
-rw-r--r--kde-plasma/ksshaskpass/Manifest1
-rw-r--r--kde-plasma/ksshaskpass/files/ksshaskpass.sh1
-rw-r--r--kde-plasma/ksshaskpass/ksshaskpass-0.5.3-r1.ebuild54
-rw-r--r--kde-plasma/ksshaskpass/metadata.xml5
-rw-r--r--kde-plasma/kstartupconfig/Manifest1
-rw-r--r--kde-plasma/kstartupconfig/kstartupconfig-4.11.22.ebuild12
-rw-r--r--kde-plasma/kstartupconfig/metadata.xml5
-rw-r--r--kde-plasma/kstyles/Manifest1
-rw-r--r--kde-plasma/kstyles/kstyles-4.11.22.ebuild22
-rw-r--r--kde-plasma/kstyles/metadata.xml5
-rw-r--r--kde-plasma/ksysguard/Manifest1
-rw-r--r--kde-plasma/ksysguard/ksysguard-4.11.22.ebuild47
-rw-r--r--kde-plasma/ksysguard/metadata.xml5
-rw-r--r--kde-plasma/ksystraycmd/Manifest1
-rw-r--r--kde-plasma/ksystraycmd/ksystraycmd-4.11.22.ebuild15
-rw-r--r--kde-plasma/ksystraycmd/metadata.xml5
-rw-r--r--kde-plasma/kwin/Manifest1
-rw-r--r--kde-plasma/kwin/kwin-4.11.22.ebuild80
-rw-r--r--kde-plasma/kwin/metadata.xml8
-rw-r--r--kde-plasma/kwrited/Manifest1
-rw-r--r--kde-plasma/kwrited/kwrited-4.11.22.ebuild16
-rw-r--r--kde-plasma/kwrited/metadata.xml5
-rw-r--r--kde-plasma/libkgreeter/Manifest1
-rw-r--r--kde-plasma/libkgreeter/libkgreeter-4.11.22.ebuild19
-rw-r--r--kde-plasma/libkgreeter/metadata.xml5
-rw-r--r--kde-plasma/libkscreen/Manifest1
-rw-r--r--kde-plasma/libkscreen/libkscreen-1.0.5_p20150822.ebuild28
-rw-r--r--kde-plasma/libkscreen/metadata.xml5
-rw-r--r--kde-plasma/libkworkspace/Manifest1
-rw-r--r--kde-plasma/libkworkspace/libkworkspace-4.11.22.ebuild34
-rw-r--r--kde-plasma/libkworkspace/metadata.xml5
-rw-r--r--kde-plasma/liboxygenstyle/Manifest1
-rw-r--r--kde-plasma/liboxygenstyle/liboxygenstyle-4.11.22.ebuild17
-rw-r--r--kde-plasma/liboxygenstyle/metadata.xml5
-rw-r--r--kde-plasma/libplasmaclock/Manifest1
-rw-r--r--kde-plasma/libplasmaclock/libplasmaclock-4.11.22.ebuild33
-rw-r--r--kde-plasma/libplasmaclock/metadata.xml8
-rw-r--r--kde-plasma/libplasmagenericshell/Manifest1
-rw-r--r--kde-plasma/libplasmagenericshell/libplasmagenericshell-4.11.22.ebuild28
-rw-r--r--kde-plasma/libplasmagenericshell/metadata.xml5
-rw-r--r--kde-plasma/libtaskmanager/Manifest1
-rw-r--r--kde-plasma/libtaskmanager/libtaskmanager-4.11.22.ebuild35
-rw-r--r--kde-plasma/libtaskmanager/metadata.xml5
-rw-r--r--kde-plasma/metadata.xml7
-rw-r--r--kde-plasma/milou/Manifest1
-rw-r--r--kde-plasma/milou/metadata.xml5
-rw-r--r--kde-plasma/milou/milou-0.1.ebuild27
-rw-r--r--kde-plasma/plasma-nm/Manifest1
-rw-r--r--kde-plasma/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch14
-rw-r--r--kde-plasma/plasma-nm/metadata.xml9
-rw-r--r--kde-plasma/plasma-nm/plasma-nm-0.9.3.6.ebuild51
-rw-r--r--kde-plasma/plasma-workspace/Manifest1
-rw-r--r--kde-plasma/plasma-workspace/metadata.xml10
-rw-r--r--kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild117
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/metadata.xml8
-rw-r--r--kde-plasma/powerdevil/powerdevil-4.11.22.ebuild32
-rw-r--r--kde-plasma/qguiplatformplugin_kde/Manifest1
-rw-r--r--kde-plasma/qguiplatformplugin_kde/metadata.xml5
-rw-r--r--kde-plasma/qguiplatformplugin_kde/qguiplatformplugin_kde-4.11.22.ebuild12
-rw-r--r--kde-plasma/solid-actions-kcm/Manifest1
-rw-r--r--kde-plasma/solid-actions-kcm/metadata.xml5
-rw-r--r--kde-plasma/solid-actions-kcm/solid-actions-kcm-4.11.22.ebuild19
-rw-r--r--kde-plasma/systemsettings/Manifest1
-rw-r--r--kde-plasma/systemsettings/files/systemsettings-4.11.22-strigi-removal.patch35
-rw-r--r--kde-plasma/systemsettings/files/systemsettings-kcm-randr.patch20
-rw-r--r--kde-plasma/systemsettings/metadata.xml8
-rw-r--r--kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild108
141 files changed, 2469 insertions, 0 deletions
diff --git a/kde-plasma/bluedevil/Manifest b/kde-plasma/bluedevil/Manifest
new file mode 100644
index 00000000..5faffa47
--- /dev/null
+++ b/kde-plasma/bluedevil/Manifest
@@ -0,0 +1 @@
+DIST bluedevil-2.1.1.tar.xz 162060 SHA256 f18dc3848363dd7f7cce61475f336426c17b83224260cff705a96a535d0b9de5 SHA512 c5908db65dc2b3971af01b8555cb244257ed80592fe85417f2778cf3d236e34da402e8bf9bb4beba796b6d1401a1dcb1b4a651db1f57422314e3d030199e8bc4 WHIRLPOOL 858c29b76ac36af75d47c894f5da1e088d821801aaae695df619c95f8fab97ff22247d0451d3a9e7ec2253db836b4a7c1bf54a5f1b218e75030ba80189a6a193
diff --git a/kde-plasma/bluedevil/bluedevil-2.1.1.ebuild b/kde-plasma/bluedevil/bluedevil-2.1.1.ebuild
new file mode 100644
index 00000000..708d7f43
--- /dev/null
+++ b/kde-plasma/bluedevil/bluedevil-2.1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="ar bg bs ca ca@valencia cs da de el en_GB eo es et eu fa fi fr ga gl
+hu it ja kk km ko lt mai mr ms nb nds nl pa pl pt pt_BR ro ru sk sl sr
+sr@ijekavian sr@ijekavianlatin sr@Latn sv th tr ug uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="Bluetooth stack for KDE Plasma"
+HOMEPAGE="https://projects.kde.org/projects/extragear/base/bluedevil"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug"
+
+RDEPEND="
+ >=net-libs/libbluedevil-2.1:4
+ x11-misc/shared-mime-info
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
diff --git a/kde-plasma/bluedevil/metadata.xml b/kde-plasma/bluedevil/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/bluedevil/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/freespacenotifier/Manifest b/kde-plasma/freespacenotifier/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/freespacenotifier/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/freespacenotifier/freespacenotifier-4.11.22.ebuild b/kde-plasma/freespacenotifier/freespacenotifier-4.11.22.ebuild
new file mode 100644
index 00000000..d64c6816
--- /dev/null
+++ b/kde-plasma/freespacenotifier/freespacenotifier-4.11.22.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="A module that monitors free disk space on the home dir"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
diff --git a/kde-plasma/freespacenotifier/metadata.xml b/kde-plasma/freespacenotifier/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/freespacenotifier/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kcheckpass/Manifest b/kde-plasma/kcheckpass/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kcheckpass/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch b/kde-plasma/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch
new file mode 100644
index 00000000..78520d4a
--- /dev/null
+++ b/kde-plasma/kcheckpass/files/kcheckpass-4.4.2-no-SUID-no-GUID.patch
@@ -0,0 +1,15 @@
+Index: kcheckpass/CMakeLists.txt
+===================================================================
+--- kcheckpass/CMakeLists.txt (revision 1112521)
++++ kcheckpass/CMakeLists.txt (working copy)
+@@ -23,10 +23,6 @@
+ macro_add_compile_flags(kcheckpass -U_REENTRANT)
+ target_link_libraries(kcheckpass ${KDE4_KDEFAKES_LIBS} ${UNIXAUTH_LIBRARIES} ${SOCKET_LIBRARIES})
+ install(TARGETS kcheckpass DESTINATION ${LIBEXEC_INSTALL_DIR})
+-install(CODE "
+- set(KCP_PATH \"\$ENV{DESTDIR}${LIBEXEC_INSTALL_DIR}/kcheckpass\")
+- EXECUTE_PROCESS(COMMAND sh -c \"chown root '\${KCP_PATH}' && chmod +s '\${KCP_PATH}'\")
+-")
+
+ install_pam_service(kcheckpass)
+
diff --git a/kde-plasma/kcheckpass/kcheckpass-4.11.22-r1.ebuild b/kde-plasma/kcheckpass/kcheckpass-4.11.22-r1.ebuild
new file mode 100644
index 00000000..3fb3a62d
--- /dev/null
+++ b/kde-plasma/kcheckpass/kcheckpass-4.11.22-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="A simple password checker, used by any software in need of user authentication"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug pam"
+
+DEPEND="
+ pam? ( virtual/pam )
+"
+RDEPEND="${DEPEND}
+ pam? ( || (
+ kde-plasma/kdebase-pam
+ kde-plasma/kscreenlocker:5
+ ) )
+"
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ use pam && epatch "${FILESDIR}/${PN}-4.4.2-no-SUID-no-GUID.patch"
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with pam)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/kcheckpass/metadata.xml b/kde-plasma/kcheckpass/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kcheckpass/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kcminit/Manifest b/kde-plasma/kcminit/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kcminit/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kcminit/kcminit-4.11.22.ebuild b/kde-plasma/kcminit/kcminit-4.11.22.ebuild
new file mode 100644
index 00000000..ef36b9ac
--- /dev/null
+++ b/kde-plasma/kcminit/kcminit-4.11.22.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="Runs startups initialization for KDE Plasma Control Modules"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
diff --git a/kde-plasma/kcminit/metadata.xml b/kde-plasma/kcminit/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kcminit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kde-gtk-config/Manifest b/kde-plasma/kde-gtk-config/Manifest
new file mode 100644
index 00000000..3c89ea03
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/Manifest
@@ -0,0 +1 @@
+DIST kde-gtk-config-2.2.1.tar.xz 86472 SHA256 9c890d7e39ab6ebfad13c5453051f0759cb61beac9f7fc2df7e331c9a4415c85 SHA512 24623b5f668cb7d5dd46b96bcd0ee1ba4f2c9068995716f6658c2bdf8a41a81d76848cf63c1749d3ff365ece0399d4a54e98be4d03f992d49a04616e26f1baeb WHIRLPOOL 49f0186c6a265eef8aa8972a77502b34bc130fd2df04faab4145c6b181ab80fdefc2b9ca7d2d7979c89a5b57e36b8d0787c986e584bd6f332915316d73c07802
diff --git a/kde-plasma/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch b/kde-plasma/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch
new file mode 100644
index 00000000..86c8b4c3
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/files/kde-gtk-config-2.2.1-kdelibs-4.14.11.patch
@@ -0,0 +1,79 @@
+From 386f6af25a4f5276765a121f98dd00d0bf6a743d Mon Sep 17 00:00:00 2001
+From: David Faure <faure@kde.org>
+Date: Sun, 26 Jul 2015 17:04:43 +0200
+Subject: [PATCH] set proper cmake min req, matching kdelibs4, before project;
+ fix build accordingly
+
+---
+ CMakeLists.txt | 2 +-
+ gtk3proxies/CMakeLists.txt | 2 +-
+ gtkproxies/CMakeLists.txt | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0ef2243..9d77fcd 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,5 +1,5 @@
++cmake_minimum_required(VERSION 2.8.9)
+ project(kdegtkconfig)
+-cmake_minimum_required(VERSION 2.6)
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
+
+ find_package(KDE4 REQUIRED)
+diff --git a/gtk3proxies/CMakeLists.txt b/gtk3proxies/CMakeLists.txt
+index 856a3f6..d43597e 100644
+--- a/gtk3proxies/CMakeLists.txt
++++ b/gtk3proxies/CMakeLists.txt
+@@ -2,7 +2,7 @@ find_package(GTK3 REQUIRED)
+
+ include_directories(${GTK3_INCLUDE_DIRS})
+
+-add_definitions("-DDATA_DIR=\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
++add_definitions(-DDATA_DIR="\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
+
+ add_executable(gtk3_preview preview3.c)
+ target_link_libraries(gtk3_preview ${GTK3_LIBRARY} ${GOBJECT2_LIBRARY} ${GLIB2_LIBRARY})
+diff --git a/gtkproxies/CMakeLists.txt b/gtkproxies/CMakeLists.txt
+index 9821cbf..18ee2d5 100644
+--- a/gtkproxies/CMakeLists.txt
++++ b/gtkproxies/CMakeLists.txt
+@@ -6,7 +6,7 @@ add_executable(reload_gtk_apps reload.c)
+ target_link_libraries(reload_gtk_apps ${GTK2_LIBRARIES})
+ install(TARGETS reload_gtk_apps RUNTIME DESTINATION "${KDE4_LIBEXEC_INSTALL_DIR}")
+
+-add_definitions("-DDATA_DIR=\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
++add_definitions(-DDATA_DIR="\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
+
+ add_executable(gtk_preview preview.c)
+ target_link_libraries(gtk_preview ${GTK2_LIBRARIES} ${GTK2_GIOMM_LIBRARY})
+--
+2.4.6
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -47,6 +47,4 @@
+ add_subdirectory(gtkproxies)
+ add_subdirectory(gtk3proxies)
+ add_subdirectory(icons)
+-find_package(Msgfmt REQUIRED)
+-find_package(Gettext REQUIRED)
+ add_subdirectory( po )
+
+--- a/po/CMakeLists.txt
++++ b/po/CMakeLists.txt
+@@ -0,0 +1,14 @@
++# The pofiles macro creates in some versions same name targets
++# which since cmake 2.8 leads to target clashes.
++# Hence force the old policy for all po directories.
++# http://public.kitware.com/Bug/view.php?id=12952
++cmake_policy(SET CMP0002 OLD)
++
++find_package(Gettext REQUIRED)
++if (NOT GETTEXT_MSGMERGE_EXECUTABLE)
++MESSAGE(FATAL_ERROR "Please install msgmerge binary")
++endif (NOT GETTEXT_MSGMERGE_EXECUTABLE)
++if (NOT GETTEXT_MSGFMT_EXECUTABLE)
++MESSAGE(FATAL_ERROR "Please install msgmerge binary")
++endif (NOT GETTEXT_MSGFMT_EXECUTABLE)
++
diff --git a/kde-plasma/kde-gtk-config/kde-gtk-config-2.2.1.ebuild b/kde-plasma/kde-gtk-config/kde-gtk-config-2.2.1.ebuild
new file mode 100644
index 00000000..f3450f11
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/kde-gtk-config-2.2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="bs ca ca@valencia cs da de el es et eu fi fr ga gl hu id it ja kk
+km lt mr nb nds nl pl pt pt_BR ro ru sk sl sv uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="KDE Plasma systemsettings kcm to set GTK application look&feel"
+HOMEPAGE="https://projects.kde.org/kde-gtk-config"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd"
+SLOT="4"
+IUSE="debug"
+
+CDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ x11-libs/gtk+:3
+"
+DEPEND="
+ ${CDEPEND}
+ dev-util/automoc
+"
+RDEPEND="
+ ${CDEPEND}
+ !kde-misc/kcm_gtk
+ $(add_kdeapps_dep kcmshell)
+"
+
+PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" )
+
+pkg_postinst() {
+ kde4-base_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/kde-gtk-config/metadata.xml b/kde-plasma/kde-gtk-config/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kdebase-cursors/Manifest b/kde-plasma/kdebase-cursors/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kdebase-cursors/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kdebase-cursors/kdebase-cursors-4.11.22.ebuild b/kde-plasma/kdebase-cursors/kdebase-cursors-4.11.22.ebuild
new file mode 100644
index 00000000..0e52bb75
--- /dev/null
+++ b/kde-plasma/kdebase-cursors/kdebase-cursors-4.11.22.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="cursors"
+inherit kde4-meta
+
+DESCRIPTION="Oxygen cursors for KDE Plasma"
+IUSE=""
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
diff --git a/kde-plasma/kdebase-cursors/metadata.xml b/kde-plasma/kdebase-cursors/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kdebase-cursors/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kdebase-pam/files/kde-np.pam-10 b/kde-plasma/kdebase-pam/files/kde-np.pam-10
new file mode 100644
index 00000000..f5499e6d
--- /dev/null
+++ b/kde-plasma/kdebase-pam/files/kde-np.pam-10
@@ -0,0 +1,10 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+auth required pam_permit.so
+
+account include system-local-login
+
+password include system-local-login
+
+session include system-local-login
diff --git a/kde-plasma/kdebase-pam/files/kde.pam-10 b/kde-plasma/kdebase-pam/files/kde.pam-10
new file mode 100644
index 00000000..d7b2b649
--- /dev/null
+++ b/kde-plasma/kdebase-pam/files/kde.pam-10
@@ -0,0 +1,14 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+
+auth include system-local-login
+
+account include system-local-login
+
+password include system-local-login
+
+session include system-local-login
+
+-auth optional pam_kwallet.so kdehome=.kde4
+-session optional pam_kwallet.so
diff --git a/kde-plasma/kdebase-pam/kdebase-pam-10.ebuild b/kde-plasma/kdebase-pam/kdebase-pam-10.ebuild
new file mode 100644
index 00000000..7b6735fc
--- /dev/null
+++ b/kde-plasma/kdebase-pam/kdebase-pam-10.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit pam
+
+DESCRIPTION="pam.d files used by several KDE components"
+HOMEPAGE="https://www.kde.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="virtual/pam"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_install() {
+ newpamd "${FILESDIR}/kde.pam-${PV}" kde
+ newpamd "${FILESDIR}/kde-np.pam-${PV}" kde-np
+}
diff --git a/kde-plasma/kdebase-pam/metadata.xml b/kde-plasma/kdebase-pam/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kdebase-pam/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kdebase-startkde/Manifest b/kde-plasma/kdebase-startkde/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kdebase-startkde/files/KDE-4 b/kde-plasma/kdebase-startkde/files/KDE-4
new file mode 100644
index 00000000..86a49d88
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/files/KDE-4
@@ -0,0 +1,97 @@
+#!/bin/sh
+# $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $
+
+# source of this file: x11-apps/xinit-1.3.0-r2
+
+case $# in
+1)
+ case $1 in
+ failsafe)
+ exec xterm -geometry 80x24-0-0
+ ;;
+ esac
+esac
+
+# redirect errors to a file in user's home directory if we can
+for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
+do
+ if ( cp /dev/null "$errfile" 2> /dev/null )
+ then
+ chmod 600 "$errfile"
+ exec > "$errfile" 2>&1
+ break
+ fi
+done
+
+# clean up after xbanner
+if which freetemp 2> /dev/null ; then
+ freetemp
+fi
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+userxkbmap=$HOME/.Xkbmap
+
+sysresources=/etc/X11/Xresources
+sysmodmap=/etc/X11/Xmodmap
+sysxkbmap=/etc/X11/Xkbmap
+
+rh6sysresources=/etc/X11/xinit/Xresources
+rh6sysmodmap=/etc/X11/xinit/Xmodmap
+
+
+# merge in defaults
+if [ -f "$rh6sysresources" ]; then
+ xrdb -merge "$rh6sysresources"
+fi
+
+if [ -f "$sysresources" ]; then
+ xrdb -merge "$sysresources"
+fi
+
+if [ -f "$userresources" ]; then
+ xrdb -merge "$userresources"
+fi
+
+# merge in keymaps
+if [ -f "$sysxkbmap" ]; then
+ setxkbmap `cat "$sysxkbmap"`
+ XKB_IN_USE=yes
+fi
+
+if [ -f "$userxkbmap" ]; then
+ setxkbmap `cat "$userxkbmap"`
+ XKB_IN_USE=yes
+fi
+
+#
+# Eeek, this seems like too much magic here
+#
+if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
+ if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
+ xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
+ if [ -n "$xkbsymbols" ]; then
+ setxkbmap -symbols "$xkbsymbols"
+ XKB_IN_USE=yes
+ fi
+ fi
+fi
+
+# xkb and xmodmap don't play nice together
+if [ -z "$XKB_IN_USE" ]; then
+ if [ -f "$rh6sysmodmap" ]; then
+ xmodmap "$rh6sysmodmap"
+ fi
+
+ if [ -f "$sysmodmap" ]; then
+ xmodmap "$sysmodmap"
+ fi
+
+ if [ -f "$usermodmap" ]; then
+ xmodmap "$usermodmap"
+ fi
+fi
+
+unset XKB_IN_USE
+
+exec "@GENTOO_PORTAGE_EPREFIX@/usr/bin/startkde"
diff --git a/kde-plasma/kdebase-startkde/files/agent-shutdown.sh b/kde-plasma/kdebase-startkde/files/agent-shutdown.sh
new file mode 100644
index 00000000..07cf7477
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/files/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file is executed at kde shutdown.
+# Uncomment the following lines to kill the agents
+# that were started at session startup.
+
+#if [ -n "${GPG_AGENT_INFO}" ]; then
+# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
+#fi
+
+#if [ -n "${SSH_AGENT_PID}" ]; then
+# eval "$(ssh-agent -s -k)"
+#fi
diff --git a/kde-plasma/kdebase-startkde/files/agent-startup.sh b/kde-plasma/kdebase-startkde/files/agent-startup.sh
new file mode 100644
index 00000000..4b99f6e8
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/files/agent-startup.sh
@@ -0,0 +1,29 @@
+# Agents startup file
+#
+# This file is sourced at kde startup, so that
+# the environment variables set here are available
+# throughout the session.
+
+# Uncomment the following lines to start gpg-agent
+# and/or ssh-agent at kde startup.
+# If you do so, do not forget to uncomment the respective
+# lines in KDEDIR/shutdown/agent-shutdown.sh to
+# properly kill the agents when the session ends.
+
+#if [ -x /usr/bin/gpg-agent ]; then
+# eval "$(/usr/bin/gpg-agent --daemon)"
+#fi
+
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -s)"
+#fi
+
+# Uncomment the following lines to start rxvt-unicode which has the ability to
+# run multiple terminals in one single process, thus starting up faster and
+# saving resources.
+# The --opendisplay ensures that the daemon quits when the X server terminates,
+# therefore we don't need matching lines in agent-shutdown.sh.
+
+#if [ -x /usr/bin/urxvtd ]; then
+# /usr/bin/urxvtd --opendisplay --fork --quiet
+#fi
diff --git a/kde-plasma/kdebase-startkde/files/gentoo-startkde4-4.patch b/kde-plasma/kdebase-startkde/files/gentoo-startkde4-4.patch
new file mode 100644
index 00000000..4d517750
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/files/gentoo-startkde4-4.patch
@@ -0,0 +1,26 @@
+--- startkde.cmake.old 2011-03-24 13:07:04.919889148 +0100
++++ startkde.cmake 2011-03-24 13:14:42.033174445 +0100
+@@ -187,6 +187,11 @@
+ done
+ done
+
++# Gentoo part for FHS installs
++for file in "@GENTOO_PORTAGE_EPREFIX@/etc/kde/startup/"*.sh; do
++ test -r "${file}" && . "${file}"
++done
++
+ # Set the path for Qt plugins provided by KDE
+ if test -n "$QT_PLUGIN_PATH"; then
+ QT_PLUGIN_PATH="$QT_PLUGIN_PATH:`kde4-config --path qtplugins`"
+@@ -400,6 +405,11 @@
+ done
+ done
+
++# Gentoo part for FHS installs
++for file in "@GENTOO_PORTAGE_EPREFIX@/etc/kde/shutdown/"*.sh; do
++ test -r "${file}" && . "${file}"
++done
++
+ unset KDE_FULL_SESSION
+ xprop -root -remove KDE_FULL_SESSION
+ unset KDE_SESSION_VERSION
diff --git a/kde-plasma/kdebase-startkde/files/kdebase-startkde-kscreen.patch b/kde-plasma/kdebase-startkde/files/kdebase-startkde-kscreen.patch
new file mode 100644
index 00000000..65644aff
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/files/kdebase-startkde-kscreen.patch
@@ -0,0 +1,20 @@
+Only try to run krandrstartup if it exists wrt bug #524266.
+
+After f7f5d84c85b6c7f946b94808849648b4cb6ea667, krandrstartup is no longer
+available if kde-base/systemsettings is built with USE="kscreen". Otherwise,
+KDE will fail to start
+
+Source: http://pkgs.fedoraproject.org/cgit/kde-workspace.git/tree/startkde.cmake
+diff --git a/startkde.cmake b/startkde.cmake
+index afc2cfb..4220e64 100644
+--- a/startkde.cmake
++++ b/startkde.cmake
+@@ -105,7 +105,7 @@ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize"
+ fi
+ fi
+
+-. krandrstartup
++KRANDRSTARTUP=`which krandrstartup 2>/dev/null` && . $KRANDRSTARTUP
+
+ if test "$kcmfonts_general_forcefontdpi" -ne 0; then
+ xrdb -quiet -merge -nocpp <<EOF
diff --git a/kde-plasma/kdebase-startkde/files/kdebase-startkde-kwalletd-pam.patch b/kde-plasma/kdebase-startkde/files/kdebase-startkde-kwalletd-pam.patch
new file mode 100644
index 00000000..c70a07f8
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/files/kdebase-startkde-kwalletd-pam.patch
@@ -0,0 +1,25 @@
+From: Àlex Fiestas <afiestas@kde.org>
+Date: Mon, 28 Apr 2014 16:05:07 +0000
+Subject: [startkde] Send env to kwalletd in case of pam-kwallet
+X-Git-Tag: v4.96.0
+X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=9581a52a5d734435d0cef759e20d1af2473dd15e
+---
+[startkde] Send env to kwalletd in case of pam-kwallet
+---
+
+
+--- a/startkde/startkde.cmake
++++ b/startkde/startkde.cmake
+@@ -329,6 +329,11 @@
+
+ XDG_CURRENT_DESKTOP=KDE
+ export XDG_CURRENT_DESKTOP
++
++# At this point all the environment is ready, let's send it to kwalletd if running
++if test -n "PAM_KWALLET_LOGIN" ; then
++ env | socat STDIN UNIX-CONNECT:$PAM_KWALLET_LOGIN
++fi
+
+ # We set LD_BIND_NOW to increase the efficiency of kdeinit.
+ # kdeinit unsets this variable before loading applications.
+
diff --git a/kde-plasma/kdebase-startkde/kdebase-startkde-4.11.22-r2.ebuild b/kde-plasma/kdebase-startkde/kdebase-startkde-4.11.22-r2.ebuild
new file mode 100644
index 00000000..a4ea445f
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/kdebase-startkde-4.11.22-r2.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMNOMODULE="true"
+inherit kde4-meta prefix
+
+DESCRIPTION="Script which starts a complete Plasma session, and associated scripts"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="crash-reporter +handbook minimal +wallpapers"
+
+# The KDE apps called from the startkde script.
+# These provide the most minimal KDE desktop.
+RDEPEND="
+ $(add_kdeapps_dep attica)
+ $(add_kdeapps_dep kcmshell)
+ $(add_kdeapps_dep kcontrol)
+ $(add_kdeapps_dep kdebase-data)
+ $(add_kdeapps_dep kdebase-desktoptheme)
+ $(add_kdeapps_dep kdebase-kioslaves)
+ $(add_kdeapps_dep kdebase-menu)
+ $(add_kdeapps_dep kdebase-menu-icons)
+ $(add_kdeapps_dep kdebugdialog)
+ $(add_kdeapps_dep kdesu)
+ $(add_kdeapps_dep kdontchangethehostname)
+ $(add_kdeapps_dep keditfiletype)
+ $(add_kdeapps_dep kfile)
+ $(add_kdeapps_dep kfmclient)
+ $(add_kdeapps_dep kglobalaccel)
+ $(add_kdeapps_dep kiconfinder)
+ $(add_kdeapps_dep kimgio)
+ $(add_kdeapps_dep kioclient)
+ $(add_kdeapps_dep kmimetypefinder)
+ $(add_kdeapps_dep knetattach)
+ $(add_kdeapps_dep knewstuff)
+ $(add_kdeapps_dep knotify)
+ $(add_kdeapps_dep kpasswdserver)
+ $(add_kdeapps_dep kquitapp)
+ $(add_kdeapps_dep kreadconfig)
+ $(add_kdeapps_dep kstart)
+ $(add_kdeapps_dep ktimezoned)
+ $(add_kdeapps_dep ktraderclient)
+ $(add_kdeapps_dep kuiserver)
+ $(add_kdeapps_dep kurifilter-plugins)
+ $(add_kdeapps_dep kwalletd)
+ $(add_kdeapps_dep kwalletmanager)
+ $(add_kdeapps_dep phonon-kde)
+ $(add_kdeapps_dep plasma-apps)
+ $(add_kdeapps_dep plasma-runtime)
+ $(add_kdeapps_dep renamedlg-plugins)
+ $(add_kdeapps_dep solid-runtime)
+ kde-plasma/kcminit:4
+ kde-plasma/krunner:4
+ kde-plasma/ksmserver:4
+ kde-plasma/ksplash:4
+ kde-plasma/kstartupconfig:4
+ kde-plasma/kwin:4
+ kde-plasma/plasma-workspace:4
+ kde-plasma/systemsettings:4
+ x11-apps/mkfontdir
+ x11-apps/xmessage
+ x11-apps/xprop
+ x11-apps/xrandr
+ x11-apps/xrdb
+ x11-apps/xsetroot
+ x11-apps/xset
+ crash-reporter? ( $(add_kdeapps_dep drkonqi ) )
+ handbook? ( kde-apps/khelpcenter:* )
+ !minimal? (
+ $(add_kdeapps_dep kdepasswd)
+ kde-plasma/freespacenotifier:4
+ kde-plasma/kcheckpass:4
+ kde-plasma/kdebase-cursors:4
+ kde-plasma/kephal:4
+ kde-plasma/khotkeys:4
+ kde-plasma/kinfocenter:4
+ kde-plasma/klipper:4
+ kde-plasma/kmenuedit:4
+ kde-plasma/kstyles:4
+ kde-plasma/ksysguard:4
+ kde-plasma/ksystraycmd:4
+ kde-plasma/kwrited:4
+ kde-plasma/libkworkspace:4
+ kde-plasma/liboxygenstyle:4
+ kde-plasma/libplasmaclock:4
+ kde-plasma/libplasmagenericshell:4
+ kde-plasma/libtaskmanager:4
+ kde-plasma/powerdevil:4
+ kde-plasma/qguiplatformplugin_kde:4
+ kde-plasma/solid-actions-kcm:4
+ )
+ wallpapers? ( kde-plasma/plasma-workspace-wallpapers:5 )
+"
+
+KMEXTRACTONLY="
+ ConfigureChecks.cmake
+ kdm/
+ startkde.cmake
+"
+
+PATCHES=(
+ "${FILESDIR}/gentoo-startkde4-4.patch"
+ "${FILESDIR}/${PN}-kscreen.patch"
+ "${FILESDIR}/${PN}-kwalletd-pam.patch"
+)
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ cp "${FILESDIR}/KDE-4" "${T}"
+
+ # fix ${EPREFIX}
+ eprefixify startkde.cmake "${T}/KDE-4"
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ # startup and shutdown scripts
+ insinto /etc/kde/startup
+ doins "${FILESDIR}/agent-startup.sh"
+
+ insinto /etc/kde/shutdown
+ doins "${FILESDIR}/agent-shutdown.sh"
+
+ # x11 session script
+ exeinto /etc/X11/Sessions
+ doexe "${T}/KDE-4"
+
+ # freedesktop compliant session script
+ sed -e "s:\${BIN_INSTALL_DIR}:${EPREFIX}/usr/bin:g" \
+ "${S}/kdm/kfrontend/sessions/kde-plasma.desktop.cmake" > "${T}/KDE-4.desktop"
+ insinto /usr/share/xsessions
+ doins "${T}/KDE-4.desktop"
+}
+
+pkg_postinst () {
+ kde4-meta_pkg_postinst
+
+ echo
+ elog "To enable gpg-agent and/or ssh-agent in KDE sessions,"
+ elog "edit ${EPREFIX}/etc/kde/startup/agent-startup.sh and"
+ elog "${EPREFIX}/etc/kde/shutdown/agent-shutdown.sh"
+ echo
+ elog "The name of the session script has changed."
+ elog "If you currently have XSESSION=\"kde-$(get_kde_version)\" in your"
+ elog "configuration files, you will need to change it to"
+ elog "XSESSION=\"KDE-4\""
+}
diff --git a/kde-plasma/kdebase-startkde/metadata.xml b/kde-plasma/kdebase-startkde/metadata.xml
new file mode 100644
index 00000000..77a304ae
--- /dev/null
+++ b/kde-plasma/kdebase-startkde/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="crash-reporter">Builds a gui tool to submit crash information to the upstream backtracker</flag>
+ <flag name="wallpapers">Install the KDE Plasma wallpapers</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/kdeplasma-addons/Manifest b/kde-plasma/kdeplasma-addons/Manifest
new file mode 100644
index 00000000..166ed064
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/Manifest
@@ -0,0 +1 @@
+DIST kdeplasma-addons-4.14.3.tar.xz 1791328 SHA256 12d58e30362729473db208c0650676dac0fdae8b3f223ce92e8df41e3e928f24 SHA512 e4382aa1aab27ddcdecdd53ca0d931b9d53d27dfe4b53736642e1e030ac940ee6909029d7ddb865ee13567facb4e380d3c23601b9ea985151fccba8860077925 WHIRLPOOL 13b3a9f6706bbdda6ab4010aedbb1da4f677de771e3bd5f7c6dc2074db413860ea26bbeae919b7927e31116f535f51ef67ada1d2aa3b368ca4df23f4146a4165
diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-4.14.3-r1.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-4.14.3-r1.ebuild
new file mode 100644
index 00000000..530ffd08
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-4.14.3-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WEBKIT_REQUIRED="always"
+inherit flag-o-matic kde4-base
+
+DESCRIPTION="Extra Plasma applets and engines"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="attica debug desktopglobe eigen exif fcitx ibus json oauth +pim
+qalculate qwt scim"
+
+RESTRICT=test
+# tests hang
+
+# krunner is only needed to generate dbus interface for lancelot
+COMMON_DEPEND="
+ app-crypt/qca:2[qt4(+)]
+ kde-plasma/krunner:4
+ kde-plasma/plasma-workspace:4
+ x11-misc/shared-mime-info
+ attica? ( dev-libs/libattica )
+ desktopglobe? ( $(add_kdeapps_dep marble) )
+ exif? ( $(add_kdeapps_dep libkexiv2) )
+ fcitx? ( app-i18n/fcitx[dbus(+)] )
+ ibus? ( app-i18n/ibus )
+ json? ( dev-libs/qjson )
+ oauth? ( dev-libs/qoauth:0 )
+ pim? ( $(add_kdeapps_dep kdepimlibs) )
+ qalculate? ( sci-libs/libqalculate )
+ qwt? ( x11-libs/qwt:5 )
+ scim? ( app-i18n/scim )
+"
+DEPEND="${COMMON_DEPEND}
+ eigen? ( dev-cpp/eigen:2 )
+"
+RDEPEND="${COMMON_DEPEND}
+ app-crypt/qca:2[ssl]
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDBUS_INTERFACES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/interfaces/"
+ -DWITH_Nepomuk=OFF
+ $(cmake-utils_use_with attica LibAttica)
+ $(cmake-utils_use_with desktopglobe Marble)
+ $(cmake-utils_use_find_package eigen Eigen2)
+ $(cmake-utils_use_with exif Kexiv2)
+ $(cmake-utils_use_build ibus)
+ $(cmake-utils_use_with json QJSON)
+ $(cmake-utils_use_with oauth QtOAuth)
+ $(cmake-utils_use_with pim KdepimLibs)
+ $(cmake-utils_use_with qalculate)
+ $(cmake-utils_use_with qwt)
+ $(cmake-utils_use_build scim)
+ )
+
+ kde4-base_src_configure
+}
diff --git a/kde-plasma/kdeplasma-addons/metadata.xml b/kde-plasma/kdeplasma-addons/metadata.xml
new file mode 100644
index 00000000..6fff8e0c
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="attica">Enable support for <pkg>dev-libs/libattica</pkg></flag>
+ <flag name="ibus">Use ibus input method via <pkg>app-i18n/ibus</pkg></flag>
+ <flag name="desktopglobe">Enable Desktop Globe wallpaper using <pkg>kde-apps/marble</pkg></flag>
+ <flag name="eigen">Build Mandelbrot wallpaper plugin using <pkg>dev-cpp/eigen</pkg> using SLOT 2</flag>
+ <flag name="fcitx">Use fcitx input method via <pkg>app-i18n/fcitx</pkg></flag>
+ <flag name="json">Enable JSON support via <pkg>dev-libs/qjson</pkg></flag>
+ <flag name="oauth">Enable OAuth support via <pkg>dev-libs/qoauth</pkg></flag>
+ <flag name="pim">KDE PIM integration via <pkg>kde-apps/kdepimlibs</pkg></flag>
+ <flag name="qalculate">Enable Qalculate runner using <pkg>sci-libs/libqalculate</pkg></flag>
+ <flag name="qwt">Enable applets that use <pkg>x11-libs/qwt</pkg> SLOT 5</flag>
+ <flag name="scim">Enable applets that use <pkg>app-i18n/scim</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/kdm/Manifest b/kde-plasma/kdm/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kdm/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kdm/files/kdm-4-gentoo-xinitrc.d.patch b/kde-plasma/kdm/files/kdm-4-gentoo-xinitrc.d.patch
new file mode 100644
index 00000000..538363af
--- /dev/null
+++ b/kde-plasma/kdm/files/kdm-4-gentoo-xinitrc.d.patch
@@ -0,0 +1,19 @@
+diff -Nurp kdm-4.3.1.orig/kdm/kfrontend/genkdmconf.c kdm-4.3.1/kdm/kfrontend/genkdmconf.c
+--- kdm-4.3.1.orig/kdm/kfrontend/genkdmconf.c 2009-09-20 07:57:19.746730568 +0200
++++ kdm-4.3.1/kdm/kfrontend/genkdmconf.c 2009-09-20 08:01:17.767496412 +0200
+@@ -687,6 +687,15 @@ static const char def_session2[] =
+ "[ -f /etc/xprofile ] && . /etc/xprofile\n"
+ "[ -f $HOME/.xprofile ] && . $HOME/.xprofile\n"
+ "\n"
++"# run all system xinitrc shell scripts.\n"
++"if [ -d /etc/X11/xinit/xinitrc.d ]; then\n"
++" for i in /etc/X11/xinit/xinitrc.d/* ; do\n"
++" if [ -x \"$i\" ]; then\n"
++" . \"$i\"\n"
++" fi\n"
++" done\n"
++"fi\n"
++"\n"
+ "case $session in\n"
+ " \"\")\n"
+ " exec xmessage -center -buttons OK:0 -default OK \"Sorry, $DESKTOP_SESSION is no valid session.\"\n"
diff --git a/kde-plasma/kdm/files/kdm-logrotate b/kde-plasma/kdm/files/kdm-logrotate
new file mode 100644
index 00000000..4bce1a03
--- /dev/null
+++ b/kde-plasma/kdm/files/kdm-logrotate
@@ -0,0 +1,8 @@
+/var/log/kdm.log {
+ maxage 365
+ size=+1024k
+ notifempty
+ missingok
+ compress
+ copytruncate
+}
diff --git a/kde-plasma/kdm/files/kdm.service b/kde-plasma/kdm/files/kdm.service
new file mode 100644
index 00000000..412ffa39
--- /dev/null
+++ b/kde-plasma/kdm/files/kdm.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=KDM Display Manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/usr/bin/kdm -nodaemon
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/kde-plasma/kdm/kdm-4.11.22.ebuild b/kde-plasma/kdm/kdm-4.11.22.ebuild
new file mode 100644
index 00000000..93e77d4c
--- /dev/null
+++ b/kde-plasma/kdm/kdm-4.11.22.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+inherit systemd kde4-meta flag-o-matic user
+
+DESCRIPTION="Login manager by KDE, similar to xdm and gdm"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug +consolekit kerberos pam systemd"
+
+REQUIRED_USE="consolekit? ( !systemd ) systemd? ( !consolekit )"
+
+DEPEND="
+ kde-plasma/libkworkspace:4
+ media-libs/qimageblitz
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXtst
+ consolekit? (
+ >=sys-apps/dbus-1.0.2
+ sys-auth/consolekit
+ )
+ kerberos? ( virtual/krb5 )
+ pam? (
+ kde-plasma/kcheckpass:4
+ virtual/pam
+ )
+ systemd? ( sys-apps/systemd )
+"
+RDEPEND="${DEPEND}
+ $(add_kdeapps_dep kdepasswd)
+ kde-plasma/libkgreeter:4
+ >=x11-apps/xinit-1.0.5-r2
+ x11-apps/xmessage
+"
+
+KMEXTRACTONLY="
+ libs/kdm/kgreeterplugin.h
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch"
+)
+
+pkg_setup() {
+ kde4-meta_pkg_setup
+
+ # Create kdm:kdm user
+ KDM_HOME=/var/lib/kdm
+ enewgroup kdm
+ enewuser kdm -1 -1 "${KDM_HOME}" kdm
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use kerberos KDE4_KRB5AUTH)
+ $(cmake-utils_use_with pam)
+ $(cmake-utils_use_with consolekit CkConnector)
+ )
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ export GENKDMCONF_FLAGS="--no-old --no-backup"
+
+ kde4-meta_src_install
+
+ # an equivalent file is already installed by kde-base/startkde, bug 377151
+ rm "${ED}/usr/share/apps/kdm/sessions/kde-plasma.desktop" || die
+
+ # Customize the kdmrc configuration:
+ # - SessionDirs set to /usr/share/xsessions
+ # - increase server timeout to 30s
+ # - TerminateServer=true to workaround X server regen bug, bug 278473
+ # - DataDir set to /var/lib/kdm
+ # - FaceDir set to /var/lib/kdm/faces
+ sed -e "s|^.*SessionsDirs=.*$|#&\nSessionsDirs=${EPREFIX}/usr/share/apps/kdm/sessions,${EPREFIX}/usr/share/xsessions|" \
+ -e "/#ServerTimeout=/s/^.*$/ServerTimeout=30/" \
+ -e "/#TerminateServer=/s/^.*$/TerminateServer=true/" \
+ -e "s|^.*DataDir=.*$|#&\nDataDir=${EPREFIX}${KDM_HOME}|" \
+ -e "s|^.*FaceDir=.*$|#&\nFaceDir=${EPREFIX}${KDM_HOME}/faces|" \
+ -i "${ED}"/usr/share/config/kdm/kdmrc \
+ || die "Failed to set ServerTimeout and SessionsDirs correctly in kdmrc."
+
+ # Don't install empty dir
+ rmdir "${ED}"/usr/share/config/kdm/sessions
+
+ # Set up permissions to kdm work directory
+ keepdir "${KDM_HOME}"
+ fowners root:kdm "${KDM_HOME}"
+ fperms 1770 "${KDM_HOME}"
+
+ # install logrotate file
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/kdm-logrotate kdm
+
+ systemd_dounit "${FILESDIR}"/kdm.service
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+
+ local file src dest dir old_dirs=(
+ /var/lib/kdm-live
+ /var/lib/kdm-4.6
+ /var/lib/kdm-4.5
+ /var/lib/kdm-4.4
+ /usr/share/apps/kdm
+ /usr/kde/4.4/share/apps/kdm
+ /usr/kde/4.3/share/apps/kdm
+ /usr/kde/4.2/share/apps/kdm
+ )
+
+ mkdir -p "${EROOT}${KDM_HOME}/faces"
+ # Set the default kdm face icon if it's not already set by the system admin
+ # because this is user-overrideable in that way, it's not in src_install
+ for file in faces/.default.face.icon:default1.png faces/root.face.icon:root1.png kdmsts: ; do
+ src=${file#*:}
+ dest=${file%:*}
+ if [[ ! -e ${EROOT}${KDM_HOME}/$dest ]]; then
+ for dir in "${old_dirs[@]}"; do
+ if [[ -e ${EROOT}${dir}/${dest} ]]; then
+ cp "${EROOT}${dir}/${dest}" "${EROOT}${KDM_HOME}/${dest}"
+ break 2
+ fi
+ done
+ if [[ -n ${src} ]]; then
+ cp "${EROOT}/usr/share/apps/kdm/pics/users/${src}" \
+ "${EROOT}${KDM_HOME}/${dest}"
+ fi
+ fi
+ done
+ for dir in "${old_dirs[@]}"; do
+ if [[ ${dir} != /usr/* && -d ${EROOT}${dir} ]]; then
+ echo
+ elog "The directory ${EROOT%/}${dir} still exists from an older installation of KDE."
+ elog "You may wish to copy relevant settings into ${EROOT%/}${KDM_HOME}."
+ echo
+ elog "After doing so, you may delete the directory."
+ echo
+ fi
+ done
+
+ # Make sure permissions are correct -- old installations may have
+ # gotten this wrong
+ use prefix || chown root:kdm "${EROOT}${KDM_HOME}"
+ chmod 1770 "${EROOT}${KDM_HOME}"
+
+ if use consolekit; then
+ echo
+ elog "You have compiled 'kdm' with consolekit support. If you want to use kdm,"
+ elog "make sure consolekit daemon is running and started at login time"
+ elog
+ elog "rc-update add consolekit default && /etc/init.d/consolekit start"
+ echo
+ fi
+}
diff --git a/kde-plasma/kdm/metadata.xml b/kde-plasma/kdm/metadata.xml
new file mode 100644
index 00000000..6d7b952b
--- /dev/null
+++ b/kde-plasma/kdm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="consolekit">Enables support for authorization using consolekit</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/kephal/Manifest b/kde-plasma/kephal/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kephal/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kephal/kephal-4.11.22.ebuild b/kde-plasma/kephal/kephal-4.11.22.ebuild
new file mode 100644
index 00000000..875d71fa
--- /dev/null
+++ b/kde-plasma/kephal/kephal-4.11.22.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="libs/kephal"
+inherit kde4-meta
+
+DESCRIPTION="Allows handling of multihead systems via the XRandR extension"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXrandr
+"
+DEPEND="${RDEPEND}
+ x11-proto/randrproto
+"
+
+KMEXTRACTONLY+="
+ kephal/kephal/screens.h
+"
diff --git a/kde-plasma/kephal/metadata.xml b/kde-plasma/kephal/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kephal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/khotkeys/Manifest b/kde-plasma/khotkeys/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/khotkeys/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/khotkeys/khotkeys-4.11.22.ebuild b/kde-plasma/khotkeys/khotkeys-4.11.22.ebuild
new file mode 100644
index 00000000..1baa49cd
--- /dev/null
+++ b/kde-plasma/khotkeys/khotkeys-4.11.22.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma workspace hotkey module"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ kde-plasma/libkworkspace:4
+ x11-libs/libX11
+ x11-libs/libXtst
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="
+ libs/kworkspace/
+"
diff --git a/kde-plasma/khotkeys/metadata.xml b/kde-plasma/khotkeys/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/khotkeys/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kinfocenter/Manifest b/kde-plasma/kinfocenter/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kinfocenter/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kinfocenter/kinfocenter-4.11.22.ebuild b/kde-plasma/kinfocenter/kinfocenter-4.11.22.ebuild
new file mode 100644
index 00000000..422b2c55
--- /dev/null
+++ b/kde-plasma/kinfocenter/kinfocenter-4.11.22.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+OPENGL_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="A utility that provides information about a computer system"
+HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug ieee1394"
+
+DEPEND="
+ sys-apps/pciutils
+ x11-libs/libX11
+ ieee1394? ( sys-libs/libraw1394 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+"
+RDEPEND="${DEPEND}
+ sys-apps/usbutils
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with ieee1394 RAW1394)
+ $(cmake-utils_use_with opengl OpenGL)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/kinfocenter/metadata.xml b/kde-plasma/kinfocenter/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kinfocenter/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/klipper/Manifest b/kde-plasma/klipper/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/klipper/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/klipper/klipper-4.11.22.ebuild b/kde-plasma/klipper/klipper-4.11.22.ebuild
new file mode 100644
index 00000000..b2a79fa7
--- /dev/null
+++ b/kde-plasma/klipper/klipper-4.11.22.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="Applet for KDE Plasma and X clipboard management"
+HOMEPAGE+=" https://userbase.kde.org/Klipper"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug prison"
+
+DEPEND="
+ kde-plasma/libkworkspace:4
+ kde-plasma/libtaskmanager:4
+ sys-libs/zlib
+ x11-libs/libX11
+ prison? ( kde-frameworks/prison:4 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with prison)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/klipper/metadata.xml b/kde-plasma/klipper/metadata.xml
new file mode 100644
index 00000000..8f4ceade
--- /dev/null
+++ b/kde-plasma/klipper/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="prison">Enable support for barcodes/QRcodes</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/kmenuedit/Manifest b/kde-plasma/kmenuedit/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kmenuedit/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kmenuedit/kmenuedit-4.11.22.ebuild b/kde-plasma/kmenuedit/kmenuedit-4.11.22.ebuild
new file mode 100644
index 00000000..1c529550
--- /dev/null
+++ b/kde-plasma/kmenuedit/kmenuedit-4.11.22.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma menu editor"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+RDEPEND="
+ kde-plasma/khotkeys:4
+"
+DEPEND=${RDEPEND}
+
+KMEXTRACTONLY="
+ libs/kworkspace/
+"
+
+src_configure() {
+ sed -i -e \
+ "s:\${CMAKE_CURRENT_BINARY_DIR}/../khotkeys/app/org.kde.khotkeys.xml:${EPREFIX}/usr/share/dbus-1/interfaces/org.kde.khotkeys.xml:g" \
+ kmenuedit/CMakeLists.txt \
+ || die "sed failed"
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/kmenuedit/metadata.xml b/kde-plasma/kmenuedit/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kmenuedit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/krunner/Manifest b/kde-plasma/krunner/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/krunner/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/krunner/krunner-4.11.22.ebuild b/kde-plasma/krunner/krunner-4.11.22.ebuild
new file mode 100644
index 00000000..8aecc6a6
--- /dev/null
+++ b/kde-plasma/krunner/krunner-4.11.22.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+OPENGL_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma Command Runner"
+HOMEPAGE+=" https://userbase.kde.org/Plasma/Krunner"
+IUSE="debug"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ kde-plasma/kcheckpass:4
+ kde-plasma/kephal:4
+ kde-plasma/ksmserver:4
+ kde-plasma/ksysguard:4
+ kde-plasma/libkworkspace:4
+ kde-plasma/libplasmagenericshell:4
+ !aqua? (
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ )
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="
+ libs/kdm/
+ libs/kephal/
+ libs/ksysguard/
+ libs/kworkspace/
+ libs/plasmagenericshell/
+ kcheckpass/
+ ksmserver/org.kde.KSMServerInterface.xml
+ ksysguard/
+ plasma/screensaver/shell/org.kde.plasma-overlay.App.xml
+"
+
+KMLOADLIBS="libkworkspace"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with opengl OpenGL)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/krunner/metadata.xml b/kde-plasma/krunner/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/krunner/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kscreen/Manifest b/kde-plasma/kscreen/Manifest
new file mode 100644
index 00000000..2ce3b6c6
--- /dev/null
+++ b/kde-plasma/kscreen/Manifest
@@ -0,0 +1 @@
+DIST kscreen-1.0.71_p20150824.tar.xz 93080 SHA256 ae0a1830d2d7dbb350e217188c77bd30a10decbd56f056f7e2fd0964071d95d4 SHA512 ac1f71219918363d298ee30022a9207da912c4293c6056d8875425b80c70010d7476591ca366eae5af97a298511c0e41ca748ba0c570d632f490eb5c3eae3c84 WHIRLPOOL 77721dc3a03a0a5eee543418379480da2c182497ab58a1aed7e513b228d406588187307ad848ddc3f6e6566e4a2039acec5428d04bcf597816c10b2d018a2f55
diff --git a/kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild b/kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild
new file mode 100644
index 00000000..f497d1ef
--- /dev/null
+++ b/kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+VIRTUALX_REQUIRED="test"
+DECLARATIVE_REQUIRED="always"
+KDE_LINGUAS="ast bg bs ca ca@valencia cs da de el en_GB es et fi fr ga gl hu it
+ja ko lt mr nb nds nl nn pa pl pt pt_BR ro ru sk sl sv tr ug uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="Plasma screen management"
+HOMEPAGE="https://projects.kde.org/projects/extragear/base/kscreen"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug"
+
+RDEPEND="
+ >=dev-libs/qjson-0.8
+ >=kde-plasma/libkscreen-1.0.4:4
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+DISPLAY_MESSAGE=false
+pkg_preinst() {
+ if ! has_version ${CATEGORY}/${PN} ; then
+ DISPLAY_MESSAGE=true
+ fi
+
+ kde4-base_pkg_preinst
+}
+
+pkg_postinst() {
+ if [[ "${DISPLAY_MESSAGE}" = true ]]; then
+ echo
+ elog "Disable the old screen management:"
+ elog "# qdbus org.kde.kded /kded org.kde.kded.unloadModule randrmonitor"
+ elog "# qdbus org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false"
+ elog
+ elog "Enable the kded module for the kscreen based screen management:"
+ elog "# qdbus org.kde.kded /kded org.kde.kded.loadModule kscreen"
+ elog
+ elog "Now simply (un-)plugging displays should enable/disable them, while"
+ elog "the last state is remembered."
+ echo
+ fi
+
+ unset DISPLAY_MESSAGE
+
+ kde4-base_pkg_postinst
+}
diff --git a/kde-plasma/kscreen/metadata.xml b/kde-plasma/kscreen/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kscreen/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kscreensaver/Manifest b/kde-plasma/kscreensaver/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kscreensaver/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch b/kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch
new file mode 100644
index 00000000..ff3aebf2
--- /dev/null
+++ b/kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch
@@ -0,0 +1,21 @@
+diff -ruN kscreensaver-4.5.95.orig/kscreensaver/krandom_screensaver/random.cpp kscreensaver-4.5.95/kscreensaver/krandom_screensaver/random.cpp
+--- kscreensaver-4.5.95.orig/kscreensaver/krandom_screensaver/random.cpp 2010-10-27 21:54:59.000000000 +0200
++++ kscreensaver-4.5.95/kscreensaver/krandom_screensaver/random.cpp 2011-01-09 19:52:54.000000000 +0100
+@@ -110,6 +110,7 @@
+ const bool opengl = configGroup.readEntry("OpenGL", false);
+ const bool manipulatescreen = configGroup.readEntry("ManipulateScreen", false);
+ // TODO replace this with TryExec=fortune in the desktop files
++ const bool notsafeforwork = false;
+ const bool fortune = !KStandardDirs::findExe("fortune").isEmpty();
+ foreach( const KService::Ptr& service, lst ) {
+ //QString file = KStandardDirs::locate("services", service->entryPath());
+@@ -126,6 +127,9 @@
+ } else if (type == QLatin1String("Fortune")) {
+ if (!fortune)
+ goto fail;
++ } else if (type == QLatin1String("NotSafeForWork")) {
++ if (!notsafeforwork)
++ goto fail;
+ }
+ }
+ availableSavers.append(service);
diff --git a/kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild b/kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild
new file mode 100644
index 00000000..6ff3d187
--- /dev/null
+++ b/kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma screensaver framework"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+RDEPEND="
+ kde-plasma/kcheckpass:4
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.5.95-nsfw.patch"
+)
diff --git a/kde-plasma/kscreensaver/metadata.xml b/kde-plasma/kscreensaver/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kscreensaver/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/ksmserver/Manifest b/kde-plasma/ksmserver/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/ksmserver/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/ksmserver/ksmserver-4.11.22.ebuild b/kde-plasma/ksmserver/ksmserver-4.11.22.ebuild
new file mode 100644
index 00000000..e2bc5294
--- /dev/null
+++ b/kde-plasma/ksmserver/ksmserver-4.11.22.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DECLARATIVE_REQUIRED="always"
+KMNAME="kde-workspace"
+inherit kde4-meta pax-utils
+
+DESCRIPTION="The reliable Plasma session manager that talks the standard X11R6"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ kde-plasma/kcminit:4
+ kde-plasma/libkworkspace:4
+ media-libs/qimageblitz
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXrender
+"
+RDEPEND="${DEPEND}
+ kde-plasma/libkgreeter:4
+"
+
+KMEXTRACTONLY="
+ kcminit/main.h
+ libs/kdm/kgreeterplugin.h
+ kcheckpass/
+ libs/kephal/
+ libs/kworkspace/
+"
+
+KMLOADLIBS="libkworkspace"
+
+src_install() {
+ kde4-meta_src_install
+
+ # bug #483236
+ pax-mark m "${ED}/usr/$(get_libdir)/kde4/libexec/kscreenlocker_greet"
+}
diff --git a/kde-plasma/ksmserver/metadata.xml b/kde-plasma/ksmserver/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/ksmserver/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/ksplash/Manifest b/kde-plasma/ksplash/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/ksplash/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/ksplash/ksplash-4.11.22.ebuild b/kde-plasma/ksplash/ksplash-4.11.22.ebuild
new file mode 100644
index 00000000..03fe95c7
--- /dev/null
+++ b/kde-plasma/ksplash/ksplash-4.11.22.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DECLARATIVE_REQUIRED="always"
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma splashscreen framework"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="cpu_flags_x86_3dnow altivec debug cpu_flags_x86_mmx cpu_flags_x86_sse
+cpu_flags_x86_sse2 xinerama"
+
+COMMONDEPEND="
+ media-libs/libpng:0=
+ virtual/jpeg:0
+ x11-libs/libX11
+ x11-libs/libXext
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${COMMONDEPEND}
+ xinerama? ( x11-proto/xineramaproto )
+"
+RDEPEND="${COMMONDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_has cpu_flags_x86_3dnow X86_3DNOW)
+ $(cmake-utils_use_has altivec PPC_ALTIVEC)
+ $(cmake-utils_use_has cpu_flags_x86_mmx X86_MMX)
+ $(cmake-utils_use_has cpu_flags_x86_sse X86_SSE)
+ $(cmake-utils_use_has cpu_flags_x86_sse2 X86_SSE2)
+ $(cmake-utils_use_with xinerama)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/ksplash/metadata.xml b/kde-plasma/ksplash/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/ksplash/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest
new file mode 100644
index 00000000..e65c3cc2
--- /dev/null
+++ b/kde-plasma/ksshaskpass/Manifest
@@ -0,0 +1 @@
+DIST 50971-ksshaskpass-0.5.3.tar.gz 11010 SHA256 a3a47eba74a52ec3d9d8740ed9a29a5aa852d4e268b5d81154f85b90258a2124 SHA512 0274b58fb9dbb634688e5ee8b22a88012483907769796733c79f8e3c115463702a9cdd787d49d0b94a7942f5f88ed3465a6161d6e4516711b2bba5c47a91fa50 WHIRLPOOL d3e68640d3e0049bdd071fe72bf0bd9767bf349c94b2fbb42e7fafe6259d895ec2d5122ae9477e66073c53cbbda704ec0237328dd948b21207b2db2b39946450
diff --git a/kde-plasma/ksshaskpass/files/ksshaskpass.sh b/kde-plasma/ksshaskpass/files/ksshaskpass.sh
new file mode 100644
index 00000000..664c1730
--- /dev/null
+++ b/kde-plasma/ksshaskpass/files/ksshaskpass.sh
@@ -0,0 +1 @@
+export SSH_ASKPASS="/usr/bin/ksshaskpass"
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-0.5.3-r1.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-0.5.3-r1.ebuild
new file mode 100644
index 00000000..4f9551fa
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-0.5.3-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE implementation of ssh-askpass with Kwallet integration"
+HOMEPAGE="http://www.kde-apps.org/content/show.php?content=50971&forumpage=0"
+SRC_URI="http://www.kde-apps.org/CONTENT/content-files/50971-${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="debug"
+
+RDEPEND="net-misc/openssh"
+
+CFG="ksshaskpass.sh"
+
+src_prepare() {
+ STARTUPDIR=/etc/kde/startup
+ SHUTDOWNDIR=/etc/kde/shutdown
+
+ kde4-base_src_prepare
+}
+
+src_install() {
+ kde4-base_src_install
+
+ cat <<-EOF > "${T}/${CFG}"
+export SSH_ASKPASS="${PREFIX}/bin/ksshaskpass"
+EOF
+ insinto "${STARTUPDIR}"
+ doins "${T}/${CFG}"
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+
+ elog
+ elog "In order to have ksshagent start at kde startup,"
+ elog "edit ${STARTUPDIR}/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 ${SHUTDOWNDIR}/agent-shutdown.sh to"
+ elog "properly kill the agent when the session ends."
+ elog
+ elog "${P} has been installed as your default askpass application in KDE4 session."
+ elog "If it's not desired, point the one you want to use in ${STARTUPDIR}/${CFG}"
+ elog
+}
diff --git a/kde-plasma/ksshaskpass/metadata.xml b/kde-plasma/ksshaskpass/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/ksshaskpass/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kstartupconfig/Manifest b/kde-plasma/kstartupconfig/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kstartupconfig/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kstartupconfig/kstartupconfig-4.11.22.ebuild b/kde-plasma/kstartupconfig/kstartupconfig-4.11.22.ebuild
new file mode 100644
index 00000000..036a6658
--- /dev/null
+++ b/kde-plasma/kstartupconfig/kstartupconfig-4.11.22.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="Utility to launch applications with special window properties"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
diff --git a/kde-plasma/kstartupconfig/metadata.xml b/kde-plasma/kstartupconfig/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kstartupconfig/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kstyles/Manifest b/kde-plasma/kstyles/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kstyles/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kstyles/kstyles-4.11.22.ebuild b/kde-plasma/kstyles/kstyles-4.11.22.ebuild
new file mode 100644
index 00000000..67935b54
--- /dev/null
+++ b/kde-plasma/kstyles/kstyles-4.11.22.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="A set of different KDE Plasma styles"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ kde-plasma/liboxygenstyle:4=
+ x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="
+ libs/oxygen
+"
diff --git a/kde-plasma/kstyles/metadata.xml b/kde-plasma/kstyles/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kstyles/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/ksysguard/Manifest b/kde-plasma/ksysguard/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/ksysguard/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/ksysguard/ksysguard-4.11.22.ebuild b/kde-plasma/ksysguard/ksysguard-4.11.22.ebuild
new file mode 100644
index 00000000..4dfc6620
--- /dev/null
+++ b/kde-plasma/ksysguard/ksysguard-4.11.22.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+CPPUNIT_REQUIRED="optional"
+VIRTUALX_REQUIRED="test"
+WEBKIT_REQUIRED="always"
+inherit kde4-meta
+
+DESCRIPTION="Network-enabled task manager and system monitor"
+HOMEPAGE+=" https://userbase.kde.org/KSysGuard"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug lm_sensors test"
+
+DEPEND="
+ sys-libs/zlib
+ x11-libs/libX11
+ x11-libs/libXres
+ lm_sensors? ( sys-apps/lm_sensors )
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+# bug 393091
+
+KMEXTRA="
+ libs/ksysguard/
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with lm_sensors Sensors)
+ )
+
+ kde4-meta_src_configure
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+ ewarn "Note that ksysguard has powerful features; one of these is the executing of arbitrary"
+ ewarn "programs with elevated privileges (as data sources). So be careful opening worksheets"
+ ewarn "from untrusted sources!"
+}
diff --git a/kde-plasma/ksysguard/metadata.xml b/kde-plasma/ksysguard/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/ksysguard/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/ksystraycmd/Manifest b/kde-plasma/ksystraycmd/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/ksystraycmd/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/ksystraycmd/ksystraycmd-4.11.22.ebuild b/kde-plasma/ksystraycmd/ksystraycmd-4.11.22.ebuild
new file mode 100644
index 00000000..2586c2cc
--- /dev/null
+++ b/kde-plasma/ksystraycmd/ksystraycmd-4.11.22.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="Embeds applications given as argument into the system tray"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
diff --git a/kde-plasma/ksystraycmd/metadata.xml b/kde-plasma/ksystraycmd/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/ksystraycmd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/kwin/Manifest b/kde-plasma/kwin/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kwin/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kwin/kwin-4.11.22.ebuild b/kde-plasma/kwin/kwin-4.11.22.ebuild
new file mode 100644
index 00000000..55d442a2
--- /dev/null
+++ b/kde-plasma/kwin/kwin-4.11.22.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+DECLARATIVE_REQUIRED="always"
+OPENGL_REQUIRED="always"
+
+#VIRTUALX_REQUIRED=test
+RESTRICT=test
+# test 8: kwin-TestVirtualDesktops hangs even with virtualx
+
+inherit flag-o-matic kde4-meta
+
+DESCRIPTION="KDE window manager"
+HOMEPAGE+=" https://userbase.kde.org/KWin"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug gles opengl wayland"
+
+COMMONDEPEND="
+ kde-frameworks/kactivities:4
+ kde-frameworks/kdelibs:4[opengl]
+ kde-plasma/kephal:4
+ kde-plasma/libkworkspace:4
+ kde-plasma/liboxygenstyle:4
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-keysyms
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ >=x11-libs/libXrandr-1.2.1
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ opengl? ( >=media-libs/mesa-7.10 )
+ gles? ( >=media-libs/mesa-7.12[egl(+),gles2] )
+ wayland? ( >=media-libs/mesa-9.0[egl(+),wayland] )
+"
+DEPEND="${COMMONDEPEND}
+ x11-libs/xcb-util-renderutil
+ x11-proto/compositeproto
+ x11-proto/damageproto
+ x11-proto/fixesproto
+ x11-proto/randrproto
+ x11-proto/renderproto
+"
+RDEPEND="${COMMONDEPEND}
+ x11-apps/scripts
+"
+
+KMEXTRACTONLY="
+ ksmserver/
+ libs/kephal/
+ libs/oxygen/
+"
+
+# you need one of these
+REQUIRED_USE="!opengl? ( gles ) !gles? ( opengl ) wayland? ( gles )"
+
+src_configure() {
+ # FIXME Remove when activity API moved away from libkworkspace
+ append-cppflags "-I${EPREFIX}/usr/include/kworkspace"
+
+ local mycmakeargs=(
+ $(cmake-utils_use_with gles OpenGLES)
+ $(cmake-utils_use gles KWIN_BUILD_WITH_OPENGLES)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with wayland Wayland)
+ -DWITH_X11_Xcomposite=ON
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/kwin/metadata.xml b/kde-plasma/kwin/metadata.xml
new file mode 100644
index 00000000..5640fb6e
--- /dev/null
+++ b/kde-plasma/kwin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="gles">Enable support for GLES</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/kwrited/Manifest b/kde-plasma/kwrited/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/kwrited/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kwrited/kwrited-4.11.22.ebuild b/kde-plasma/kwrited/kwrited-4.11.22.ebuild
new file mode 100644
index 00000000..ce2e44d3
--- /dev/null
+++ b/kde-plasma/kwrited/kwrited-4.11.22.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma daemon listening for wall and write messages"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ || ( >=sys-libs/libutempter-1.1.5 >=sys-freebsd/freebsd-lib-9.0 )
+"
+RDEPEND="${DEPEND}"
diff --git a/kde-plasma/kwrited/metadata.xml b/kde-plasma/kwrited/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/kwrited/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/libkgreeter/Manifest b/kde-plasma/libkgreeter/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/libkgreeter/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/libkgreeter/libkgreeter-4.11.22.ebuild b/kde-plasma/libkgreeter/libkgreeter-4.11.22.ebuild
new file mode 100644
index 00000000..f41a71dd
--- /dev/null
+++ b/kde-plasma/libkgreeter/libkgreeter-4.11.22.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="libs/kdm"
+inherit kde4-meta
+
+DESCRIPTION="Conversation widgets for KDM greeter"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ !<kde-plasma/kdm-4.11.17-r1:4
+"
+
+RDEPEND="${DEPEND}"
diff --git a/kde-plasma/libkgreeter/metadata.xml b/kde-plasma/libkgreeter/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/libkgreeter/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/libkscreen/Manifest b/kde-plasma/libkscreen/Manifest
new file mode 100644
index 00000000..440eb45b
--- /dev/null
+++ b/kde-plasma/libkscreen/Manifest
@@ -0,0 +1 @@
+DIST libkscreen-1.0.5_p20150822.tar.bz2 38419 SHA256 25cf4117dc99c3278a8abf315fa31ea3a3a1e065a2b28c37a26b2da508bee4f6 SHA512 2a35b63f65d4440205ff11fe35cf1b87cb656e0647eb7d2c7bada7dd6b71cb86d32ffb20a3b63e57d6444f17d3cb0758fc015e95bec62747189fba5a50fab48a WHIRLPOOL 8ccdd2ff43fcb186ab31653ac47e8b8f86be4a5cfdb9231b2e4f57bb335be578658716fa490141ccc91ac636982f28ec0ebc724d69058242d3deacd3e8c00383
diff --git a/kde-plasma/libkscreen/libkscreen-1.0.5_p20150822.ebuild b/kde-plasma/libkscreen/libkscreen-1.0.5_p20150822.ebuild
new file mode 100644
index 00000000..20cb9611
--- /dev/null
+++ b/kde-plasma/libkscreen/libkscreen-1.0.5_p20150822.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+VIRTUALX_REQUIRED="test"
+inherit kde4-base
+
+DESCRIPTION="Plasma screen management library"
+HOMEPAGE="https://projects.kde.org/projects/extragear/libs/libkscreen"
+SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ >=dev-libs/qjson-0.8
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXrandr
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-qt/qttest:4 )
+"
diff --git a/kde-plasma/libkscreen/metadata.xml b/kde-plasma/libkscreen/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/libkscreen/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/libkworkspace/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/libkworkspace/libkworkspace-4.11.22.ebuild b/kde-plasma/libkworkspace/libkworkspace-4.11.22.ebuild
new file mode 100644
index 00000000..1da5d44f
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-4.11.22.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="libs/kworkspace"
+inherit kde4-meta
+
+DESCRIPTION="A library for Plasma desktop applications"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+KMEXTRACTONLY="
+ ksmserver/org.kde.KSMServerInterface.xml
+ kwin/org.kde.KWin.xml
+"
+
+KMSAVELIBS="true"
+
+DEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXau
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e 's/install( FILES kdisplaymanager.h/install( FILES kdisplaymanager.h screenpreviewwidget.h/' \
+ libs/kworkspace/CMakeLists.txt || die "failed to provide screenpreviewwidget.h"
+
+ kde4-meta_src_prepare
+}
diff --git a/kde-plasma/libkworkspace/metadata.xml b/kde-plasma/libkworkspace/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/libkworkspace/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/liboxygenstyle/Manifest b/kde-plasma/liboxygenstyle/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/liboxygenstyle/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/liboxygenstyle/liboxygenstyle-4.11.22.ebuild b/kde-plasma/liboxygenstyle/liboxygenstyle-4.11.22.ebuild
new file mode 100644
index 00000000..408e22fd
--- /dev/null
+++ b/kde-plasma/liboxygenstyle/liboxygenstyle-4.11.22.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="libs/oxygen"
+inherit kde4-meta
+
+DESCRIPTION="Library to support the Oxygen style in KDE Plasma"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+SLOT="4/${PV}"
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
diff --git a/kde-plasma/liboxygenstyle/metadata.xml b/kde-plasma/liboxygenstyle/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/liboxygenstyle/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/libplasmaclock/Manifest b/kde-plasma/libplasmaclock/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/libplasmaclock/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/libplasmaclock/libplasmaclock-4.11.22.ebuild b/kde-plasma/libplasmaclock/libplasmaclock-4.11.22.ebuild
new file mode 100644
index 00000000..6b2db279
--- /dev/null
+++ b/kde-plasma/libplasmaclock/libplasmaclock-4.11.22.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="libs/plasmaclock"
+inherit kde4-meta
+
+DESCRIPTION="Libraries for KDE Plasma's clocks"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug +pim"
+
+DEPEND="
+ kde-plasma/kephal:4
+ pim? ( $(add_kdeapps_dep kdepimlibs) )
+"
+RDEPEND="${DEPEND}"
+
+KMSAVELIBS="true"
+
+KMEXTRACTONLY="
+ libs/kephal/
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with pim KdepimLibs)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-plasma/libplasmaclock/metadata.xml b/kde-plasma/libplasmaclock/metadata.xml
new file mode 100644
index 00000000..70d416ae
--- /dev/null
+++ b/kde-plasma/libplasmaclock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="pim">KDE PIM integration via <pkg>kde-apps/kdepimlibs</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/libplasmagenericshell/Manifest b/kde-plasma/libplasmagenericshell/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/libplasmagenericshell/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/libplasmagenericshell/libplasmagenericshell-4.11.22.ebuild b/kde-plasma/libplasmagenericshell/libplasmagenericshell-4.11.22.ebuild
new file mode 100644
index 00000000..9aec6766
--- /dev/null
+++ b/kde-plasma/libplasmagenericshell/libplasmagenericshell-4.11.22.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DECLARATIVE_REQUIRED="always"
+KMNAME="kde-workspace"
+KMMODULE="libs/plasmagenericshell"
+inherit kde4-meta
+
+DESCRIPTION="Libraries for the KDE Plasma shell"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug test"
+
+DEPEND="
+ kde-plasma/kephal:4
+ kde-plasma/libkworkspace:4
+ x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
+
+KMSAVELIBS="true"
+
+KMEXTRACTONLY="
+ libs/kephal/kephal/
+ plasma/desktop/shell/data/
+"
diff --git a/kde-plasma/libplasmagenericshell/metadata.xml b/kde-plasma/libplasmagenericshell/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/libplasmagenericshell/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/libtaskmanager/Manifest b/kde-plasma/libtaskmanager/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/libtaskmanager/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/libtaskmanager/libtaskmanager-4.11.22.ebuild b/kde-plasma/libtaskmanager/libtaskmanager-4.11.22.ebuild
new file mode 100644
index 00000000..92b62f81
--- /dev/null
+++ b/kde-plasma/libtaskmanager/libtaskmanager-4.11.22.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+KMMODULE="libs/taskmanager"
+inherit kde4-meta
+
+DESCRIPTION="A library that provides basic taskmanager functionality"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ kde-frameworks/kactivities:4
+ kde-plasma/kephal:4
+ kde-plasma/ksysguard:4
+ kde-plasma/libkworkspace:4
+ x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
+
+KMSAVELIBS="true"
+
+KMEXTRACTONLY="
+ libs/kephal/
+ libs/kworkspace/
+"
+
+src_prepare() {
+ kde4-meta_src_prepare
+ sed -e 's:ksysguard/processcore/processes.h:ksysguard/processes.h:g' -i "${S}/libs/taskmanager/taskitem.cpp" || die
+ sed -e 's:ksysguard/processcore/process.h:ksysguard/process.h:g' -i "${S}/libs/taskmanager/taskitem.cpp" || die
+}
diff --git a/kde-plasma/libtaskmanager/metadata.xml b/kde-plasma/libtaskmanager/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/libtaskmanager/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/metadata.xml b/kde-plasma/metadata.xml
new file mode 100644
index 00000000..b545c254
--- /dev/null
+++ b/kde-plasma/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The kde-plasma category contains KDE Plasma
+ </longdescription>
+</catmetadata>
diff --git a/kde-plasma/milou/Manifest b/kde-plasma/milou/Manifest
new file mode 100644
index 00000000..e3af75d0
--- /dev/null
+++ b/kde-plasma/milou/Manifest
@@ -0,0 +1 @@
+DIST milou-0.1.tar.xz 53196 SHA256 cd79e5a95310146269ba2d0da4aa9dbde300ead8d54747b8edecfa863d9fdfe4 SHA512 0de077d12237e1cefcccb498b80238a02fdf2788931f835858551097337b71c5c3bf80d7e4c70d9db9fc2940b2127e0c68511130cccc7a72fd7cd67e4d7b0e1e WHIRLPOOL 31901e729d4468927e546b46e7ead5082ae7e0470315d3835fe55f3b0b6fedbaadddb296fbc29055e28401dd5e1fdab4480e92ef975578e055af46c9d1384046
diff --git a/kde-plasma/milou/metadata.xml b/kde-plasma/milou/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/milou/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/milou/milou-0.1.ebuild b/kde-plasma/milou/milou-0.1.ebuild
new file mode 100644
index 00000000..ba7b4f85
--- /dev/null
+++ b/kde-plasma/milou/milou-0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_MINIMAL="4.13"
+KDE_LINGUAS="bs ca cs da de el es fi fr hu ja ko lt nds nl pl pt pt_BR ro sk sv
+uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="Dedicated search application built on top of Baloo"
+HOMEPAGE="https://projects.kde.org/projects/extragear/base/milou"
+SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ $(add_kdeapps_dep kdepimlibs)
+ kde-frameworks/baloo:4
+"
+DEPEND="${RDEPEND}
+ kde-frameworks/kfilemetadata:4
+"
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest
new file mode 100644
index 00000000..3e1a6bb7
--- /dev/null
+++ b/kde-plasma/plasma-nm/Manifest
@@ -0,0 +1 @@
+DIST plasma-nm-0.9.3.6.tar.xz 551320 SHA256 56b5c8221761fac30808117c7f8fa11a9e3cdb4b2d16a733d33996bc7136b64b SHA512 50f3e5020f4437d710709a301b981f888898c293a71dff3aee809255207a0f97caf5d3811b453da2338df93238ef33a79e85cb3598ee38d8a41255d8a572e256 WHIRLPOOL 2486304f8c5c169105e2ea0527e7fb291cc9c9f9fee36a2cdc9d5aff7f5a72cb8bdda692ac54f621c63a84b2e48ba2c429e20a4bbe7efa91ecb48a393286dc7c
diff --git a/kde-plasma/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch b/kde-plasma/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch
new file mode 100644
index 00000000..11517638
--- /dev/null
+++ b/kde-plasma/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch
@@ -0,0 +1,14 @@
+Fixes build with networkmanager-1.0.6.
+
+Triggered by http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-0&id=6f616d4c4b04d5478f60d0311317bc84c5459ea4.
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -49,6 +49,7 @@
+ ${CMAKE_CURRENT_SOURCE_DIR}/libs
+ ${CMAKE_CURRENT_SOURCE_DIR}/libs/editor/
+ ${NETWORKMANAGER_INCLUDE_DIRS}
++ ${NM-UTIL_INCLUDE_DIRS}
+ ${NETWORKMANAGERQT_INCLUDE_DIRS}
+ ${KDE4_INCLUDES})
+
diff --git a/kde-plasma/plasma-nm/metadata.xml b/kde-plasma/plasma-nm/metadata.xml
new file mode 100644
index 00000000..79c1b9ff
--- /dev/null
+++ b/kde-plasma/plasma-nm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="modemmanager">Enable support for mobile broadband devices</flag>
+ <flag name="openconnect">Build support for the OpenConnect VPN client</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/plasma-nm/plasma-nm-0.9.3.6.ebuild b/kde-plasma/plasma-nm/plasma-nm-0.9.3.6.ebuild
new file mode 100644
index 00000000..3ad890e9
--- /dev/null
+++ b/kde-plasma/plasma-nm/plasma-nm-0.9.3.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="ar bg bs ca ca@valencia cs da de el en_GB eo es et fa fi fr ga gl
+hr hu is it ja km ko lt lv mai mr ms nb nds nl nn pa pl pt pt_BR ro ru sk
+sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv th tr ug uk zh_CN zh_TW"
+DECLARATIVE_REQUIRED="always"
+inherit kde4-base
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+else
+ KEYWORDS=""
+fi
+
+DESCRIPTION="KDE Plasma applet for NetworkManager"
+HOMEPAGE="https://projects.kde.org/projects/playground/network/plasma-nm"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="4"
+IUSE="debug modemmanager openconnect"
+
+RDEPEND="
+ >=net-libs/libnm-qt-0.9.8.2[modemmanager?]
+ net-misc/mobile-broadband-provider-info
+ >=net-misc/networkmanager-0.9.8.0
+ modemmanager? ( >=net-libs/libmm-qt-1.0.0 )
+ openconnect? (
+ net-misc/networkmanager-openconnect
+ net-misc/openconnect:=
+ )
+ !kde-misc/networkmanagement
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+PATCHES=( "${FILESDIR}/${P}-networkmanager-1.0.6.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use !modemmanager DISABLE_MODEMMANAGER_SUPPORT)
+ $(cmake-utils_use_find_package openconnect OpenConnect)
+ )
+
+ kde4-base_src_configure
+}
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/plasma-workspace/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/plasma-workspace/metadata.xml b/kde-plasma/plasma-workspace/metadata.xml
new file mode 100644
index 00000000..e85d6c4b
--- /dev/null
+++ b/kde-plasma/plasma-workspace/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="json">Enable JSON support via <pkg>dev-libs/qjson</pkg></flag>
+ <flag name="pim">KDE PIM integration via <pkg>kde-apps/kdepimlibs</pkg></flag>
+ <flag name="qalculate">Enable Qalculate runner using <pkg>sci-libs/libqalculate</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild
new file mode 100644
index 00000000..3c05c815
--- /dev/null
+++ b/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DECLARATIVE_REQUIRED="always"
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+KMMODULE="plasma"
+PYTHON_COMPAT=( python2_7 )
+OPENGL_REQUIRED="always"
+WEBKIT_REQUIRED="always"
+inherit python-single-r1 kde4-meta
+
+DESCRIPTION="Plasma: KDE desktop framework"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug gps json +pim python qalculate"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMONDEPEND="
+ dev-libs/libdbusmenu-qt
+ >=dev-qt/qtcore-4.8.4-r3:4
+ kde-frameworks/kactivities:4
+ kde-plasma/kephal:4
+ kde-plasma/ksysguard:4
+ kde-plasma/libkworkspace:4
+ kde-plasma/libplasmaclock:4[pim?]
+ kde-plasma/libplasmagenericshell:4
+ kde-plasma/libtaskmanager:4
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ gps? ( >=sci-geosciences/gpsd-2.37 )
+ json? ( dev-libs/qjson )
+ pim? ( $(add_kdeapps_dep kdepimlibs) )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/PyQt4-4.4.0[X,${PYTHON_USEDEP}]
+ $(add_kdeapps_dep pykde4 "${PYTHON_USEDEP}")
+ )
+ qalculate? ( sci-libs/libqalculate )
+"
+DEPEND="${COMMONDEPEND}
+ dev-libs/boost
+ x11-proto/compositeproto
+ x11-proto/damageproto
+ x11-proto/fixesproto
+ x11-proto/renderproto
+"
+RDEPEND="${COMMONDEPEND}
+ $(add_kdeapps_dep plasma-runtime)
+"
+
+KMEXTRA="
+ appmenu/
+ ktouchpadenabler/
+ statusnotifierwatcher/
+"
+KMEXTRACTONLY="
+ kcheckpass/
+ krunner/dbus/org.freedesktop.ScreenSaver.xml
+ krunner/dbus/org.kde.krunner.App.xml
+ ksmserver/org.kde.KSMServerInterface.xml
+ ksmserver/screenlocker/
+ libs/kephal/
+ libs/kworkspace/
+ libs/taskmanager/
+ libs/plasmagenericshell/
+ libs/ksysguard/
+ libs/kdm/kgreeterplugin.h
+ ksysguard/
+"
+
+pkg_setup() {
+ if use python ; then
+ python-single-r1_pkg_setup
+ fi
+ kde4-meta_pkg_setup
+}
+
+src_unpack() {
+ if use handbook; then
+ KMEXTRA+=" doc/plasma-desktop"
+ fi
+
+ kde4-meta_src_unpack
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_NepomukCore=OFF
+ -DWITH_Soprano=OFF
+ -DWITH_Xmms=OFF
+ $(cmake-utils_use_with gps libgps)
+ $(cmake-utils_use_with json QJSON)
+ $(cmake-utils_use_with pim Akonadi)
+ $(cmake-utils_use_with pim KdepimLibs)
+ $(cmake-utils_use_with python PythonLibrary)
+ $(cmake-utils_use_with qalculate)
+ )
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ if use python; then
+ python_optimize "${ED}"
+ fi
+}
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/powerdevil/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/powerdevil/metadata.xml b/kde-plasma/powerdevil/metadata.xml
new file mode 100644
index 00000000..8b66c395
--- /dev/null
+++ b/kde-plasma/powerdevil/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="pm-utils">Adds support for suspend/resume the system through <pkg>sys-power/pm-utils</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/powerdevil/powerdevil-4.11.22.ebuild b/kde-plasma/powerdevil/powerdevil-4.11.22.ebuild
new file mode 100644
index 00000000..8048d5ee
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-4.11.22.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="PowerDevil is an utility for KDE4 for Laptop Powermanagement"
+HOMEPAGE="https://solid.kde.org"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug +pm-utils"
+
+DEPEND="
+ kde-frameworks/kactivities:4
+ kde-plasma/libkworkspace:4
+ !aqua? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ )
+"
+RDEPEND="${DEPEND}
+ pm-utils? ( sys-power/pm-utils )
+"
+
+KMEXTRACTONLY="
+ krunner/
+ ksmserver/org.kde.KSMServerInterface.xml
+ ksmserver/screenlocker/dbus/org.freedesktop.ScreenSaver.xml
+"
diff --git a/kde-plasma/qguiplatformplugin_kde/Manifest b/kde-plasma/qguiplatformplugin_kde/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/qguiplatformplugin_kde/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/qguiplatformplugin_kde/metadata.xml b/kde-plasma/qguiplatformplugin_kde/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/qguiplatformplugin_kde/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/qguiplatformplugin_kde/qguiplatformplugin_kde-4.11.22.ebuild b/kde-plasma/qguiplatformplugin_kde/qguiplatformplugin_kde-4.11.22.ebuild
new file mode 100644
index 00000000..4e81e60e
--- /dev/null
+++ b/kde-plasma/qguiplatformplugin_kde/qguiplatformplugin_kde-4.11.22.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="Helps integration of pure Qt applications with KDE Plasma"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
diff --git a/kde-plasma/solid-actions-kcm/Manifest b/kde-plasma/solid-actions-kcm/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/solid-actions-kcm/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/solid-actions-kcm/metadata.xml b/kde-plasma/solid-actions-kcm/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/kde-plasma/solid-actions-kcm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/kde-plasma/solid-actions-kcm/solid-actions-kcm-4.11.22.ebuild b/kde-plasma/solid-actions-kcm/solid-actions-kcm-4.11.22.ebuild
new file mode 100644
index 00000000..d8cd4553
--- /dev/null
+++ b/kde-plasma/solid-actions-kcm/solid-actions-kcm-4.11.22.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+CPPUNIT_REQUIRED="test"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma control module for Solid actions"
+HOMEPAGE="https://solid.kde.org"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+RDEPEND="
+ $(add_kdeapps_dep solid-runtime)
+ !kde-base/solid:4
+"
diff --git a/kde-plasma/systemsettings/Manifest b/kde-plasma/systemsettings/Manifest
new file mode 100644
index 00000000..db5163f8
--- /dev/null
+++ b/kde-plasma/systemsettings/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/systemsettings/files/systemsettings-4.11.22-strigi-removal.patch b/kde-plasma/systemsettings/files/systemsettings-4.11.22-strigi-removal.patch
new file mode 100644
index 00000000..e98387ff
--- /dev/null
+++ b/kde-plasma/systemsettings/files/systemsettings-4.11.22-strigi-removal.patch
@@ -0,0 +1,35 @@
+diff -Naur kde-workspace-4.11.22.orig/CMakeLists.txt kde-workspace-4.11.22/CMakeLists.txt
+--- kde-workspace-4.11.22.orig/CMakeLists.txt 2015-08-12 09:03:15.000000000 +0200
++++ kde-workspace-4.11.22/CMakeLists.txt 2016-05-25 21:17:36.503606974 +0200
+@@ -20,12 +20,6 @@
+
+ option(WITH_XINERAMA "Xinerama support for multi-headed X displays" ON)
+
+-find_package(Strigi)
+-
+-set_package_properties(Strigi PROPERTIES DESCRIPTION "Desktop indexing and search support"
+- URL "http://strigi.sourceforge.net"
+- TYPE REQUIRED
+- )
+
+ find_package(ZLIB)
+ set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams"
+diff -Naur kde-workspace-4.11.22.orig/kcontrol/kfontinst/CMakeLists.txt kde-workspace-4.11.22/kcontrol/kfontinst/CMakeLists.txt
+--- kde-workspace-4.11.22.orig/kcontrol/kfontinst/CMakeLists.txt 2015-08-12 09:03:15.000000000 +0200
++++ kde-workspace-4.11.22/kcontrol/kfontinst/CMakeLists.txt 2016-05-25 21:18:13.023186175 +0200
+@@ -4,7 +4,6 @@
+ find_package(Qt4 REQUIRED)
+ find_package(Freetype REQUIRED)
+ find_package(Fontconfig REQUIRED)
+- find_package(Strigi REQUIRED)
+ find_package(X11 REQUIRED)
+ macro_log_feature(X11_Xft_FOUND "libxft" "X FreeType interface library" "http://www.x.org" FALSE "" "Font installer and font previews")
+ include(KDE4Defaults)
+@@ -40,7 +39,6 @@
+ add_subdirectory( lib )
+ add_subdirectory( dbus )
+ add_subdirectory( kcmfontinst )
+- add_subdirectory( strigi-analyzer )
+ add_subdirectory( apps )
+ add_subdirectory( kio )
+ add_subdirectory( thumbnail )
diff --git a/kde-plasma/systemsettings/files/systemsettings-kcm-randr.patch b/kde-plasma/systemsettings/files/systemsettings-kcm-randr.patch
new file mode 100644
index 00000000..43019fcb
--- /dev/null
+++ b/kde-plasma/systemsettings/files/systemsettings-kcm-randr.patch
@@ -0,0 +1,20 @@
+Adds option to disable the randr KCM (to use KScreen instead) wrt bug #524266.
+
+Source: http://pkgs.fedoraproject.org/cgit/kde-workspace.git/plain/kde-workspace-4.10.2-BUILD_KCM_RANDR.patch
+
+diff -up kde-workspace-4.10.2/kcontrol/CMakeLists.txt.BUILD_KCM_RANDR kde-workspace-4.10.2/kcontrol/CMakeLists.txt
+--- kde-workspace-4.10.2/kcontrol/CMakeLists.txt.BUILD_KCM_RANDR 2013-03-01 00:32:25.040847159 -0600
++++ kde-workspace-4.10.2/kcontrol/CMakeLists.txt 2013-04-18 08:58:31.086753204 -0500
+@@ -6,9 +6,10 @@ macro_log_feature(FREETYPE_FOUND "FreeTy
+ set(libkxftconfig_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/fonts/kxftconfig.cpp )
+
+
+-if( X11_Xrandr_FOUND )
++OPTION(BUILD_KCM_RANDR "Build kcontrol/randr module" ON)
++if(BUILD_KCM_RANDR AND X11_Xrandr_FOUND)
+ add_subdirectory( randr )
+-endif(X11_Xrandr_FOUND )
++endif(BUILD_KCM_RANDR AND X11_Xrandr_FOUND)
+
+ if(X11_Xkb_FOUND)
+ add_subdirectory( keyboard )
diff --git a/kde-plasma/systemsettings/metadata.xml b/kde-plasma/systemsettings/metadata.xml
new file mode 100644
index 00000000..4d46ebe2
--- /dev/null
+++ b/kde-plasma/systemsettings/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="kscreen">Use <pkg>kde-plasma/kscreen</pkg> for screen management</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild b/kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild
new file mode 100644
index 00000000..b53c2345
--- /dev/null
+++ b/kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-workspace"
+OPENGL_REQUIRED="optional"
+VIRTUALX_REQUIRED="test"
+VIRTUALDBUS_TEST="true"
+inherit kde4-meta
+
+DESCRIPTION="System settings utility"
+HOMEPAGE+=" https://userbase.kde.org/System_Settings"
+IUSE="debug gtk +kscreen +usb"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+
+COMMONDEPEND="
+ dev-libs/glib:2
+ kde-plasma/kwin:4
+ kde-plasma/libkworkspace:4
+ media-libs/fontconfig
+ >=media-libs/freetype-2
+ >=x11-libs/libxklavier-3.2
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXft
+ x11-libs/libXi
+ x11-libs/libxkbfile
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ opengl? ( virtual/opengl )
+ usb? ( virtual/libusb:0 )
+"
+DEPEND="${COMMONDEPEND}
+ x11-proto/kbproto
+ x11-proto/xextproto
+"
+RDEPEND="${COMMONDEPEND}
+ >=kde-frameworks/oxygen-icons-5.19.0:5
+ sys-libs/timezone-data
+ x11-apps/setxkbmap
+ x11-misc/xkeyboard-config
+ gtk? ( kde-plasma/kde-gtk-config:4 )
+ kscreen? ( kde-plasma/kscreen:4 )
+"
+
+KMEXTRA="
+ kcontrol/
+"
+KMEXTRACTONLY="
+ krunner/dbus/org.kde.krunner.App.xml
+ krunner/dbus/org.kde.screensaver.xml
+ ksmserver/screenlocker/dbus/org.kde.screensaver.xml
+ kwin/
+ libs/
+ plasma/
+"
+# fails to connect to a kded instance
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-kcm-randr.patch"
+)
+
+src_unpack() {
+ if use handbook; then
+ KMEXTRA+="
+ doc/kcontrol
+ doc/kfontview
+ "
+ fi
+
+ kde4-meta_src_unpack
+}
+
+src_prepare() {
+ eapply "${FILESDIR}/${P}-strigi-removal.patch"
+
+ sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
+ systemsettings/CMakeLists.txt \
+ || die "Failed to fix systemsettingsrc install location"
+
+ sed -i -e '/kde4_install_icons/ s/^/#/' kcontrol/kfontinst/kio/CMakeLists.txt \
+ || die "Failed to disable icons"
+
+ kde4-meta_src_prepare
+}
+
+# FIXME: is have_openglxvisual found without screensaver
+src_configure() {
+ # Old keyboard-detection code is unmaintained,
+ # so we force the new stuff, using libxklavier.
+ local mycmakeargs=(
+ -DUSE_XKLAVIER=ON
+ -DWITH_LibXKlavier=ON
+ -DWITH_GLIB2=ON
+ -DWITH_GObject=ON
+ -DBUILD_KCM_RANDR=$(usex !kscreen)
+ -DWITH_OpenGL=$(usex opengl)
+ -DWITH_USB=$(usex usb)
+ )
+
+ kde4-meta_src_configure
+}