public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/kauth/, kde-frameworks/sonnet/, kde-frameworks/attica/, ...
@ 2017-11-11 15:07 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2017-11-11 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     61c433dc07b3fa6b1921dcb41b927dbee0d9bc7b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 15:07:16 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 15:07:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c433dc

kde-frameworks: Add KDE Frameworks 5.40.0

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 kde-frameworks/attica/Manifest                     |  1 +
 kde-frameworks/attica/attica-5.40.0.ebuild         | 16 ++++
 kde-frameworks/baloo/Manifest                      |  1 +
 kde-frameworks/baloo/baloo-5.40.0.ebuild           | 34 +++++++++
 kde-frameworks/bluez-qt/Manifest                   |  1 +
 kde-frameworks/bluez-qt/bluez-qt-5.40.0.ebuild     | 34 +++++++++
 kde-frameworks/breeze-icons-rcc/Manifest           |  1 +
 .../breeze-icons-rcc-5.40.0.ebuild                 | 33 +++++++++
 kde-frameworks/breeze-icons/Manifest               |  1 +
 .../breeze-icons/breeze-icons-5.40.0.ebuild        | 31 ++++++++
 kde-frameworks/extra-cmake-modules/Manifest        |  1 +
 .../extra-cmake-modules-5.40.0.ebuild              | 61 ++++++++++++++++
 kde-frameworks/frameworkintegration/Manifest       |  1 +
 .../frameworkintegration-5.40.0.ebuild             | 53 ++++++++++++++
 kde-frameworks/kactivities-stats/Manifest          |  1 +
 .../kactivities-stats-5.40.0.ebuild                | 21 ++++++
 kde-frameworks/kactivities/Manifest                |  1 +
 .../kactivities/kactivities-5.40.0.ebuild          | 26 +++++++
 kde-frameworks/kapidox/Manifest                    |  1 +
 kde-frameworks/kapidox/kapidox-5.40.0.ebuild       | 28 +++++++
 kde-frameworks/karchive/Manifest                   |  1 +
 kde-frameworks/karchive/karchive-5.40.0.ebuild     | 27 +++++++
 kde-frameworks/kauth/Manifest                      |  1 +
 kde-frameworks/kauth/kauth-5.40.0.ebuild           | 32 ++++++++
 kde-frameworks/kbookmarks/Manifest                 |  1 +
 kde-frameworks/kbookmarks/kbookmarks-5.40.0.ebuild | 29 ++++++++
 kde-frameworks/kcmutils/Manifest                   |  1 +
 kde-frameworks/kcmutils/kcmutils-5.40.0.ebuild     | 31 ++++++++
 kde-frameworks/kcodecs/Manifest                    |  1 +
 kde-frameworks/kcodecs/kcodecs-5.40.0.ebuild       | 13 ++++
 kde-frameworks/kcompletion/Manifest                |  1 +
 .../kcompletion/kcompletion-5.40.0.ebuild          | 21 ++++++
 kde-frameworks/kconfig/Manifest                    |  1 +
 kde-frameworks/kconfig/kconfig-5.40.0.ebuild       | 26 +++++++
 kde-frameworks/kconfigwidgets/Manifest             |  1 +
 .../kconfigwidgets/kconfigwidgets-5.40.0.ebuild    | 36 +++++++++
 kde-frameworks/kcoreaddons/Manifest                |  1 +
 .../kcoreaddons/kcoreaddons-5.40.0.ebuild          | 36 +++++++++
 kde-frameworks/kcrash/Manifest                     |  1 +
 kde-frameworks/kcrash/kcrash-5.40.0.ebuild         | 28 +++++++
 kde-frameworks/kdbusaddons/Manifest                |  1 +
 .../kdbusaddons/kdbusaddons-5.40.0.ebuild          | 28 +++++++
 kde-frameworks/kdeclarative/Manifest               |  1 +
 .../kdeclarative/kdeclarative-5.40.0.ebuild        | 32 ++++++++
 kde-frameworks/kded/Manifest                       |  1 +
 kde-frameworks/kded/kded-5.40.0.ebuild             | 36 +++++++++
 kde-frameworks/kdelibs4support/Manifest            |  1 +
 .../kdelibs4support/kdelibs4support-5.40.0.ebuild  | 85 ++++++++++++++++++++++
 kde-frameworks/kdesignerplugin/Manifest            |  1 +
 .../kdesignerplugin/kdesignerplugin-5.40.0.ebuild  | 54 ++++++++++++++
 kde-frameworks/kdesu/Manifest                      |  1 +
 kde-frameworks/kdesu/kdesu-5.40.0.ebuild           | 32 ++++++++
 kde-frameworks/kdewebkit/Manifest                  |  1 +
 kde-frameworks/kdewebkit/kdewebkit-5.40.0.ebuild   | 30 ++++++++
 kde-frameworks/kdnssd/Manifest                     |  1 +
 kde-frameworks/kdnssd/kdnssd-5.40.0.ebuild         | 31 ++++++++
 kde-frameworks/kdoctools/Manifest                  |  1 +
 kde-frameworks/kdoctools/kdoctools-5.40.0.ebuild   | 25 +++++++
 kde-frameworks/kemoticons/Manifest                 |  1 +
 kde-frameworks/kemoticons/kemoticons-5.40.0.ebuild | 26 +++++++
 kde-frameworks/kfilemetadata/Manifest              |  1 +
 .../kfilemetadata/kfilemetadata-5.40.0.ebuild      | 61 ++++++++++++++++
 kde-frameworks/kglobalaccel/Manifest               |  1 +
 .../kglobalaccel/kglobalaccel-5.40.0.ebuild        | 29 ++++++++
 kde-frameworks/kguiaddons/Manifest                 |  1 +
 kde-frameworks/kguiaddons/kguiaddons-5.40.0.ebuild | 22 ++++++
 kde-frameworks/khtml/Manifest                      |  1 +
 kde-frameworks/khtml/khtml-5.40.0.ebuild           | 68 +++++++++++++++++
 kde-frameworks/ki18n/Manifest                      |  1 +
 kde-frameworks/ki18n/ki18n-5.40.0.ebuild           | 36 +++++++++
 kde-frameworks/kiconthemes/Manifest                |  1 +
 .../kiconthemes/kiconthemes-5.40.0.ebuild          | 29 ++++++++
 kde-frameworks/kidletime/Manifest                  |  1 +
 kde-frameworks/kidletime/kidletime-5.40.0.ebuild   | 46 ++++++++++++
 kde-frameworks/kimageformats/Manifest              |  1 +
 .../kimageformats/kimageformats-5.40.0.ebuild      | 35 +++++++++
 kde-frameworks/kinit/Manifest                      |  1 +
 kde-frameworks/kinit/kinit-5.40.0.ebuild           | 41 +++++++++++
 kde-frameworks/kio/Manifest                        |  1 +
 kde-frameworks/kio/kio-5.40.0.ebuild               | 78 ++++++++++++++++++++
 kde-frameworks/kirigami/Manifest                   |  1 +
 kde-frameworks/kirigami/kirigami-5.40.0.ebuild     | 43 +++++++++++
 kde-frameworks/kitemmodels/Manifest                |  1 +
 .../kitemmodels/kitemmodels-5.40.0.ebuild          | 14 ++++
 kde-frameworks/kitemviews/Manifest                 |  1 +
 kde-frameworks/kitemviews/kitemviews-5.40.0.ebuild | 20 +++++
 kde-frameworks/kjobwidgets/Manifest                |  1 +
 .../kjobwidgets/kjobwidgets-5.40.0.ebuild          | 35 +++++++++
 kde-frameworks/kjs/Manifest                        |  1 +
 kde-frameworks/kjs/kjs-5.40.0.ebuild               | 22 ++++++
 kde-frameworks/kjsembed/Manifest                   |  1 +
 kde-frameworks/kjsembed/kjsembed-5.40.0.ebuild     | 26 +++++++
 kde-frameworks/kmediaplayer/Manifest               |  1 +
 .../kmediaplayer/kmediaplayer-5.40.0.ebuild        | 21 ++++++
 kde-frameworks/knewstuff/Manifest                  |  1 +
 kde-frameworks/knewstuff/knewstuff-5.40.0.ebuild   | 36 +++++++++
 kde-frameworks/knotifications/Manifest             |  1 +
 .../knotifications/knotifications-5.40.0.ebuild    | 44 +++++++++++
 kde-frameworks/knotifyconfig/Manifest              |  1 +
 .../knotifyconfig/knotifyconfig-5.40.0.ebuild      | 24 ++++++
 kde-frameworks/kpackage/Manifest                   |  1 +
 kde-frameworks/kpackage/kpackage-5.40.0.ebuild     | 28 +++++++
 kde-frameworks/kparts/Manifest                     |  1 +
 kde-frameworks/kparts/kparts-5.40.0.ebuild         | 30 ++++++++
 kde-frameworks/kpeople/Manifest                    |  1 +
 kde-frameworks/kpeople/kpeople-5.40.0.ebuild       | 38 ++++++++++
 kde-frameworks/kplotting/Manifest                  |  1 +
 kde-frameworks/kplotting/kplotting-5.40.0.ebuild   | 18 +++++
 kde-frameworks/kpty/Manifest                       |  1 +
 kde-frameworks/kpty/kpty-5.40.0.ebuild             | 26 +++++++
 kde-frameworks/kross/Manifest                      |  1 +
 kde-frameworks/kross/kross-5.40.0.ebuild           | 32 ++++++++
 kde-frameworks/krunner/Manifest                    |  1 +
 kde-frameworks/krunner/krunner-5.40.0.ebuild       | 37 ++++++++++
 kde-frameworks/kservice/Manifest                   |  1 +
 kde-frameworks/kservice/kservice-5.40.0.ebuild     | 46 ++++++++++++
 kde-frameworks/ktexteditor/Manifest                |  1 +
 .../ktexteditor/ktexteditor-5.40.0.ebuild          | 56 ++++++++++++++
 kde-frameworks/ktextwidgets/Manifest               |  1 +
 .../ktextwidgets/ktextwidgets-5.40.0.ebuild        | 37 ++++++++++
 kde-frameworks/kunitconversion/Manifest            |  1 +
 .../kunitconversion/kunitconversion-5.40.0.ebuild  | 27 +++++++
 kde-frameworks/kwallet/Manifest                    |  1 +
 kde-frameworks/kwallet/kwallet-5.40.0.ebuild       | 56 ++++++++++++++
 kde-frameworks/kwayland/Manifest                   |  1 +
 kde-frameworks/kwayland/kwayland-5.40.0.ebuild     | 27 +++++++
 kde-frameworks/kwidgetsaddons/Manifest             |  1 +
 .../kwidgetsaddons/kwidgetsaddons-5.40.0.ebuild    | 20 +++++
 kde-frameworks/kwindowsystem/Manifest              |  1 +
 .../kwindowsystem/kwindowsystem-5.40.0.ebuild      | 40 ++++++++++
 kde-frameworks/kxmlgui/Manifest                    |  1 +
 kde-frameworks/kxmlgui/kxmlgui-5.40.0.ebuild       | 41 +++++++++++
 kde-frameworks/kxmlrpcclient/Manifest              |  1 +
 .../kxmlrpcclient/kxmlrpcclient-5.40.0.ebuild      | 20 +++++
 kde-frameworks/modemmanager-qt/Manifest            |  1 +
 .../modemmanager-qt/modemmanager-qt-5.40.0.ebuild  | 23 ++++++
 kde-frameworks/networkmanager-qt/Manifest          |  1 +
 .../networkmanager-qt-5.40.0.ebuild                | 34 +++++++++
 kde-frameworks/oxygen-icons/Manifest               |  1 +
 .../oxygen-icons/oxygen-icons-5.40.0.ebuild        | 29 ++++++++
 kde-frameworks/plasma/Manifest                     |  1 +
 kde-frameworks/plasma/plasma-5.40.0.ebuild         | 68 +++++++++++++++++
 kde-frameworks/prison/Manifest                     |  1 +
 kde-frameworks/prison/prison-5.40.0.ebuild         | 20 +++++
 kde-frameworks/qqc2-desktop-style/Manifest         |  1 +
 .../qqc2-desktop-style-5.40.0.ebuild               | 26 +++++++
 kde-frameworks/solid/Manifest                      |  1 +
 kde-frameworks/solid/solid-5.40.0.ebuild           | 32 ++++++++
 kde-frameworks/sonnet/Manifest                     |  1 +
 kde-frameworks/sonnet/sonnet-5.40.0.ebuild         | 30 ++++++++
 kde-frameworks/syntax-highlighting/Manifest        |  1 +
 .../syntax-highlighting-5.40.0.ebuild              | 27 +++++++
 kde-frameworks/threadweaver/Manifest               |  1 +
 .../threadweaver/threadweaver-5.40.0.ebuild        | 16 ++++
 154 files changed, 2686 insertions(+)

diff --git a/kde-frameworks/attica/Manifest b/kde-frameworks/attica/Manifest
index 3806211106b..dde0424a79c 100644
--- a/kde-frameworks/attica/Manifest
+++ b/kde-frameworks/attica/Manifest
@@ -1,2 +1,3 @@
 DIST attica-5.37.0.tar.xz 60616 SHA256 573c71704b4116e82a9866a86b90e375a1f5022563246b14bb0866963899588e SHA512 4b37a553ea224cd4f37bd12492bf05646527849dcb3a6b66430ea0f4978dd18c2481a0d8793a05c768e6849b11b00f0deea888591ecc8d3f51323d266257f80f WHIRLPOOL 2df0bb9677b5189aee8e3f2e22ba7c84a96107c214e4bba1af8adfbddbcc5b7580b28fdff6a8015a45179b2ddad3ad2547f066c2c5a28b292fddf7ce6268dbbd
 DIST attica-5.39.0.tar.xz 60632 SHA256 4ec1527e54e029c88135b5ed4851874ebb19a566b3c690c62ce6118b42112795 SHA512 7614a684fc09e721f470b46f00a0f3ba5c9355efa6873d9bdeaabf6e44a087703434c47753f380fe7797ad95d4be984f0074ddbc48cce1e1e27aa733ae5b8be8 WHIRLPOOL 8b5749af27265d28c3b44fc8c7359ae0ab271d8a5eea1c265ebf74e294563b9746ffcd53581d7ee8b4e057ee33422f2d9fd706cfaa69278b0712799be74092ec
+DIST attica-5.40.0.tar.xz 60612 SHA256 3f1a907031a93cf505920482092ba5c362be639ccc9fb539f0365049a137e7d9 SHA512 860a33820f3ad44b079bbd1c72a5dd751bb7b23ac26f729a72241dac5167fa63f43c9184c07494036ae2a0a39819afd24094c18c18fbc330e9b3679c1eaca5ff WHIRLPOOL 9b590faa6dab77183999ff64b8c626ecabd883cf03d7a1d1fcdd4a9615c83fef9d7351bf358547fe8821ac4f928268aea1a69c0d33f6f3afd6d4d51ba1f1761e

diff --git a/kde-frameworks/attica/attica-5.40.0.ebuild b/kde-frameworks/attica/attica-5.40.0.ebuild
new file mode 100644
index 00000000000..053c7610803
--- /dev/null
+++ b/kde-frameworks/attica/attica-5.40.0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework providing access to Open Collaboration Services"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_qt_dep qtnetwork)
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-frameworks/baloo/Manifest b/kde-frameworks/baloo/Manifest
index 879cccd983d..fb1c6cc3a92 100644
--- a/kde-frameworks/baloo/Manifest
+++ b/kde-frameworks/baloo/Manifest
@@ -1,2 +1,3 @@
 DIST baloo-5.37.0.tar.xz 197656 SHA256 e9706ed75af26a234108bda3b4dca308bcfabe3294a3e83620316709e90154a7 SHA512 5380042aa5ab09460d101b46d60ea89ba735251563fb88803b877af86d1dc86267470b833992e3cf3fa807a4d4ce8d183a68ce684e2e97f5a8563e85d0584b8b WHIRLPOOL a948648affb2307b13e8f6edf98fc749a453059591e8883a5f78bf1bffb1da33a5da8f5a97d8d7674bbda02007a38279feaac7ed529f0ada042364e0939737f2
 DIST baloo-5.39.0.tar.xz 197968 SHA256 ba7a9e4aa88330a7f8cfdd987187fa6622616a63f1834ec0f7faf8b4cfaec81b SHA512 ef9890ca10ea46f8e03b7ced8777502f23a7a02ac7ce05aa65745ecb06b529f9c6c7e463a507c17597341be6d7554e0203d4ff7e4fd5b92a622195dbd5bf5f04 WHIRLPOOL a1c96cf4fce95e7ac8695b725c021ea59bb313ef2afb3450c8b2c5c68413cef576c1f174ee613b000da0c3a70fbd52a651c7e2e9fdffac0dacb6e4ef03881b90
+DIST baloo-5.40.0.tar.xz 198976 SHA256 aa944f991642c5839c0c47a63e6dfae6b695b3c09667b3e3a5ea91413be21826 SHA512 5853246ac632ef6e528956d35e4b0a0321dd62e266e6e7f4f6c3be2ef1650191dacd248cfdc1b7cdc35f6d6eb0e4cb763a8336d5bde9329fbb27ca4f2a0b7e50 WHIRLPOOL b602a167ac5dface25c01e74c72f6f32100a0dc84048d94cd4b61c3d1e3973bcc98811a3971890806666653de5844cff733aa0905001d612f7020a9aea2b3c9f

diff --git a/kde-frameworks/baloo/baloo-5.40.0.ebuild b/kde-frameworks/baloo/baloo-5.40.0.ebuild
new file mode 100644
index 00000000000..bb4bfb42853
--- /dev/null
+++ b/kde-frameworks/baloo/baloo-5.40.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for searching and managing metadata"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kfilemetadata)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kidletime)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep solid)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	>=dev-db/lmdb-0.9.17
+"
+RDEPEND="${DEPEND}
+	!kde-frameworks/baloo:4[-minimal(+)]
+"
+
+RESTRICT+=" test" # bug 624250

diff --git a/kde-frameworks/bluez-qt/Manifest b/kde-frameworks/bluez-qt/Manifest
index 5a8ff0e24e5..d43568d14cb 100644
--- a/kde-frameworks/bluez-qt/Manifest
+++ b/kde-frameworks/bluez-qt/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-qt-5.37.0.tar.xz 75188 SHA256 1a6d75e8d56135eb82f658709478911f9fca9da18bcd3f594e5703abf791d6f4 SHA512 a808acd854ef1bffee0ef31abebc8bb63cc7fb09f74a09e56eaad4ef5a9b520c88ca95f06ae67c1f7419a9a0439861a1d979995e7c2e85905b2a6d7c75107b88 WHIRLPOOL d229e7cd7b8398eb42cc4c7da364a99c4d9de9cb6300696d3c57c001b3c48c7a518a9b34fc46b8b6392d8f98324ae35ebf0054d773da78ac9c5d50b818f24dd6
 DIST bluez-qt-5.39.0.tar.xz 75108 SHA256 a1a992a7d4cc1808f98157664c8e8cedf28bc2c691e1b9e46d30b10fb0380048 SHA512 ddfeb9ec3cd6acf15291281b1a8dfa23d598a789d2436465450e6eb83ae6258bb50bfeef58d29f222e610ba0a20250ffb0322217f33473bf81d0e48ea02dbb90 WHIRLPOOL fa64b7e6d0fd233233a26a38f0d92927152f49394ac989607fd3291184b31523ce03f4c13078446d77103b1a622b724224d07b2b60748009300e90e4707ed31f
+DIST bluez-qt-5.40.0.tar.xz 75084 SHA256 aa28411a4e285d1044c9a0813d78027f7807028b2753d1165b09c0139708424b SHA512 72743afb56b9d393b9ef6d03c42869a416feca3f543ef6d8b6aef9be23203fe8d28a2371d9d79a3a2ebb6e48a2ddce63b7010dfe736c8e3e4e706be84d12a09e WHIRLPOOL 313538aa81a0faccdea2c06e5dbe269cab479d9e367e5d16f92dd334cc1cb3d1ded802f504d493902f01692b1ee96b16c3877b750180698994672af9692b1b1a

diff --git a/kde-frameworks/bluez-qt/bluez-qt-5.40.0.ebuild b/kde-frameworks/bluez-qt/bluez-qt-5.40.0.ebuild
new file mode 100644
index 00000000000..25ac72373a6
--- /dev/null
+++ b/kde-frameworks/bluez-qt/bluez-qt-5.40.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5 udev
+
+DESCRIPTION="Qt wrapper for Bluez 5 DBus API"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtnetwork)
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d"
+	)
+
+	kde5_src_configure
+}
+
+src_test() {
+	# bug: 609248
+	local myctestargs=( -j1 )
+
+	kde5_src_test
+}

diff --git a/kde-frameworks/breeze-icons-rcc/Manifest b/kde-frameworks/breeze-icons-rcc/Manifest
index fec81875a38..573a2975269 100644
--- a/kde-frameworks/breeze-icons-rcc/Manifest
+++ b/kde-frameworks/breeze-icons-rcc/Manifest
@@ -1,2 +1,3 @@
 DIST breeze-icons-5.37.0.tar.xz 1498320 SHA256 bc2f466920bcd606f835e21733087b57cda8273881ee1713e9be5bd0e015d99e SHA512 f026bb2ae5626faf082d6f1220023551ca8b1e2665a29707cf26176d33449fd9be0954ee1b01248bc1618211541ea62e91b5423450dbc87eced847a7d8839861 WHIRLPOOL 1b3a0111f5af832170dc1129942d31d09c3af4701c05b49f553698cd0c22feb0fc8b3f0c7165a45c798ff8a4c1997d4be44ce6331524f0962764939ced09d1c7
 DIST breeze-icons-5.39.0.tar.xz 1498888 SHA256 bd4077f88d106f7dcdefd8f260edbee597e72572e17f443ccd10d3a0eabb4b8c SHA512 6ea9fcc4a3aa435411064a036c3121ee596bdd76e3ffc4b88faf5206a6535ed1b0274245ef5eb405bdc0ba6e678c58a93d255555fb884e355bd66be12255e99c WHIRLPOOL 2b065c35724cd369a18fde3e10feda90cd90c5bfcd5d7e0367ef56e04521f29487852bf2a09e8a93c59f7f8599cb725858bc6c709d7c1cb5e1c53a06b3d640d0
+DIST breeze-icons-5.40.0.tar.xz 1498952 SHA256 26e1f958a2ed4c4622525e92aec2df582822e44db151f51ac8701995b8d9b7bd SHA512 d24fe6eb77bbb4a37c128cc31a2a30c7257304ffa2fc48130fe4bfb5d117108f08510113b0328cc0b5edc5de9bb3fffd4f63431583bdc62513249c9096421263 WHIRLPOOL b94ab29c905dfb65c5b63231e556143598f58634f210bde2b9efe83d7dd1f45c84a2592bab73004051f16a830720cca91cff7a0bd781780421ab3720143b6247

diff --git a/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.40.0.ebuild b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.40.0.ebuild
new file mode 100644
index 00000000000..3fe7f7bb506
--- /dev/null
+++ b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.40.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+KDE_QTHELP="false"
+KMNAME="breeze-icons"
+inherit kde5
+
+DESCRIPTION="Breeze SVG icon theme binary resource"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep extra-cmake-modules)
+	$(add_qt_dep qtcore)
+	test? (
+		$(add_qt_dep qttest)
+		app-misc/fdupes
+	)
+"
+RDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DBINARY_ICONS_RESOURCE=ON
+		-DSKIP_INSTALL_ICONS=ON
+	)
+	kde5_src_configure
+}

diff --git a/kde-frameworks/breeze-icons/Manifest b/kde-frameworks/breeze-icons/Manifest
index fec81875a38..573a2975269 100644
--- a/kde-frameworks/breeze-icons/Manifest
+++ b/kde-frameworks/breeze-icons/Manifest
@@ -1,2 +1,3 @@
 DIST breeze-icons-5.37.0.tar.xz 1498320 SHA256 bc2f466920bcd606f835e21733087b57cda8273881ee1713e9be5bd0e015d99e SHA512 f026bb2ae5626faf082d6f1220023551ca8b1e2665a29707cf26176d33449fd9be0954ee1b01248bc1618211541ea62e91b5423450dbc87eced847a7d8839861 WHIRLPOOL 1b3a0111f5af832170dc1129942d31d09c3af4701c05b49f553698cd0c22feb0fc8b3f0c7165a45c798ff8a4c1997d4be44ce6331524f0962764939ced09d1c7
 DIST breeze-icons-5.39.0.tar.xz 1498888 SHA256 bd4077f88d106f7dcdefd8f260edbee597e72572e17f443ccd10d3a0eabb4b8c SHA512 6ea9fcc4a3aa435411064a036c3121ee596bdd76e3ffc4b88faf5206a6535ed1b0274245ef5eb405bdc0ba6e678c58a93d255555fb884e355bd66be12255e99c WHIRLPOOL 2b065c35724cd369a18fde3e10feda90cd90c5bfcd5d7e0367ef56e04521f29487852bf2a09e8a93c59f7f8599cb725858bc6c709d7c1cb5e1c53a06b3d640d0
+DIST breeze-icons-5.40.0.tar.xz 1498952 SHA256 26e1f958a2ed4c4622525e92aec2df582822e44db151f51ac8701995b8d9b7bd SHA512 d24fe6eb77bbb4a37c128cc31a2a30c7257304ffa2fc48130fe4bfb5d117108f08510113b0328cc0b5edc5de9bb3fffd4f63431583bdc62513249c9096421263 WHIRLPOOL b94ab29c905dfb65c5b63231e556143598f58634f210bde2b9efe83d7dd1f45c84a2592bab73004051f16a830720cca91cff7a0bd781780421ab3720143b6247

diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.40.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.40.0.ebuild
new file mode 100644
index 00000000000..4ecdb71a351
--- /dev/null
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.40.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+KDE_QTHELP="false"
+inherit kde5
+
+DESCRIPTION="Breeze SVG icon theme"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep extra-cmake-modules)
+	$(add_qt_dep qtcore)
+	test? (
+		$(add_qt_dep qttest)
+		app-misc/fdupes
+	)
+"
+RDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DBINARY_ICONS_RESOURCE=OFF
+	)
+	kde5_src_configure
+}

diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest
index bdb3375a006..fd2876e9c4c 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
 DIST extra-cmake-modules-5.37.0.tar.xz 311696 SHA256 26198cf05c084c158bb23f0585a9df5bba1aa16b746252c80bdf4f0261b527cb SHA512 eb064dcf03960913c41c61dcb02ed12fa1b83abe507f9b161770bae8fe32b74dee45a29b12af26e636e896b97b17221adf67ea8465fcc9ab319b4ee55ab4f8bf WHIRLPOOL 0085edc89a6ac6369b509cd16ee79447f3d6c924aa06ca8bf73471772ae03afd8d57223fad70c5d5e4e3256ffc12e1de0b9176dfdbb2526015b41230a16da12d
 DIST extra-cmake-modules-5.39.0.tar.xz 312492 SHA256 b80536d7bed8c12fc492857d3d433b3859462402fe231e463efcd3bf44ffbcd1 SHA512 c41df32aa6641824b7e69b001997fa61ab4d4df9aa0b850d8eecb0e434836e35f7c928952771cb2c5258117ac318e199659991619f37ad3ff82744ab66071ece WHIRLPOOL dfbd4fb3a81260f52c3a732a44d564150ba9448dc4495ee4349bb723dab950374a806259952da63962280697480ac4692228661291167914ec9b49697f868a93
+DIST extra-cmake-modules-5.40.0.tar.xz 312532 SHA256 83e48889c84474e4f560e10e4eea0cc529f8511b3bd0415fcb898ac0496e630a SHA512 5390edfde7acb4c89abd2f5abc4fb533f2f4b45061127796b3a2f9d7ab65d7b8ba5cc0aee0543a28886118af8f1c7aed4f5b51c33f20223d9948ca39944c399c WHIRLPOOL 8b41b776a90c4126c9291a0bd7cde6a417240e0976b6d3325fbe7d534a90bf51e9f36871b76ebe9a11e06510367620fe63351e625b4b4665b896ed7f17ecd201

diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.40.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.40.0.ebuild
new file mode 100644
index 00000000000..f565f9c0be7
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.40.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+KDE_QTHELP="false"
+KDE_TEST="false"
+inherit kde5 python-any-r1
+
+DESCRIPTION="Extra modules and scripts for CMake"
+HOMEPAGE="https://cgit.kde.org/extra-cmake-modules.git"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="doc test"
+
+DEPEND="
+	doc? (
+		${PYTHON_DEPS}
+		$(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+	)
+	test? (
+		$(add_qt_dep qtcore)
+		$(add_qt_dep linguist-tools)
+	)
+"
+RDEPEND="
+	app-arch/libarchive[bzip2]
+"
+
+python_check_deps() {
+	has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+	use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_HTML_DOCS="$(usex doc)"
+		-DBUILD_MAN_DOCS="$(usex doc)"
+		-DDOC_INSTALL_DIR="/usr/share/doc/${PF}"
+	)
+	use test && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON )
+
+	cmake-utils_src_configure
+}
+
+src_test() {
+	# ECMToolchainAndroidTest passes but then breaks src_install
+	# ECMPoQmToolsTest is broken, bug #627806
+	local myctestargs=(
+		-E "(ECMToolchainAndroidTest|ECMPoQmToolsTest)"
+	)
+
+	kde5_src_test
+}

diff --git a/kde-frameworks/frameworkintegration/Manifest b/kde-frameworks/frameworkintegration/Manifest
index 65e2793afb5..5d2679b3a58 100644
--- a/kde-frameworks/frameworkintegration/Manifest
+++ b/kde-frameworks/frameworkintegration/Manifest
@@ -1,2 +1,3 @@
 DIST frameworkintegration-5.37.0.tar.xz 1752004 SHA256 aa8ca045ba97899b739077e07a961b9e402520a0abfcee8be90baa85251c9e5d SHA512 ecff45b2d7138621b19b9b276c4a2d7940c156ee81d85789d598178179e524ed6fef014c9d6615b91d2ea9c4c9a058d5009f44899834c541c36301f9ca581dd7 WHIRLPOOL 19d6589c03fb9899b3e823304c159cd345a94735995d27e47463c12c428cfb7c75f243fb174d7f3639baef37723d7407edde3f534c361bab8314037d0698565e
 DIST frameworkintegration-5.39.0.tar.xz 1752696 SHA256 50b427b53dfdf667d3e6d8de2b1662a7bea508cbf361163f0383a9e82143da8c SHA512 13959a74c08f77947d7d6a810a5bb9638a3e63437b293132143ae9668d070be81e40608bfa80cecd3d5dd59ae01b746d12e4c2db76fc99ff98216fe1eea6f89d WHIRLPOOL aa334e40c90e8f4a8458d005677f94861b5fb218c73c85edd08f0ba814350a62fd66072a47623744173e492a7854796f90a04c004e4ca40a618a7178ef415c76
+DIST frameworkintegration-5.40.0.tar.xz 1752732 SHA256 b277f644d9b33fcf7026d13106646366661cdcd37df5f5bc623e47143a0488e4 SHA512 2ef108ca6738c4f9f9d164bd79449a4baaf9d343916f9fad98925ea0bb1ac5bed57fbe239f2ae8d1ab8ecf251dc3329e7e96ce0f9c55e607d0bbf5c59c697e28 WHIRLPOOL d6a0b2395dbc07490fdb1a73a2c89a088ea281e8988985f27c398e8f146990b6651276a45b822fec7e73860e639c01af7ea1bd10be580c3747f1264a460952f4

diff --git a/kde-frameworks/frameworkintegration/frameworkintegration-5.40.0.ebuild b/kde-frameworks/frameworkintegration/frameworkintegration-5.40.0.ebuild
new file mode 100644
index 00000000000..9062d6d3800
--- /dev/null
+++ b/kde-frameworks/frameworkintegration/frameworkintegration-5.40.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for integrating Qt applications with KDE Plasma workspaces"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="appstream X"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knewstuff)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kpackage)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	appstream? (
+		app-admin/packagekit-qt
+		dev-libs/appstream[qt5]
+	)
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libxcb
+	)
+"
+DEPEND="${RDEPEND}"
+
+# requires running kde environment
+RESTRICT+=" test"
+
+src_prepare() {
+	punt_bogus_dep Qt5 DBus
+	kde5_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package appstream AppStreamQt)
+		$(cmake-utils_use_find_package appstream packagekitqt5)
+		$(cmake-utils_use_find_package X XCB)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kactivities-stats/Manifest b/kde-frameworks/kactivities-stats/Manifest
index 303a71ad326..0b757c5217c 100644
--- a/kde-frameworks/kactivities-stats/Manifest
+++ b/kde-frameworks/kactivities-stats/Manifest
@@ -1,2 +1,3 @@
 DIST kactivities-stats-5.37.0.tar.xz 60600 SHA256 c29764a863e69f065c75827980c127357708a88dbf8d7e38af54dd73dc6ffa27 SHA512 ef60c9277adff8bec2c51051ef4e0decd62af1b0c6c90cc9a437da2c7b5cf08616adc884c66a2b421429a50b81c39df8d977b689f394944ec07a6a69782a0bdc WHIRLPOOL 16494a1fc0f4d07aba3b3467b55e3cbabde6883b698855250a53b5899aa6749db5381a50a8e08f87a999084e3016a5bbfa5a630ae7a193f7b64eba2bc2d2a6fc
 DIST kactivities-stats-5.39.0.tar.xz 60844 SHA256 9ee15060e4fc2cc6ca9d02a1a196b92c9cdedf437b4d1a56cd6838fe1e76f0a1 SHA512 20c643e3f55b977a9a6e33866dec099428ec7fb3d8e3598bd9c5ff2e446b28c90151deba3f04955617da484dffee20b937ae76dfef426ea2a06baf00f04ee205 WHIRLPOOL 33956cfe4e88ff0e981eb6b2be32fbca35ac28ecae62726e69bac5b4c6955d5ff82f1b60d1914a98d10bb7822e879a506c3a2e0d19c7d127a0357e75d4ea2d8d
+DIST kactivities-stats-5.40.0.tar.xz 60896 SHA256 7d95a4b70c4176a0d35ae7347d5d8bb5e65a5ad4c181a75857ebdc01adc0b631 SHA512 1c5285038247dd778579daef2b4bc4663b67a18364670ef953c52311931e0f1c5147bba2f699a316be52a41d641ee7b9db4fd78c6f96db47883c95a442ecd907 WHIRLPOOL 1411f1f6e7ce52bc889e0a48bb28d3370a90768b7a261f26dfd8b7fb7b9ab2160bd41d9a9d5f6bcaac6eaabab016718568ec025fc1644f01a4e6fac9905d144d

diff --git a/kde-frameworks/kactivities-stats/kactivities-stats-5.40.0.ebuild b/kde-frameworks/kactivities-stats/kactivities-stats-5.40.0.ebuild
new file mode 100644
index 00000000000..989cc6ce39a
--- /dev/null
+++ b/kde-frameworks/kactivities-stats/kactivities-stats-5.40.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for getting the usage statistics collected by the activities service"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtsql)
+	$(add_frameworks_dep kactivities)
+	$(add_frameworks_dep kconfig)
+"
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.54
+"

diff --git a/kde-frameworks/kactivities/Manifest b/kde-frameworks/kactivities/Manifest
index 9a7d64c7f32..5bf54099b7d 100644
--- a/kde-frameworks/kactivities/Manifest
+++ b/kde-frameworks/kactivities/Manifest
@@ -1,2 +1,3 @@
 DIST kactivities-5.37.0.tar.xz 61288 SHA256 db8857d062bb084f882731189ef66e59648b1f66f0192ea8667c4f10eedfbd00 SHA512 c226d2d0027253f3507a8f9aa5c4b5755ddfe2d20e512658fe64b263cee1120355af19207db1cc6afef8b65a6b41439672bae7867539961b783742425baa8e45 WHIRLPOOL b48c22d7d0eeb296c73e2b97118af902eb2435e0a9798a03b4e841e0c4e29971efe20c8cb7268d910d4dcfc1da0386989aea12f45d336d5e6b0baaabd5e0b5fb
 DIST kactivities-5.39.0.tar.xz 61272 SHA256 986a0d40de1ae857639c8b2717a4cfc37288c0b7152bb3225b7e7b63cf0d6c5a SHA512 8f53eae719cf61ffe55a3d6ef5e08ce45ce0b0925f892fb2e5cff29ea5ada7f99932f46d3b29e9ab50ce782200c7a830ed590a5e67c1e9e8a35e8c09d28b70f1 WHIRLPOOL caab3798129c941ee2348e6e0ebf1777db9883b6f5b0f96088cf4ce443ead0df3af60cd813b9d15bf93032031c5cf700513994986f81c162872349202c003c35
+DIST kactivities-5.40.0.tar.xz 61272 SHA256 4bfdd61ff15670d9f481f5957f4d30dc1b2723d23baaa3489e6350a37f7dcd30 SHA512 030c3678c2971c9d499c9cdb863363ae82e35295d88aec141149988aa1596996cf0a32863db6024ac2ed15879d8edc5feef4b72ee89d2efe5641b33690ecfbce WHIRLPOOL 6080a515b16d427d37468031f56f7c142e3e3cf4f45f0eeb69134c589f46c6ccba9d0c068b2bdbdf1ca43ac8cd258a667cc16fc14bbe9f6c90012ff903ed11be

diff --git a/kde-frameworks/kactivities/kactivities-5.40.0.ebuild b/kde-frameworks/kactivities/kactivities-5.40.0.ebuild
new file mode 100644
index 00000000000..1e732d8b646
--- /dev/null
+++ b/kde-frameworks/kactivities/kactivities-5.40.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for working with KDE activities"
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative widgets)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtsql)
+"
+RDEPEND="${COMMON_DEPEND}
+	$(add_plasma_dep kactivitymanagerd)
+"
+DEPEND="${COMMON_DEPEND}
+	>=dev-libs/boost-1.54
+"

diff --git a/kde-frameworks/kapidox/Manifest b/kde-frameworks/kapidox/Manifest
index d93e6fb44bb..d7d3b043f24 100644
--- a/kde-frameworks/kapidox/Manifest
+++ b/kde-frameworks/kapidox/Manifest
@@ -1,2 +1,3 @@
 DIST kapidox-5.37.0.tar.xz 395612 SHA256 bb3cac795319f1376b0dd7f6986a06e7a7e69aa59a6754c2864f7617ab5293f7 SHA512 0eb34eba15efca3575f66a7b2215a2da960fa9efa1b8d33bbc7cefc18e79598dc294350db14f0f168e66a1a530c0b874741fb22c7e63970dbeb2d6e68febf678 WHIRLPOOL 01698e644114a7faa62e02951e40b6fb4ed487b82e5b5ea6b0c36e7b3c09995627dabf53f3d0da7a36b5f375dff8e278e494d585964e982b6a082bd664f1bc64
 DIST kapidox-5.39.0.tar.xz 395764 SHA256 d6701d35aa45b65dbf442d3325416c3100aa317a94fbeeb8f25595c782d2d58a SHA512 73550bfe148685f9aa1dea619778943bb221b589e86b094047f8b3cf0c58fd03e994fdeb914b1f6ff5dbe76271668bdf575a3adaf8e8e86d8266ca8e00980c85 WHIRLPOOL 0da0607470f37f3494c9d07bd95e0c5d8094d275a678d275b293908317dd740556c4e22fb1c92b8b9d1ea45c8de7561a15dc5495c49e153274c575896ee709df
+DIST kapidox-5.40.0.tar.xz 395756 SHA256 feb615a09ab5381a0f5fb4b85fdba7d338ad8b5b6ebdd8c20735d72e7b5d76f3 SHA512 267d96b874f51da99f10a220601128112c7907da2be317d0acbaed5be0530414762e8aeeff9560696e22b357cb3c95c3427d83b951217fcb34088f0b473926be WHIRLPOOL dedee843305ec3fb29eaae39a531e94778c25a1c206484072d98f4b7da64862f0dff1658635fce9e737df7b64c0aea70fd3878ffb48413b53fb25e1be8833e53

diff --git a/kde-frameworks/kapidox/kapidox-5.40.0.ebuild b/kde-frameworks/kapidox/kapidox-5.40.0.ebuild
new file mode 100644
index 00000000000..76dbe692503
--- /dev/null
+++ b/kde-frameworks/kapidox/kapidox-5.40.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+KDE_TEST="false"
+DISTUTILS_SINGLE_IMPL="true"
+PYTHON_COMPAT=( python2_7 )
+inherit kde5 distutils-r1
+
+DESCRIPTION="Framework for building KDE API documentation in a standard format and style"
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	app-doc/doxygen
+	dev-python/jinja[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	media-gfx/graphviz[python,${PYTHON_USEDEP}]
+"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	kde5_pkg_setup
+}

diff --git a/kde-frameworks/karchive/Manifest b/kde-frameworks/karchive/Manifest
index a559779dddb..7ec9bb32864 100644
--- a/kde-frameworks/karchive/Manifest
+++ b/kde-frameworks/karchive/Manifest
@@ -1,2 +1,3 @@
 DIST karchive-5.37.0.tar.xz 113580 SHA256 358648e9615f521e0d8e37f3a8b7c95ee593bf5adbad114601a7b30928a62995 SHA512 50f9298a785e3e46e4f34bcc489e59704ca464da4efbcad6c1a27e115ace7343936a1b126f0723f9acf55512ace05bba2cd37df02b2d1f54ae87b2a72c590a76 WHIRLPOOL 9a8ed7d06ee2941fd52df706ea099733c9803774c889e6da82c1ad406a15c755b0b92577d0484a8bc55bb9c6eeb2c3661f3441aeb8245fec00cc75a311b2a289
 DIST karchive-5.39.0.tar.xz 113600 SHA256 3cc31b2449bf690a3703d339875510f211dfb3d774737d80237da3474dde6865 SHA512 5151bfb0ce8b25593b0da34d376bf1c2bccdce80e8ad95ccad0c7d01aa42a8c12ffa3175192a07ae9b62f869c3b4d1df48e134d30d5506c40649fa4930775142 WHIRLPOOL 431cdad5a60b6ea298efd84539524250987a9807166c82ccd94013cbec002d74c05639fc4bd15b370af9b8eced6de5aff98cb6d491dedeaf1de118c2d07b6c22
+DIST karchive-5.40.0.tar.xz 113576 SHA256 1e181495390ba730f2b1aa9354da2122e2aa592aaffdbce4164fd9dcb2d97bb1 SHA512 edffe71f985b0d7c6cc84d6549447734c717de9f8be4685badee47d94464cf29373cfbfc3662d81c9e0071321c50c4459840c316c08144972e1fab1c295d8a22 WHIRLPOOL a820d523db11619f3553a4af6124f05cf9e8dfde361c8984d8e8fa8c3631e8eff829d4727f6dcc56d43b6c2fe2f94bba32f2e26684bbe1656fad31134c7c6d88

diff --git a/kde-frameworks/karchive/karchive-5.40.0.ebuild b/kde-frameworks/karchive/karchive-5.40.0.ebuild
new file mode 100644
index 00000000000..b3d6486e82e
--- /dev/null
+++ b/kde-frameworks/karchive/karchive-5.40.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for reading, creation, and manipulation of various archive formats"
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+bzip2 +lzma"
+
+RDEPEND="
+	bzip2? ( app-arch/bzip2 )
+	lzma? ( app-arch/xz-utils )
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package bzip2 BZip2)
+		$(cmake-utils_use_find_package lzma LibLZMA)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kauth/Manifest b/kde-frameworks/kauth/Manifest
index 2f3f24ea729..08f391112f8 100644
--- a/kde-frameworks/kauth/Manifest
+++ b/kde-frameworks/kauth/Manifest
@@ -1,2 +1,3 @@
 DIST kauth-5.37.0.tar.xz 84568 SHA256 bc982bb8443d8a9791c4fffa20e29c9f852a7a18fa31f023d8b4efb517123f32 SHA512 b97956d8360035102c9ba489806720263a0abebc06dac0b9121377030bbc16deff96cbcdfacbd1d91a6d3bd4bc868dab068a5f833bd437669b929315450eb44a WHIRLPOOL 940b682ed172418ee1222cd30be50b8f49d2cae90262beb75678c33f74a572e7c6ac73255c4cd8752aff277eb5ac6a6929644296e8b71e4274603570cbb05c8f
 DIST kauth-5.39.0.tar.xz 84876 SHA256 b184b817d155b272cf42fa748c6d3c9f1713be423551d2a74e297821f6ee7221 SHA512 28ec07f9d799e4140e238c86c600a4e9705ab8099c657ca07220c13e06bb41b62552d71852ad03736dbe9c93fd44b71d6484a5bdcc0a8c47d86e505bda000dcb WHIRLPOOL 80d98079630f061c04c5f015efe09f507abc6ad64f9413ac5b0c6ceea63358c0db27cdd554e54d7d7f6a50ec5d1875aff8ae4c92217877797d42ff8e9aa5be8a
+DIST kauth-5.40.0.tar.xz 84900 SHA256 5a27f1ef5af517662e8c0d350c7f0b20a78c6f44b5db190c16d07ba637945c1c SHA512 912e45a18f98086a35caf7b65316e4fe0defbbcc80f334bcdfd146a398cfb40abe2aa6b358d2057d457a51ba9fb61b05b1319ca3ff00edea82014919f632116a WHIRLPOOL fd4f9b50f7ace70035e0dd93dd392739a7b7c2fcdbaf4ba6ab81694883f6e8acc37530dc40ef4618ab13c6478fc5b7bbe0b08d478de61c72ea5d06a0b46757ba

diff --git a/kde-frameworks/kauth/kauth-5.40.0.ebuild b/kde-frameworks/kauth/kauth-5.40.0.ebuild
new file mode 100644
index 00000000000..4852c2fb783
--- /dev/null
+++ b/kde-frameworks/kauth/kauth-5.40.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework to let applications perform actions as a privileged user"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls +policykit"
+
+RDEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	policykit? ( sys-auth/polkit-qt[qt5(+)] )
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package policykit PolkitQt5-1)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kbookmarks/Manifest b/kde-frameworks/kbookmarks/Manifest
index e3f8eaf2572..1dd1c4cbc4c 100644
--- a/kde-frameworks/kbookmarks/Manifest
+++ b/kde-frameworks/kbookmarks/Manifest
@@ -1,2 +1,3 @@
 DIST kbookmarks-5.37.0.tar.xz 117256 SHA256 815843ae3c6e8f36e1ea31aa9750dfa1b18be86c415edfcce362c2b3809cd950 SHA512 cac12f6936c680f9018a162fa9b7bc2f7591fec6ae2c955473fe391941736ff21a60a24dd8d741681743dc864746081548c5311f4ba5f7a308154e573af28b67 WHIRLPOOL d8428140ebbd9223c71eb9b7bfcc39b8767467cd1f4ad1a9140a59870f895c20efc5945a88e4817bfae315a47a7040ed137509d12f9a105ad1ffa8e27341e934
 DIST kbookmarks-5.39.0.tar.xz 117448 SHA256 e51b6e9551b649bbfadd95f40b0ae46e197a8bdaa051ccc10db17678985fcaf5 SHA512 901cc0a3a143492770c25dca9d8125d7c9ed4fbdaa2f80ca37fd0d6c811ab5af3ca1f41f38cd32f690024d3ac07faff0525290087c9e469d1518b96184ac2838 WHIRLPOOL 8638867f38bf8a2dbd54bcf3f30d1d2e806bb71b2cb901279aba86afbb2c7c008f50ddbcaff6f8d5955a970868b74c99aa848e3163dd210b4d64e98a9356e986
+DIST kbookmarks-5.40.0.tar.xz 117596 SHA256 5188516b868c2c4cc1820b127bc7660dda84e324c84222e07b94229358bc48c4 SHA512 b9adaab77f3104ffb0f470ccae25db75b1e73f54bbf49a5b8bdb7bf1271911c8a296cf68d1dc17a0b3e44e9fccc11e44ef2c90d2f03bd504488e2b6a832c097d WHIRLPOOL 8d7d78994968dc814475e87a1a3765b7eb01240e05f8abd17e4fe7d7d5a475197ca845179ba45d8822caa3ea0addae91b9b909a59d8b34d817f57e52eeae2590

diff --git a/kde-frameworks/kbookmarks/kbookmarks-5.40.0.ebuild b/kde-frameworks/kbookmarks/kbookmarks-5.40.0.ebuild
new file mode 100644
index 00000000000..47d95581d0d
--- /dev/null
+++ b/kde-frameworks/kbookmarks/kbookmarks-5.40.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for managing bookmarks stored in XBEL format"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kconfigwidgets)
+	nls? ( $(add_qt_dep linguist-tools) )
+"

diff --git a/kde-frameworks/kcmutils/Manifest b/kde-frameworks/kcmutils/Manifest
index 7effff6b573..b5a700c8473 100644
--- a/kde-frameworks/kcmutils/Manifest
+++ b/kde-frameworks/kcmutils/Manifest
@@ -1,2 +1,3 @@
 DIST kcmutils-5.37.0.tar.xz 235156 SHA256 fdefa93d5e796d82165c7ff0592d63c18da123534d989d77d55c9be00a2861c6 SHA512 8f882a6863f0632ea6ee84ac0bf4197430a11f17a6dae267ebecac49f6424b405bd3fbcdcafdb84afcd04b3b9bb47b6693f8ad07e702221c3f0c720f5ef32077 WHIRLPOOL 6180fcc38680cd783bb511743b3a54c2a8e8846be0703206d8f1b70d8c3a096df739f04b9e5c90216c6fbf77558363cedc9bd290cd42529b23bbfa7d9c6a8be4
 DIST kcmutils-5.39.0.tar.xz 235352 SHA256 80375a266286ec20b2c035ad3a79fe7aa4fe0974156413e8d7a9c881a482e4b3 SHA512 9889ebcbdc043d5a5e00857cbf52736d88da8be5a8126254b5a65b280e3bc97476404a99e053114140fe0ea5afa8c13ecc909c0a46a2add20407d28a2e1af5fd WHIRLPOOL 7d5d199c1269a732a881d164ccb6f5cbe3f326bf2e5f0965f3aba7995efdd8bbc29b29502830363bf55df339892f3d0b599ab5c45f727be30a6d25f9b96ae2f4
+DIST kcmutils-5.40.0.tar.xz 235428 SHA256 74310785ffeca567f018c9b2415cd2361a9fae55bdcecdcb9ba8dbb45b945bde SHA512 d59e225438d8c43d3c62ed15a3cb38fc08e05a2af4cdf6c1d0100347dd29a1e34906447eb96f9ef4c50bcb81c76e62d951df7d42e30a6214e9db5b3690880324 WHIRLPOOL 3fc0daafe284f386035c34ba652d8c956f8e601dc01255d49e8e40425d18533ffbd50c1869005181a938d9259bf7256b3ba8be9ddbf09ae76a97700331e0d6da

diff --git a/kde-frameworks/kcmutils/kcmutils-5.40.0.ebuild b/kde-frameworks/kcmutils/kcmutils-5.40.0.ebuild
new file mode 100644
index 00000000000..3bf55741864
--- /dev/null
+++ b/kde-frameworks/kcmutils/kcmutils-5.40.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FRAMEWORK_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework to work with KDE System Settings modules"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kauth)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative 'widgets')
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-frameworks/kcodecs/Manifest b/kde-frameworks/kcodecs/Manifest
index de93576aae7..53354ed08e5 100644
--- a/kde-frameworks/kcodecs/Manifest
+++ b/kde-frameworks/kcodecs/Manifest
@@ -1,2 +1,3 @@
 DIST kcodecs-5.37.0.tar.xz 218388 SHA256 6a2fe7e8e5d82490373f973c50dcac484d75081daff22efb58deae5dd649b34e SHA512 eacf5414e903f8241b4dca7330defe041d4897ce55403b85e2792984bc314efa7f17ffbbdbabb9264ea17c8d7d69cde0037f9fdc72545c3cc40cd151684ddd40 WHIRLPOOL b103baeaafba3f34de84cf018df135561688c15dfec28ef654bc8bce283c0e05871ce4e227f74d2d8f4465bf79446225848f9df28feef35b0b5d5af0a7c0a7c5
 DIST kcodecs-5.39.0.tar.xz 218876 SHA256 eef017d861392296dcc54ff78361f732d9448e66ab977a69f1edf5e52c4214e0 SHA512 66a2b4f73406d826df9e4332c68eb3b10aa1b47a6f3af2f28bfaeb919c9163db9454d517439fa7a8bdef41317e6c2932939b5130aef51a61cff1e8a3235d450f WHIRLPOOL 27dfe3f0acdd53038eb1e984023bb0453f2deb8a26bc0de997498542bd82bc3ec3576b4e5a330cfe696642ebf5c33160e06c9ea4f6396bd81b64447d35d60e41
+DIST kcodecs-5.40.0.tar.xz 218852 SHA256 a48709850a388543197eb250021672869e1022c087351fc606177e034069097f SHA512 575872407dcc0da771a7c43e9a751793bee8ac7b36bf262251c00ab7f8af1bcebba3010c3b0a62eddd678b0cea4c4bc58fbcbc7f9382264a06c6186004d96aa6 WHIRLPOOL d289bfdaa94c0a5715ca2ede65b40cb9dca5a9d7561b01c497c94402941ea34d6b4a4ad561c1012f02b4c0bf6caf15e0d6af2e3910a71213a5196bad1fc06493

diff --git a/kde-frameworks/kcodecs/kcodecs-5.40.0.ebuild b/kde-frameworks/kcodecs/kcodecs-5.40.0.ebuild
new file mode 100644
index 00000000000..fc57f8bf6d6
--- /dev/null
+++ b/kde-frameworks/kcodecs/kcodecs-5.40.0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for manipulating strings using various encodings"
+LICENSE="GPL-2+ LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+DEPEND="nls? ( $(add_qt_dep linguist-tools) )"

diff --git a/kde-frameworks/kcompletion/Manifest b/kde-frameworks/kcompletion/Manifest
index c5610a3d875..86f32051c88 100644
--- a/kde-frameworks/kcompletion/Manifest
+++ b/kde-frameworks/kcompletion/Manifest
@@ -1,2 +1,3 @@
 DIST kcompletion-5.37.0.tar.xz 118424 SHA256 5fd2b0a51fe87e3b2042b65069c7cfcd5d2eede3bde94f21285ecad02a9e1262 SHA512 99cf1346f4048134d5219d451250122ca848d49c6ec26ab9e36562d2e654c18f3415ddd1b11e7a2459ce6b473c22cddb01135de9c773e8f0ae2f1c8d2f4d5ea4 WHIRLPOOL cc86b97b4f6b2b120685f98718093c661e32091f8d92fbaddd66d355f6120aa81dbb3f2b92f170bd42e45f86a4c59a6ea2e22b0fc088f58b39abc8856ae14db4
 DIST kcompletion-5.39.0.tar.xz 118520 SHA256 ba1e6a72e827d2657d518111271cf12eeddb70ec68b0f8943d4bfa632f614d26 SHA512 f7add324fdee5d3679b71a5b36a3a6d6cd56580935eb74ca2d5bf7281334865bad19d3fa0058af0599d8009dacc55893928e9a09e63aabe143be2c79b15ec2ce WHIRLPOOL 22bb7fd9b6569d376d88401bdaf72c958cd206cff80b4139c7fb3166e3424d8e71c37a9c6579bb31c6e7fb711b8a636a56bae6b51f8b8ecbd780fda2ccf4940b
+DIST kcompletion-5.40.0.tar.xz 118516 SHA256 842a26485d381581bdbe7fe3b6d91d404928a47fb589e9a26ebdf5520c55bf9d SHA512 ffd59f3a9803856f43e2c9e7c125f789fe4ef5d261daf05e02c4f95df121b5854a1ac57d1249e734180ee205b49a742a717aee9572f5a69eb104a11aaa839b64 WHIRLPOOL 6c45775376bdf17a4c67a79d94923f5b57615595473d01ef7536e8aaf9ea9cc494cf3488ded9be60b5eedf1a68276fddc2c61dc31a2a5272ba40924884f6073e

diff --git a/kde-frameworks/kcompletion/kcompletion-5.40.0.ebuild b/kde-frameworks/kcompletion/kcompletion-5.40.0.ebuild
new file mode 100644
index 00000000000..ccc50ad4d14
--- /dev/null
+++ b/kde-frameworks/kcompletion/kcompletion-5.40.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for common completion tasks such as filename or URL completion"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"

diff --git a/kde-frameworks/kconfig/Manifest b/kde-frameworks/kconfig/Manifest
index c6caf532663..6b065ab380f 100644
--- a/kde-frameworks/kconfig/Manifest
+++ b/kde-frameworks/kconfig/Manifest
@@ -1,2 +1,3 @@
 DIST kconfig-5.37.0.tar.xz 233000 SHA256 ad646fbf27a671761414609f729a033f5014ee0f6f9f4cd909ab00cfeb131eb8 SHA512 8d6c120f14f2c5d2c44173b142a8d175cdfb9a48f3a94a5798bf222ca5954a7420e6bbe6a467565032468cf5f8485ac73a48e8c0c8c825ef3573e9641cf60fa1 WHIRLPOOL 8c23e9000078083d2eaf0f2782bd009bb18f08bc69a6aaba275f2d74ec5c560acc7cf7195d8d61d775b7a5be3c6097c25b4ca4da524cc7be810adcfe685fac31
 DIST kconfig-5.39.0.tar.xz 234780 SHA256 3c504d69a38d7fa2e89dbe15b8c02d0803be20f3907c86f18be090031c223104 SHA512 d14ee524c7c06eec8f6bb953c203bb4077ccffaaa01b7f25496819bb19bdedce098342e90c357b70eb46815ea1f9a85bb6d00c575f31c9d0519921c33b02860e WHIRLPOOL b133d7353a60496b489c209f79cfe9b7244e9a67d1155e62c79dd0a0f0ef981f85088a31232cda72774602205e78f46ce459992841cb44659c58dd4ed52c023c
+DIST kconfig-5.40.0.tar.xz 234752 SHA256 6b96654c525de124fe127f4d40e0ff8e99a1d31ef7b368de7ce3af876b55295f SHA512 c61f86144af8aba52341be2f2bd80dfa4a3a68fbf7daf65f49441c9ad00385080e161965bfbdd190e52cad023e8b7774bfb9e13546a9e909cc09de15c55fdfac WHIRLPOOL acbb38be2e62ab188fda40ab7708179c4575fa883e2d2c128daf485a77c0d3f266d83b8b4f6858773bf6dddf9c521816ab325e26285408a9cf703471f8a505d1

diff --git a/kde-frameworks/kconfig/kconfig-5.40.0.ebuild b/kde-frameworks/kconfig/kconfig-5.40.0.ebuild
new file mode 100644
index 00000000000..e8447d66f02
--- /dev/null
+++ b/kde-frameworks/kconfig/kconfig-5.40.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for reading and writing configuration"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+	test? ( $(add_qt_dep qtconcurrent) )
+"
+
+# bug 560086
+RESTRICT+=" test"
+
+DOCS=( DESIGN docs/DESIGN.kconfig docs/options.md )

diff --git a/kde-frameworks/kconfigwidgets/Manifest b/kde-frameworks/kconfigwidgets/Manifest
index 053b8e92a46..83a8d54ce94 100644
--- a/kde-frameworks/kconfigwidgets/Manifest
+++ b/kde-frameworks/kconfigwidgets/Manifest
@@ -1,2 +1,3 @@
 DIST kconfigwidgets-5.37.0.tar.xz 375492 SHA256 46af20c09871dd720f8bc46d3bf7ed5eaae2b7cd25549ec3a1b71b8ca40d2d00 SHA512 46c6fae07d42d5b7ef9882453b0224d9b0e30cc90d5fd8a9a23a50508b34485a7055d751cf6773f8e89897aa1e0a856a2aaa6f71a9a72194f8939c34ca6dabe5 WHIRLPOOL 42b474c147ec4efdbb16d243657d09c048f1d38ed80d8d58b576794ae230674569795529d9a8d352df70fe5ebbf2ecae1b60a3c2c4e1fdad1b9385a1f2d3e0d7
 DIST kconfigwidgets-5.39.0.tar.xz 374976 SHA256 fc77a295823327aa602d246f2e7da8094f5a97d56c1d69916e3ad9aa71b4ccc4 SHA512 eac166a17331cfcfa5ddb74d80a4507cfc57e648b501ae5865a62b7d9d3ab2dd7d16f458657854fa24aeb803cd65ceef180af51b3a067184c54f74ab512eb79b WHIRLPOOL c958fd210c53eba1d711fa79d7d88a3737692a01bfe284c0056366eafcf5cf4f9b8971c944c772e7d1d3c2e51c2b1e010edf2c2050bff0cc54cd9bebd62e7cc2
+DIST kconfigwidgets-5.40.0.tar.xz 375048 SHA256 7f5d1192238cba9170ccca0c9de12ae1a75176ec3de0b6e030cab451dda8bd3c SHA512 af8cb1aaddb69e21e6b0dcaff0caeb5f0e81d3b6db9b34216011f82872fe129cc5029b84fa90a54194d2c4270e35f868b24326e86a2a776e9e73b985fcdb09c3 WHIRLPOOL fc30d0b2d80e83e4dfe6f7460d032a11cb0a53bdd0de8a7c4afc350e9bc0537a41d449d091cc628a979fce644bb9836d6643edfb638142c24d29b41c4bfb9297

diff --git a/kde-frameworks/kconfigwidgets/kconfigwidgets-5.40.0.ebuild b/kde-frameworks/kconfigwidgets/kconfigwidgets-5.40.0.ebuild
new file mode 100644
index 00000000000..a979d71e04b
--- /dev/null
+++ b/kde-frameworks/kconfigwidgets/kconfigwidgets-5.40.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing an assortment of configuration-related widgets"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+man"
+
+RDEPEND="
+	$(add_frameworks_dep kauth)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}
+	man? ( $(add_frameworks_dep kdoctools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package man KF5DocTools)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kcoreaddons/Manifest b/kde-frameworks/kcoreaddons/Manifest
index 4987d8ec133..936e1cfc206 100644
--- a/kde-frameworks/kcoreaddons/Manifest
+++ b/kde-frameworks/kcoreaddons/Manifest
@@ -1,2 +1,3 @@
 DIST kcoreaddons-5.37.0.tar.xz 348284 SHA256 7e3c433cb0e010ae751c1347475283cb9e31763de5a7bc346a629d16c2d78528 SHA512 533183a0302bba4ed78ab5ce5563007e45ab8788fa64b8e012d16bf072f4e5f9dce6172db927389111db56aea2c7b26e19a00628628178cffcf8c5ffd8b7271e WHIRLPOOL f77b30e19023d233130f9a7c529b5d4cc6027f92b3a45bdcbc21a6737a799f4f4a14156d951682fba2a9313c291dae37b0f323d87f35f11d526209fd6fbd89db
 DIST kcoreaddons-5.39.0.tar.xz 351152 SHA256 9f6e76c2a15252d2974271e4e3734a64aec157a434251c23b27efaa809d95363 SHA512 6579087b2d34ae6bc8d8254c420ae2f6f68d55cec587b5a58429bb82b9a2de111221351d58e2514705fda52c9b433bf98add574e4aba6ee0408340dc442707dd WHIRLPOOL 659484794b6f406cce64e077a902fcfc99b27dcbdd9df85ad71f80f12253ba4feb0d7b86fcb214cd9b871daffda64695cf0639813b36d4c284cfae9f88696114
+DIST kcoreaddons-5.40.0.tar.xz 351348 SHA256 25109dd486891c113f8b01d55f4c02e35b65b456c3879eb7da5045e595db8f58 SHA512 e003cd743db0b7843f0cd293e73f1868123549d8872149e46d8d8a9733370642da0f0ec89c3794b1bf372d52e103612893875accfc954e28400088d4f3400572 WHIRLPOOL d5aaca77416c2d7262c46754d7ddfe444b9c11aedc446a4260b102b8c78c3d361bf9e4846cc94719fab51eec7954f7d33fc9faabe1b08371da2764dcf99988d4

diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-5.40.0.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-5.40.0.ebuild
new file mode 100644
index 00000000000..08d8f6b52ce
--- /dev/null
+++ b/kde-frameworks/kcoreaddons/kcoreaddons-5.40.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="fam nls"
+
+RDEPEND="
+	$(add_qt_dep qtcore 'icu')
+	fam? ( virtual/fam )
+"
+DEPEND="${RDEPEND}
+	x11-misc/shared-mime-info
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-D_KDE4_DEFAULT_HOME_POSTFIX=4
+		$(cmake-utils_use_find_package fam FAM)
+	)
+
+	kde5_src_configure
+}
+
+src_test() {
+	# bug: 619656
+	local myctestargs=( -j1 )
+
+	kde5_src_test
+}

diff --git a/kde-frameworks/kcrash/Manifest b/kde-frameworks/kcrash/Manifest
index cc976769575..7bd7367165e 100644
--- a/kde-frameworks/kcrash/Manifest
+++ b/kde-frameworks/kcrash/Manifest
@@ -1,2 +1,3 @@
 DIST kcrash-5.37.0.tar.xz 21700 SHA256 c097aaca2c6ca8a177d697a8cccd4bd8bec2d09c07efd4bc7a4d0d3d1cbf629a SHA512 d7a312c820c3d4353bbf30313623d9931c8151206446bc3d59856bdf5824c5a82655a649ddaa94ff3a868151cd792fd03a274c8d87fbf052efff547c49963cbf WHIRLPOOL 14f3163a11ee7ef288fda17bd30c17599aced8e67e829b97dd0fc6924e028168890a089d3c9ff3c5a7a4d155c3f7e32acc61ad0fbced3b367bb6be8ce76dff4b
 DIST kcrash-5.39.0.tar.xz 21704 SHA256 9a0727734745b3050f864f2de1dbdb91e9ac99a49ede9874613427080a1563bb SHA512 d3444e39cb32abef01441c92af2fa020777bc6e629d3db568aed7e9a4f313fd6fb76a04142119170f2a38d51e65f1791f032c827bd1650e888ff7681883d688f WHIRLPOOL be7ae17ebf6811002cee1e20021ff6b217e798f05fba919e96a11b388aa13f1a635eb355cd3cb1114dc7ed6e3a5f84d405d269bdcab571d7b25ec43acfe7ff82
+DIST kcrash-5.40.0.tar.xz 21700 SHA256 96d2b2d16317519f95fa9277beca9d4a10f65dac608bfa0783a5823efe0f0406 SHA512 2440b64e5ec6dd38682a9d7fa92e112faa41c6190faae42cb291df4fe8c77ef4013d06a333a997fa25fe15ca2f8dc1bed36973f7ef44d7bc2b59c3bb9427403a WHIRLPOOL d9aa64b9e23c06fcad51e9bc61ac4c0e2ec1ee620a234b8fa4af556dfc1d02de4f8d95b70c4f076985de88e007b12abf7211f9bca9e5d5c3482864a3e374955f

diff --git a/kde-frameworks/kcrash/kcrash-5.40.0.ebuild b/kde-frameworks/kcrash/kcrash-5.40.0.ebuild
new file mode 100644
index 00000000000..6fa9f34fe4c
--- /dev/null
+++ b/kde-frameworks/kcrash/kcrash-5.40.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for intercepting and handling application crashes"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+# requires running kde environment
+RESTRICT+=" test"
+
+RDEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtx11extras)
+	x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+	x11-proto/xproto
+	nls? ( $(add_qt_dep linguist-tools) )
+	test? ( $(add_qt_dep qtwidgets) )
+"

diff --git a/kde-frameworks/kdbusaddons/Manifest b/kde-frameworks/kdbusaddons/Manifest
index 4339091833c..90761bce9a9 100644
--- a/kde-frameworks/kdbusaddons/Manifest
+++ b/kde-frameworks/kdbusaddons/Manifest
@@ -1,2 +1,3 @@
 DIST kdbusaddons-5.37.0.tar.xz 35668 SHA256 9140b649e140eb134d7290e3f268658900a61c3d50002ca1e7d772726756851c SHA512 a581366eae4e8ceaa9bc544adf951d734a3feddc19287bf2cb5818cff71f46ed59976bc9fc1487b3578c896bd1ac3fdff57d08510951007596b3907116025f39 WHIRLPOOL ee4c51e4ffce6ac1ff00485a391ccb3c68f700ee5af72e3c0c8e37541d4d3e2104760ff9bd55283fa61e0d7b0733d78ea2bd32019fc7237fcedc213cc8a950eb
 DIST kdbusaddons-5.39.0.tar.xz 36108 SHA256 23477be1a3271d599be896477253fbcd9895ca8688ecb6771b290c5b522ae842 SHA512 0ad0f6221b379ab0f6aa9eb9806a1d4f71110611796f5a0ca0bd729275ccf00065770f74b8bb28e4214b35dd98aa950cbde5c6c09fdbd3a2927e879b5f0b3766 WHIRLPOOL cc5cb98952cee3e4f74ef8ff53a06398b2ada4eca48f07583fd0fe5f3d69f1ca565130908c3c33f38a259af2f3e1e04c2604a3f5a3a96dbd65e744650f66e446
+DIST kdbusaddons-5.40.0.tar.xz 36160 SHA256 24a6268127bdfb5095d156f5251052e69a09523ec62499daa606c34f916feb27 SHA512 439c0baa9531ae93606e24dcdbc1fbda4a04032ccdcb2c218c0e12f97c34a0b9522bde377f0763d800f8b17ca41b6893f3854d7e8c494ad2809f493023368a7a WHIRLPOOL 1c2564e7d345d0b0a181839aabf58cd74b542f6b299dd33a691efcdc34dfd5160577ccb0d3294b707d93d41a549c54a1b87bec94aab985e576d6472e462eaf0a

diff --git a/kde-frameworks/kdbusaddons/kdbusaddons-5.40.0.ebuild b/kde-frameworks/kdbusaddons/kdbusaddons-5.40.0.ebuild
new file mode 100644
index 00000000000..c817cca4406
--- /dev/null
+++ b/kde-frameworks/kdbusaddons/kdbusaddons-5.40.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALDBUS_TEST="true"
+inherit kde5
+
+DESCRIPTION="Framework for registering services and applications per freedesktop standards"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls X"
+
+RDEPEND="
+	$(add_qt_dep qtdbus)
+	X? ( $(add_qt_dep qtx11extras) )
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X Qt5X11Extras)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kdeclarative/Manifest b/kde-frameworks/kdeclarative/Manifest
index 4fc6444f72a..4c858bbb477 100644
--- a/kde-frameworks/kdeclarative/Manifest
+++ b/kde-frameworks/kdeclarative/Manifest
@@ -1,2 +1,3 @@
 DIST kdeclarative-5.37.0.tar.xz 169808 SHA256 f2bdd7e1c6d0f39b4e1573b11078317e9ec72803c63ce4acc4d7de26aa2150c7 SHA512 903df965d34ae3bcd0e4c84d1821843bb20ba7e90c276b4b10b47f3455fbace1b5dba31597124757fd93990baf95a5cf8fd7453eae9711545475ad1997dda06e WHIRLPOOL 6bb6de7490e9b2697a49d65f526e662f21639f80bbe1f8f363571174c82795756386a904d428404b0d021b6438e37bc3389181c463fc1e14541abb78d085b6a2
 DIST kdeclarative-5.39.0.tar.xz 167920 SHA256 f734913d40d94eafabf7d5a090c50a5e8d1caa597aabdf2eab5862f39db71cd1 SHA512 442f18403788d7cf137438b8991037369d65b0a1cfe14a6067fabb39dcaaebef91cd0cb59992b7d381fe7f54f00a72d7b3de6d84d02a157e5b3e7f0392bd583a WHIRLPOOL 1f2df0ed5223e7807906cc29546d03a83bc9468483b7c025e3eebd8ba0a896f885e38b3bb8d8d2c0dac58d59707dde7d01ef6157eb298d1f5fb100fb3126e71a
+DIST kdeclarative-5.40.0.tar.xz 167988 SHA256 a60142c4c1b14756196ebb90db63fd1214efe8ed921afa8b6b956caed23bd783 SHA512 b934a4404717d2c47a28282937ef04e724e0b492e6838974765ccb3cd1ba62ac2d598c5e55e4e6cdd7831f521ae95c67dfeaab04353b89fb46393d9610d65e66 WHIRLPOOL 39d61858208fec76224bfc5333b92d0033956a2785ab27b8cbec780fc27a05afdb2e7ce041c414d00bd29cca2f28737ea948995d08d38f07742277d4887786f1

diff --git a/kde-frameworks/kdeclarative/kdeclarative-5.40.0.ebuild b/kde-frameworks/kdeclarative/kdeclarative-5.40.0.ebuild
new file mode 100644
index 00000000000..0414dbb6239
--- /dev/null
+++ b/kde-frameworks/kdeclarative/kdeclarative-5.40.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework providing integration of QML and KDE work spaces"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+# drop qtdeclarative subslot operator when QT_MINIMAL >= 5.8.0
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kpackage)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_qt_dep qtdeclarative '' '' '5=')
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtwidgets)
+	media-libs/libepoxy
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-frameworks/kded/Manifest b/kde-frameworks/kded/Manifest
index 6fcbe6a83a5..d42720886d8 100644
--- a/kde-frameworks/kded/Manifest
+++ b/kde-frameworks/kded/Manifest
@@ -1,2 +1,3 @@
 DIST kded-5.37.0.tar.xz 38020 SHA256 fea1c5e9fb1444be0988455c1e51fb2a8cc846db522297108a0b2c2c3a2e5a98 SHA512 2a420cf97f55858ec6cac4a74bdf97f367b32fc07529714b494576f7828261ae52650972b9f8b80e5e12cd854f66e7bc4d2d2cd339d7ce8a71ab29ebd41e76fa WHIRLPOOL f5c6da6d02ec099072b6ded7ac207c3d6f6f7b674a99531216b2f03408ac16f530bea916f207604c0b76a9de56561ab2234c9b7b4e2413792e5e1fe521c8773e
 DIST kded-5.39.0.tar.xz 38108 SHA256 453d349874b71a500afbb4a7c576be77bf38d3e87bd818269ccdfd27287c644b SHA512 272f24356de9f34f27d61929d475d7e76fd783b827686549db7a07961c7a5ab2b936bf9969808b85274f67cc2d5d37eec4c0562ba471f18efd522bb6cf4ec8c7 WHIRLPOOL d413f862a5dc3b704aee61cf51360e608427cc9d1f1f91b4b622002cfb49659dc412156fbe28f874de6c6e75cc489142b8e0ac6800a894b6a762f0a3e1c08085
+DIST kded-5.40.0.tar.xz 38152 SHA256 0439d68e2b08a0084b6d15e92679692090271a873ee90dca8ed0a0afa1eac449 SHA512 559cc4bff3d18104326fdcdb35eca16e36b06c6a8547e77ac78833931f32f22c8497e4db08434bf889a7cdfaf72affaff342487e2387748705b49b6feb9e30a8 WHIRLPOOL 9bb10fa2d135394eb0c33ef15209aeae6037ba91840cf2ad3e2f26ac3acd53541e203fe02202db52d038fa1d0a7c710fd77eb4754ea87451722d1ac569e7260b

diff --git a/kde-frameworks/kded/kded-5.40.0.ebuild b/kde-frameworks/kded/kded-5.40.0.ebuild
new file mode 100644
index 00000000000..7eb1ce3f4ee
--- /dev/null
+++ b/kde-frameworks/kded/kded-5.40.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Central daemon of KDE workspaces"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+man"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kinit)
+	$(add_frameworks_dep kservice)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}
+	man? ( $(add_frameworks_dep kdoctools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package man KF5DocTools)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kdelibs4support/Manifest b/kde-frameworks/kdelibs4support/Manifest
index 7604569b49a..5950ad8e49a 100644
--- a/kde-frameworks/kdelibs4support/Manifest
+++ b/kde-frameworks/kdelibs4support/Manifest
@@ -1,2 +1,3 @@
 DIST kdelibs4support-5.37.0.tar.xz 3339044 SHA256 09d2a7817dbfd0aec82886fb2c5a83321d8b535a438013ed78d5611d2a00e1ff SHA512 c56d821d8f6cea31df7a1138ff050818fd38764fc7bd63de1c125921b86f00144eac7d569c40b2fe0dcd8fc4f006a0ba8af93fba2feab2d4a3fca1a8a1fa3ca7 WHIRLPOOL 0a29ea6febcf441441d3c46e324dd71b5f7926b19fdcb175d360cd477e25cedbfb9e4c668d500f9d74950e4c3248d8d8476366c890f6eff62e3ccfb19e04f57d
 DIST kdelibs4support-5.39.0.tar.xz 3340204 SHA256 d735000260d8565e812b96c81d510acef14f7b66e9fcbbd2d42711bd1bfcb20f SHA512 6278c6e3315a367824a7c158ced522a8e79a90f023723620467d0a87fc8908d07c341efd06faab2bf5590e5768722c9bd191b4ad29c4dbc77682e304b0b149e5 WHIRLPOOL 45145c74bdba7c97c82e1b579a5640e77ff924eaafbc5bd14b1d15b567f89aaeafcc087b02f20a515e02c1c4e9a36065c38dce8f2eae733c30ccc769d0045a5b
+DIST kdelibs4support-5.40.0.tar.xz 3341884 SHA256 f9d7508aa6a72a186ba7d922e82ca49a5ac5d76e1fa02af995d17208128995df SHA512 ea6758a42d993af312f0231c75b77f00c0a4938dfd8efa82d443d60e553865ed59621413a651aef1443ec1d07bcc273532b11f1699382b66c0ea91e2bfdf94d1 WHIRLPOOL 296965cafadea8f168e0b14203421195fa2903c91dc04cd0234ce777a46b69a3cffbe3068e9ca82eaa8ba9d08e8507b47e86f7960f7d5699049c891398d75d84

diff --git a/kde-frameworks/kdelibs4support/kdelibs4support-5.40.0.ebuild b/kde-frameworks/kdelibs4support/kdelibs4support-5.40.0.ebuild
new file mode 100644
index 00000000000..705c2f4ded1
--- /dev/null
+++ b/kde-frameworks/kdelibs4support/kdelibs4support-5.40.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework easing the development transition from KDELibs 4 to KF 5"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="libressl X"
+
+COMMON_DEPEND="
+	$(add_frameworks_dep kauth)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kded)
+	$(add_frameworks_dep kdesignerplugin)
+	$(add_frameworks_dep kemoticons)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kunitconversion)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork 'ssl')
+	$(add_qt_dep qtprintsupport)
+	$(add_qt_dep qtsvg)
+	$(add_qt_dep qttest)
+	$(add_qt_dep qtwidgets)
+	app-text/docbook-xml-dtd:4.2
+	virtual/libintl
+	!libressl? ( dev-libs/openssl:0 )
+	libressl? ( dev-libs/libressl )
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libICE
+		x11-libs/libSM
+		x11-libs/libX11
+	)
+"
+DEPEND="${COMMON_DEPEND}
+	$(add_frameworks_dep kdoctools)
+	$(add_qt_dep designer)
+	dev-lang/perl
+	dev-perl/URI
+	test? ( $(add_qt_dep qtconcurrent) )
+	X? ( x11-proto/xproto )
+"
+RDEPEND="${COMMON_DEPEND}
+	$(add_frameworks_dep kdoctools)
+	$(add_frameworks_dep kinit)
+	$(add_frameworks_dep kitemmodels)
+	$(add_qt_dep qtxml)
+	!<kde-apps/kde4-l10n-16.04.3
+"
+
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kdesignerplugin/Manifest b/kde-frameworks/kdesignerplugin/Manifest
index c0449df083f..76fad5ef4df 100644
--- a/kde-frameworks/kdesignerplugin/Manifest
+++ b/kde-frameworks/kdesignerplugin/Manifest
@@ -1,2 +1,3 @@
 DIST kdesignerplugin-5.37.0.tar.xz 90656 SHA256 bc691bf91e4ea15323be728bf47c3eb02905adc85a2967acd7b731bc06002785 SHA512 e68ec94d9e7b52c90e4b7a8ba70e8b3dcdf95365f5237285e681c7b6ea2e763876a25be787fa3e154cf535f0dff8f28246376206b11f6cfa7670383800bd67cb WHIRLPOOL 8ec92ed9d48d3257fbee4e97a7c3b702f4616092b4cc24edf3acba292db46958b8565edefedf68830930a356cc45ab9cbf6792ecd90376a11fe6ddc7149b4fa3
 DIST kdesignerplugin-5.39.0.tar.xz 90772 SHA256 ee9c33c583caa1209b112119b2ba6c1f3c14f015b6bafd6e54c97acd8db1f9ac SHA512 3324989254386d3a5060172d396e312551ab00d1f524e43fa2d97aaad3dd88d007f635fc61682b4fe2d28f358f491bc9c4eb82842ce31666e49c7b4824929406 WHIRLPOOL 9e0bce48565087c6c11cbe466034078576836d813b9c80e4b1c4d26aee6397da983a690cb0c0213591981d328df8263fa4b5c77fb1a26c63e38ebb9503211564
+DIST kdesignerplugin-5.40.0.tar.xz 90812 SHA256 0d57e158e8247a06b148ff9f65c013257b0f374301dd0f05c5a0c70040239403 SHA512 e9874339ac1d694f249a20fe86504b776959b4e225b5377ba27df8cea14ffd35a42516308cb2daef0a9595c0f57ecb1328c35778d00fa05add19f7e5cce4dd99 WHIRLPOOL 74d772e54d3d4b2aef8cbea10a7aa2af2f41c9e7b981ef0f61f3930b7faa1b17fce287c0563ab3c32d47add5ee2ba77a9e63c53738e245a3456d225a6de23da9

diff --git a/kde-frameworks/kdesignerplugin/kdesignerplugin-5.40.0.ebuild b/kde-frameworks/kdesignerplugin/kdesignerplugin-5.40.0.ebuild
new file mode 100644
index 00000000000..74c0ebb5243
--- /dev/null
+++ b/kde-frameworks/kdesignerplugin/kdesignerplugin-5.40.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework providing plugins to use KDE frameworks widgets in QtDesigner"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="designer nls webkit"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	designer? (
+		$(add_qt_dep designer)
+		$(add_frameworks_dep kcompletion)
+		$(add_frameworks_dep kconfigwidgets)
+		$(add_frameworks_dep kiconthemes)
+		$(add_frameworks_dep kio)
+		$(add_frameworks_dep kitemviews)
+		$(add_frameworks_dep kplotting)
+		$(add_frameworks_dep ktextwidgets)
+		$(add_frameworks_dep kwidgetsaddons)
+		$(add_frameworks_dep kxmlgui)
+		$(add_frameworks_dep sonnet)
+	)
+	webkit? (
+		$(add_qt_dep designer)
+		$(add_qt_dep qtgui)
+		$(add_frameworks_dep kdewebkit)
+	)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kdoctools)
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package designer KF5IconThemes)
+		$(cmake-utils_use_find_package designer KF5ItemViews)
+		$(cmake-utils_use_find_package designer KF5KIO)
+		$(cmake-utils_use_find_package designer KF5Plotting)
+		$(cmake-utils_use_find_package designer KF5TextWidgets)
+		$(cmake-utils_use_find_package designer KF5WidgetsAddons)
+		$(cmake-utils_use_find_package webkit KF5WebKit)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kdesu/Manifest b/kde-frameworks/kdesu/Manifest
index 92eac6b85c5..a363b909516 100644
--- a/kde-frameworks/kdesu/Manifest
+++ b/kde-frameworks/kdesu/Manifest
@@ -1,2 +1,3 @@
 DIST kdesu-5.37.0.tar.xz 44660 SHA256 ea37e8517ab376f86c9d7df726f0f8f143fac198c6a3a6a26f2e276ae69fd0e1 SHA512 6b3b6c51637220a5f80115e81f82a551a596465916fefe707b7dad23b423d1198a760c5da8392f8da482ae59e05fb9d2bca360859bde7c20d4928c49eccb896d WHIRLPOOL 3ed216a6dc1aac6b0c8a47dd9599d891b072555b1677676c10347491304a20d1cb6303116ce9021162c2a3a0e9f22d3c9440783047374411bb5245769e7e2f65
 DIST kdesu-5.39.0.tar.xz 45096 SHA256 9d9b1d202ad09993dd6c0bfe3bf4738e1867dc563bcd49b664e3026534fc5b0d SHA512 28de20d1910d8fde6ba7514e3d9890deb93e04476376461b113af3b504c71cd59236f5d00a0fc0455a38ac131aa93fc84eb9cdafd93bdb8fc05fa9b23e9d3026 WHIRLPOOL 1131cca0e214d0cbacfa5ad9cb65dfa63d5ba994f0ce0d828938266616b874b6db373476230582e5eb06c5a00fd7f00db9f1b875449ba201a0514136f0bac175
+DIST kdesu-5.40.0.tar.xz 45172 SHA256 87a94cdb687d0460737e0adb8105cf2323a09ac539ab63d917ca70961829bb8d SHA512 53ecfc0388a8246ec6b29de63ddb580071eaca33f7b1806e77b1200d79bbccb2bef38e4b482f0dd53e4767c873dc64d8cceb03d9ae75be41e8fe5a56ec90ebf1 WHIRLPOOL e49d54ce2efada83d998ed79270b01e3ea8fff0c52e6c89c64aa9994f4695e93f56256691ac07471ab9f0b4df414dd783bb606573d2bfada45a0fcd41aec3308

diff --git a/kde-frameworks/kdesu/kdesu-5.40.0.ebuild b/kde-frameworks/kdesu/kdesu-5.40.0.ebuild
new file mode 100644
index 00000000000..bcf4e8b0b47
--- /dev/null
+++ b/kde-frameworks/kdesu/kdesu-5.40.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework to handle super user actions"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="X"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kpty)
+	$(add_frameworks_dep kservice)
+	X? ( x11-libs/libX11 )
+"
+DEPEND="${RDEPEND}
+	X? ( x11-proto/xproto )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kdewebkit/Manifest b/kde-frameworks/kdewebkit/Manifest
index ea32b879f30..933638ae67a 100644
--- a/kde-frameworks/kdewebkit/Manifest
+++ b/kde-frameworks/kdewebkit/Manifest
@@ -1,2 +1,3 @@
 DIST kdewebkit-5.37.0.tar.xz 29328 SHA256 e1c1a1f6514126a07e4ef7fbd4258c4a9ca068774b26b6748582f4c8415103de SHA512 3685f5f4eae1699b697972a78782270bb12d9ab4671e62eb71ec6d91dd97f6932d97357e904e622c7729576974ff43a9644eaad9dad87c85022fed3ad09559cf WHIRLPOOL a5510dd5d1b7ccd69b3f7af316ceb01a9b4906cd26b5bedbea0f8f6103c3df7a5a33d8830e6895d78110ac0aeacaec62f35f76458e6b39e3afc162a7da801e9d
 DIST kdewebkit-5.39.0.tar.xz 29336 SHA256 dd38c6d50681967cecb5debcbd1acc5135d465f15c46ceb7f2db32c4ffa0c015 SHA512 4df9c41ce3e40d4a046fb03a317b0a546a18613a8adb6012309c4e18aab387183e65ea84d895b8e65a4488be9ce23ba153da445ea0e98241cdfaa1483603df78 WHIRLPOOL d861aa716d99b3f8caa8ac89ce13e62c9fefcde07e55ce76ec46db3fc29d0ccc3726b17fa290430a70d8c692550a9f1fdc9705785932e5457d0d7edae2dc3713
+DIST kdewebkit-5.40.0.tar.xz 29392 SHA256 eeb1451999ee83aa96b8ac8a77cb640c8bec837bf0b4ead3745645f4fcb0ecd8 SHA512 4074dbfab85ca4421b447eb1ad5f262bb54d79d98c934ad57a9cb35f7c624e93af8ad22ee4979404c6d743750b8fca85f4c7533f4cb577356e0d011ff75c06a1 WHIRLPOOL 8cedbcaea00be274d6568d28b3b26ab1ee7b5e155d99d7815db409b5b6481bd88e9bc2068e1d1ae52db7fcc66929ddfe44e9b5aeb3181c946f88bcce710a0e3b

diff --git a/kde-frameworks/kdewebkit/kdewebkit-5.40.0.ebuild b/kde-frameworks/kdewebkit/kdewebkit-5.40.0.ebuild
new file mode 100644
index 00000000000..329737ec204
--- /dev/null
+++ b/kde-frameworks/kdewebkit/kdewebkit-5.40.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework providing KDE integration of QtWebKit"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwallet)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtwebkit)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}
+	$(add_qt_dep qtnetwork)
+"

diff --git a/kde-frameworks/kdnssd/Manifest b/kde-frameworks/kdnssd/Manifest
index cb709698168..545c8673205 100644
--- a/kde-frameworks/kdnssd/Manifest
+++ b/kde-frameworks/kdnssd/Manifest
@@ -1,2 +1,3 @@
 DIST kdnssd-5.37.0.tar.xz 56560 SHA256 bf30e680be8e1a00fde32a97517c368045cfa91e60ad51896d966361ed372d0f SHA512 92a4401c21a9dffd1662b79b92c4cac33bc4f6ed9664573f3704bf28361420b8104cd99facf0d36b97161d9d669943337b132fe0dda94c008fe323644db4d0af WHIRLPOOL f78cb2ee5b95cfaefc622e9e01b863b89c55b21a2a0e395ba76e839f26a0f1c24f49ff7368bf1760c246630f49086ce6dae28dc847be6a8df8496994c2eee2c7
 DIST kdnssd-5.39.0.tar.xz 56632 SHA256 e550cf9af93f9b22b49a812610cd31f286caf17cf44c82ed9b6d4290390f0db1 SHA512 24d68c55a2db721ef8764a64055efc23b529a5288f6931f21b5c66c5628402788553a54a40ba9d0111d63f10ee39060f979ffddd1495096a3d9c0fcf096be072 WHIRLPOOL af6c4dfd6913cf4199ae5d90cc7485dce61ae046534bcc136c19940d62d10870d96ac9e4defc7a903f0f6b11b57b2ceaf299155beef109fc5c4f346b4ce882a8
+DIST kdnssd-5.40.0.tar.xz 56676 SHA256 d2b5194317e9db8ffa0180ac3af8da2bb6ed62411c147d7c255665a8394a8a82 SHA512 409860a7ffc753780c26d62c89dcade8674393edfcbf817403386f437f23e9495455e6c29c179901820bd9eec5fe3d7622d12fa2d0b06f79ce8f0a4664a36726 WHIRLPOOL 965a35261dff25331fe302f748738871bfd9d4a90ba1c75466904491d8c06580cfe5fe85a0b6037a509576c1c4720e2f04376a819c9ca7fd188fca6001a7ab5d

diff --git a/kde-frameworks/kdnssd/kdnssd-5.40.0.ebuild b/kde-frameworks/kdnssd/kdnssd-5.40.0.ebuild
new file mode 100644
index 00000000000..9b4e417669e
--- /dev/null
+++ b/kde-frameworks/kdnssd/kdnssd-5.40.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for network service discovery using Zeroconf"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls zeroconf"
+
+RDEPEND="
+	$(add_qt_dep qtnetwork)
+	zeroconf? (
+		$(add_qt_dep qtdbus)
+		net-dns/avahi[mdnsresponder-compat]
+	)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON
+		$(cmake-utils_use_find_package zeroconf Avahi)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kdoctools/Manifest b/kde-frameworks/kdoctools/Manifest
index a9929885e74..de44044b585 100644
--- a/kde-frameworks/kdoctools/Manifest
+++ b/kde-frameworks/kdoctools/Manifest
@@ -1,2 +1,3 @@
 DIST kdoctools-5.37.0.tar.xz 416840 SHA256 f4031fccb1e7c6017456840daee1589d2e6b7d36ee263a371446981a312e6c3d SHA512 2f3deb54e186eb1efe94b89886d9bd48b035a41754625309ba886b41c467ece6fdf5f3aaf7549df3bc36dae3f3aa1e1982c69342c019410ffa8a5aead0b277a0 WHIRLPOOL 9032e9642e7b16dbca7dff18700a6c2e5a93580a4c1edb06cd8feca7b43f71b0c2632299f31dc6294c2aaaee9e5b2a536f7893810ee63b0839b9d89287225a45
 DIST kdoctools-5.39.0.tar.xz 421364 SHA256 57a12705b87754d8bbc76e3400691d02072d61bd0e2e4b62845dca558f9be49d SHA512 a9ef804175ed465753bcac7bee2d92a7a17f24b0c778d86c9a05aa09e643f949ee388e5133249bc27e13fbea7944fa10906a75e894806094700eb25b6971b95c WHIRLPOOL 2ae9dab4393e41155d681239e73bbb4e084d19f66f6cff21d4a5c85d56636b25c48c66ed6e374da4d3613f26241c7b72379a64ef5e82d29cf1d0daccfb06685c
+DIST kdoctools-5.40.0.tar.xz 421668 SHA256 3556ffad511980ad84276c8856e7023372e87a65ef8c35db617837ed27b6efff SHA512 7279a2bbb01c9b6e31e4c7c1b9b5b1a14d9ba8ec78e63d4bf635838fbf01bc90e88ea9eb0788886548cd6c031b6c7d270c667c13f2c14d4fda6a786bc94d641b WHIRLPOOL 7425f75be2a1e5df6cb9c677341e621a49cb184b8b580d6991c542f2ca8ea0aa41cd2429e2299d737d0ac97e2228bae743846e10a38963cbc00bc603e8d156bf

diff --git a/kde-frameworks/kdoctools/kdoctools-5.40.0.ebuild b/kde-frameworks/kdoctools/kdoctools-5.40.0.ebuild
new file mode 100644
index 00000000000..9cb56de3d01
--- /dev/null
+++ b/kde-frameworks/kdoctools/kdoctools-5.40.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+inherit kde5
+
+DESCRIPTION="Tools to generate documentation in various formats from DocBook files"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	app-text/docbook-xml-dtd:4.5
+	app-text/docbook-xsl-stylesheets
+	app-text/sgml-common
+	dev-libs/libxml2:2
+	dev-libs/libxslt
+"
+DEPEND="${RDEPEND}
+	dev-lang/perl
+	dev-perl/URI
+"

diff --git a/kde-frameworks/kemoticons/Manifest b/kde-frameworks/kemoticons/Manifest
index 0e3e242e428..0f3a1cf8297 100644
--- a/kde-frameworks/kemoticons/Manifest
+++ b/kde-frameworks/kemoticons/Manifest
@@ -1,2 +1,3 @@
 DIST kemoticons-5.37.0.tar.xz 1695528 SHA256 d8c6bd991b04b85a6a7ab891132e6e3f46427467b67a45a00c7bd416343aa9b3 SHA512 1a506ef73bc6893f92f9c274403e8415818dfa2a8c9a4ea3c72b7cf95142a759fc86b49c7e25daf94689a5c214bd6ac15839ef88ebb54902e3df5756e7369756 WHIRLPOOL f2d77353f0d5df91ff8c3738639728b2c47257c7eb04e2bbc1978ebd22570d5b7b6826a5aba9b348666fec385a550658c7dbd801f004b35316d0f2ae8111dae9
 DIST kemoticons-5.39.0.tar.xz 1695696 SHA256 f05d4812ae8472fc455be7bb6b8e5f45ffef17b415b7154f08ba0eb293d14f8c SHA512 8a390baf3a4924254a3ea0e80c3c3b12a19fa18b19384fd5a197dcf1837335a727de4328d6a74c4ea0444d0cfb8e0cf30f44f0b166e3f9a11b849da7553fe636 WHIRLPOOL 9a2f3e44b6ebae7d822975ca6c68366b98e609fa047804b0bec2b2439f87bb2091ac180d03e1c9ca0f702e693d867019360785ffe0e52fe6a924385b87dad323
+DIST kemoticons-5.40.0.tar.xz 1695752 SHA256 4c104050697b82418b303b004a635652793d6fc6b2c8745c948110b9f07611cb SHA512 47dc8f65f29d297a3229fba0a63d5f0eb959fe072e44dfc831f33b4a778cfae1f267abe6cbf264a69d3ea677a8cd2d94898ba9f7e0852bfcb7573b368cb1c289 WHIRLPOOL a6538625447b64f53f6a45e7af0354cc83b111cec31e3a0487db039c2572d79ad886c29a68842e40622e200a4b937785cad8deefc46677a1ded425e59c5a346c

diff --git a/kde-frameworks/kemoticons/kemoticons-5.40.0.ebuild b/kde-frameworks/kemoticons/kemoticons-5.40.0.ebuild
new file mode 100644
index 00000000000..ae4e91d1e6e
--- /dev/null
+++ b/kde-frameworks/kemoticons/kemoticons-5.40.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for converting text emoticons to graphical representations"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kservice)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}"
+
+# requires running kde environment
+RESTRICT+=" test"

diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index c063027a8e9..bf39f9ad601 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
 DIST kfilemetadata-5.37.0.tar.xz 218252 SHA256 17e12d5e8d033e638ec727639ed3ebb0af3cfc71fd632167304c99d8aea9ab9e SHA512 78143c82b858f53e63e35e11e144ccb474574885bd772ff27131c0568d5033618f8ff75844b02e3e3acbffd5d8901300f26f5b4e9d5556f2400f3666183b2899 WHIRLPOOL 8ec5c54cac68c2309aa998c5f8a1bcc027c374dd63c6877074c00c339d9ed14019635dac06c0972285dae9f89af5350ca460b36bf487525be139e997a6ad4927
 DIST kfilemetadata-5.39.0.tar.xz 219784 SHA256 0feadb5850557be4d372dcf792c83176276616fc839965c23ed87b7525bc9dd5 SHA512 df3e17fd19e64af2e413ff0e0405654e52e245185762a1d7bed8dec63b2a567e23c1f4340d946de8a076264d62fddae8184d70dfb001147e52e003bb4a416391 WHIRLPOOL d89fb1b169c6a119591d9f089cc9ca8d530385ac3820cb1f7a82662540a796483b378be8ad3f5df984503cec40bf4b96bc617237d80b638ce24275e0df7efc5e
+DIST kfilemetadata-5.40.0.tar.xz 219196 SHA256 6b773fcda6977cf9c9c6e721343c90c66806691265fb1ada3498783158f33bfa SHA512 b3f632af0847dd3bed8bf0214e3786fe72ffbdc90454d7a2117e8b30023c43b594a27c5811a6e77d1e46a68261e950a5dc016b9ae6f80f3db539c29eaa53297d WHIRLPOOL 81ed25c598fc30478b60253cd9c43fb208ccbb52bc4b1323f850b11811c20a860bdd22a83c046639aad60f0bc7fd692d8f59f7a4c8f0b9db68c042f3b3e635c9

diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.40.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.40.0.ebuild
new file mode 100644
index 00000000000..b2924d5f880
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.40.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit eutils kde5 python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="epub exif ffmpeg libav office pdf taglib"
+
+RDEPEND="
+	$(add_frameworks_dep ki18n)
+	$(add_qt_dep qtxml)
+	epub? ( app-text/ebook-tools )
+	exif? ( media-gfx/exiv2:= )
+	ffmpeg? (
+		libav? ( media-video/libav:= )
+		!libav? ( media-video/ffmpeg:0= )
+	)
+	office? ( $(add_frameworks_dep karchive) )
+	pdf? ( app-text/poppler[qt5] )
+	taglib? ( media-libs/taglib )
+	!taglib? ( $(add_qt_dep qtmultimedia) )
+"
+DEPEND="${RDEPEND}
+	kernel_linux? ( sys-apps/attr )
+	test? ( ${PYTHON_DEPS} )
+"
+
+REQUIRED_USE="test? ( taglib )"
+
+pkg_setup() {
+	use test && python-any-r1_pkg_setup
+	kde5_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package epub EPub)
+		$(cmake-utils_use_find_package exif Exiv2)
+		$(cmake-utils_use_find_package ffmpeg FFmpeg)
+		$(cmake-utils_use_find_package office KF5Archive)
+		$(cmake-utils_use_find_package pdf Poppler)
+		$(cmake-utils_use_find_package taglib Taglib)
+		$(cmake-utils_use_find_package !taglib Qt5Multimedia)
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	if ! has_version app-text/catdoc || ! has_version dev-libs/libxls; then
+		elog "To get additional features, optional runtime dependencies may be installed:"
+		optfeature "indexing of Microsoft Word or Powerpoint files" app-text/catdoc
+		optfeature "indexing of Microsoft Excel files" dev-libs/libxls
+	fi
+}

diff --git a/kde-frameworks/kglobalaccel/Manifest b/kde-frameworks/kglobalaccel/Manifest
index 141988580b1..660cdfc1216 100644
--- a/kde-frameworks/kglobalaccel/Manifest
+++ b/kde-frameworks/kglobalaccel/Manifest
@@ -1,2 +1,3 @@
 DIST kglobalaccel-5.37.0.tar.xz 83840 SHA256 4b373660976ba8c5e0fed74ddfc61dd8629757a849a5ea29a3c2166cf2c004b5 SHA512 115fb5359d7eccc12b9772d79c189bb8e46bf47b0aed46dda019b29a16f5db73ed9b1bc490648f44fa404385411b8471406c0288c275d18ce3ca8ed0156820dc WHIRLPOOL aacb5cdbc0ae02a140dae1405d89a96d4f291beb331e7ac6358de32fef188c521797f2c8a13641e4ead2de190ef8c897c2340fb433fccc569ba8d3651e683834
 DIST kglobalaccel-5.39.0.tar.xz 83916 SHA256 21ab590c0288193d914ebbbb1be1f8efd5f3a6f8ac0a9592439da1141db78b71 SHA512 82e08df92c39ae5545bbe0e1586797a097b6cfd00e8f18d16ccd1aa6de07c0ddc922e62257f9bcef5ac24dc61a511ee17bd2f25945019a9b304857f72638f18f WHIRLPOOL 249954ab459376149423ad7fb783402ee5ef5a14e4a737c77e9328dd15d6a32624550cd322c95e03927b2ee54eda688e302262429d5e6f98edf5a4454ab1454a
+DIST kglobalaccel-5.40.0.tar.xz 83628 SHA256 f66970fd45c6917840d5eb1d64b6732b4612fd27602144d587d00f4b979e54e3 SHA512 5b4a5d557338eb149257448cbabd7df9d7969ce2d977e13a4d104fe4c21d262b952f820614aad9012f6d4c2d28898f4d77daa4dadece39275383e35b6a84e9bb WHIRLPOOL 35a9f488923d115a5af43963624b3b3f4c34c6416b7418e8bb8b0cfe1d3308ed5982e97c5839a63fbd0aa98aab69d8178703934fe6a88e2722eaada1fce71123

diff --git a/kde-frameworks/kglobalaccel/kglobalaccel-5.40.0.ebuild b/kde-frameworks/kglobalaccel/kglobalaccel-5.40.0.ebuild
new file mode 100644
index 00000000000..dd7ac3199c1
--- /dev/null
+++ b/kde-frameworks/kglobalaccel/kglobalaccel-5.40.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework to handle global shortcuts"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+LICENSE="LGPL-2+"
+IUSE="nls"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep kwindowsystem X)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtx11extras)
+	x11-libs/libxcb
+	x11-libs/xcb-util-keysyms
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"

diff --git a/kde-frameworks/kguiaddons/Manifest b/kde-frameworks/kguiaddons/Manifest
index a9fa9ac46b9..bbbc835a4a9 100644
--- a/kde-frameworks/kguiaddons/Manifest
+++ b/kde-frameworks/kguiaddons/Manifest
@@ -1,2 +1,3 @@
 DIST kguiaddons-5.37.0.tar.xz 40148 SHA256 c56ef3b231b088ba6903e8319fc936ad438e3c6411b9f14d2c234c8738b5e68d SHA512 fd727372130de4fc14bff946586da2f71e6f475a10edce438f5bb6fc9d9e2d93b4440920234a33365617bd85e61a74429038bf0d7e79150c3cbe419c4c1b9320 WHIRLPOOL d5f40a7386bd9469ee6fff2a432633e0b86753359b524b8f6c8fde6237dc93b4372bd97cb04fd44783492661a1dcfbf16c03911c35ff39230ddf7430f68018c1
 DIST kguiaddons-5.39.0.tar.xz 40140 SHA256 6ee0f5a2b1d66d5266cd2045ff06329efeb394441261a9ce9ea7f5f35689e9ab SHA512 a72c516a963d219bf8b2e1cd226e4ab8fae927f3d5d7f01a468e9c3c84f4cd430c494eac8e1b20668f8c48fdbf8161d3b4dae7b8a05152420aece56c41bc0b6e WHIRLPOOL f55c4cd81f84ea0d9869a7021c7211b7feb334f3048e3b980770119b44372076e3c253fe301d246151040f72a2a9f647101fb526eb7050c118150f8338ae6e31
+DIST kguiaddons-5.40.0.tar.xz 40180 SHA256 e1325bdbbed07ca73a6ee61129af31dd72c29aa7ab5a49bcfd015ea72eb1140a SHA512 42543c4b29355d5998abd4bee14530a9e96b7d3f4378ea11952af67a157be23acf45b5c801e80909546e7903c73df3a650a05fa6ee8594a2cbe9e8ce66146976 WHIRLPOOL a672944e8ff2bca03eb41c4ead54e333225eb7685b413d5d9e595fe4e4ee8c40fa62e69cb3fbd35808aab998871093d345b67e5714b0c0b8844a01dc0cab689e

diff --git a/kde-frameworks/kguiaddons/kguiaddons-5.40.0.ebuild b/kde-frameworks/kguiaddons/kguiaddons-5.40.0.ebuild
new file mode 100644
index 00000000000..26fe9e0524a
--- /dev/null
+++ b/kde-frameworks/kguiaddons/kguiaddons-5.40.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing assorted high-level user interface components"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtx11extras)
+	x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+	x11-libs/libxcb
+	x11-proto/xproto
+"

diff --git a/kde-frameworks/khtml/Manifest b/kde-frameworks/khtml/Manifest
index 9dd2c423216..ffceb1f5728 100644
--- a/kde-frameworks/khtml/Manifest
+++ b/kde-frameworks/khtml/Manifest
@@ -1,2 +1,3 @@
 DIST khtml-5.37.0.tar.xz 2081460 SHA256 02aa4260f078f97b9299fdf1acef85ed28158c9de3a3023774aed8e4bbe815d8 SHA512 275b014d7e1ec3c5f2727c32c237ee9d2f0be313fd5e8676b81be1a1791478e04c786129340f331ea35e4f363e0e696b7d7e67c2699dfeb48bfa8cbb6ed6522d WHIRLPOOL 143d5c28d93e522b0d4b9d70d5e1ad95281e05e976c095cbbfa6ab3a9806ffaec2c7f7a535af84e0c5ec8cdb3d3b2194f22ca127d9ead788e353308e0fbd078a
 DIST khtml-5.39.0.tar.xz 2081600 SHA256 a284c7c60bf0df22c4b92e9c341ca080cd49730c5218f572ed88a885365ff624 SHA512 796e7d97d0889cccbd6093c20967a37e5ca1af1596b3f6dc71a8857f3175e5f12d027566b5e8497ec82c88622cab546e429194090948f1785e2f28f91867891e WHIRLPOOL df68b96bd02ce6b382d121955a1f472cb4ef51d56d9853dd6d2531ab1e2f6b8c540156d3806cdea8127244b0294d868542d825ff4ddc0f5e50c48030039741e2
+DIST khtml-5.40.0.tar.xz 2081588 SHA256 e01faffd13cb1da876e9021609d5db0a8f7b3c23855e3ae069a5dfd7888ae36c SHA512 e64cc9c32944c6cd1f45c745f4e653ca1b6023061ede3ed87886e3ed95e9d2d7a7753b396631d256b7f1a4c34b788e9a9b80253f151f73b3fdec3f862f8adcef WHIRLPOOL 12e30bf235f8fe1cc426c8039c928baa730dc4c95765fca5e4e10e31e6694e56acacc60d9bc95d4286fe372d27a9813cdcfdbfb4c6d30e534959779c18acd8f5

diff --git a/kde-frameworks/khtml/khtml-5.40.0.ebuild b/kde-frameworks/khtml/khtml-5.40.0.ebuild
new file mode 100644
index 00000000000..cc2820c61d1
--- /dev/null
+++ b/kde-frameworks/khtml/khtml-5.40.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KHTML web rendering engine"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="libressl X"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kjs)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwallet)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork 'ssl')
+	$(add_qt_dep qtprintsupport)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	media-libs/giflib:=
+	media-libs/libpng:0=
+	media-libs/phonon[qt5(+)]
+	sys-libs/zlib
+	virtual/jpeg:0
+	!libressl? ( dev-libs/openssl:0 )
+	libressl? ( dev-libs/libressl )
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libX11
+	)
+"
+DEPEND="${RDEPEND}
+	dev-lang/perl
+	dev-util/gperf
+	test? ( $(add_qt_dep qtx11extras) )
+	X? ( x11-proto/xproto )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/ki18n/Manifest b/kde-frameworks/ki18n/Manifest
index 49256cd75dc..c55908e558c 100644
--- a/kde-frameworks/ki18n/Manifest
+++ b/kde-frameworks/ki18n/Manifest
@@ -1,2 +1,3 @@
 DIST ki18n-5.37.0.tar.xz 586720 SHA256 4d94f4f676161507149886c6f9c4a16a17556bcb4b9c24b4549a53b82ef13ab0 SHA512 b4e25b9e20cab9406087c859cd4a899ff29187820f507f8cc6b061af3bc51b958e915c9273241b9e0ac3e4344db73b67b3ace0d9ad127e119fe051e45700cb19 WHIRLPOOL 87c56572fa046104a01bd349a2d585668a3f50dedfebcc3afc72fa77e696992cd1c0cedcf45c09404bd82f69ddbfcc194ce4c9305eda2a2fc22fa3d4c5f3ef6f
 DIST ki18n-5.39.0.tar.xz 586912 SHA256 5e31cac2735db66de620d28a5d561f15aaafd6181c1ff7ca3a03b20ce3c305a5 SHA512 0baefd0404a37666fd6d5e66328e94d05e1540e3be098a59aeb28589b3111ff1769fe880b5f8db1379dad229ed5a2bfe7b3535938c753a00fb7bee12c6b5953c WHIRLPOOL c1dcbf673e18616b88c93ab3bc62eb33969ecdaad22f1561ea321a65e1406ac922e295565c7bc7d5426715f829b3d4178c5593138da960af849ef1e56bbcb4bb
+DIST ki18n-5.40.0.tar.xz 586876 SHA256 a97a0d40a783dcefc7cd89903bb0a8f673b90c753f89c4e858960b07a24f68db SHA512 cfdabb1c22d0ae275c274b4e0d40af94305364bf69a8152c6d9064dcc4d5b8d208eace8b2679c4eb97f095ce5af5582350fec1564ace049d2f63e852b4249bd3 WHIRLPOOL 75925389b6b8f384ee803f35d9d42a08654198f4ce606a79d79a11926ca3e4d2142aed9b3da280558637c60bf5d3acfe0aa6327d74b968d38b672fc972259fdb

diff --git a/kde-frameworks/ki18n/ki18n-5.40.0.ebuild b/kde-frameworks/ki18n/ki18n-5.40.0.ebuild
new file mode 100644
index 00000000000..100efc693c2
--- /dev/null
+++ b/kde-frameworks/ki18n/ki18n-5.40.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit kde5 python-single-r1
+
+DESCRIPTION="Framework based on Gettext for internationalizing user interface text"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	$(add_qt_dep qtscript)
+	sys-devel/gettext
+	virtual/libintl
+"
+DEPEND="${RDEPEND}
+	test? (
+		$(add_qt_dep qtconcurrent)
+		$(add_qt_dep qtdeclarative)
+	)
+"
+
+pkg_setup() {
+	kde5_pkg_setup
+	python-single-r1_pkg_setup
+}
+
+src_install() {
+	kde5_src_install
+	python_fix_shebang "${ED}/usr/$(get_libdir)/cmake/KF5I18n/ts-pmap-compile.py"
+}

diff --git a/kde-frameworks/kiconthemes/Manifest b/kde-frameworks/kiconthemes/Manifest
index b6023309a95..37c177ddd89 100644
--- a/kde-frameworks/kiconthemes/Manifest
+++ b/kde-frameworks/kiconthemes/Manifest
@@ -1,2 +1,3 @@
 DIST kiconthemes-5.37.0.tar.xz 204832 SHA256 b83bc856947134d4c7a97a6bf8f61045269fb614d6f7d482b344a8beb57bf5c8 SHA512 a5c19393d40055eafb5c7ed67c7a2b6563786a3191c3192c02d328004d14b33c7e9db936745e45a853b75264864d062d7697b1dc44b7c0056a2a350acae91204 WHIRLPOOL 5af1b9cd809b65183b92e48a817be7f0818bf44714c1dfa58df339f43cefe306f9e45f5fc0915e6bbc12f1585b9841c3793e23080e0c282a8dc5086d7ecafd69
 DIST kiconthemes-5.39.0.tar.xz 205472 SHA256 2edd03b3424fcc02d203ac8e3238c17436ccc951892bfcda498494ff871199cc SHA512 1e30b24c1689ef4e7f59cc67fd4dc09e3dfcbfef0cf2b475ac09b43aa6d25ebb4edd8780398eee906f84ee1f5e53b2c0dc839014e185fb47e994c57fff74d7ca WHIRLPOOL e92af00c9ab63d5379685a57fdab6fa6945c1cd017c3e13fd1f013766add48718e56142b88c09cdbb889f6941e767337ece9d2726a3fa6549fbceaa6f1320e70
+DIST kiconthemes-5.40.0.tar.xz 205516 SHA256 7d83b48411ebc177f8b998050b9d5ffd612c763275f1121a2470dded4a97de44 SHA512 bed22e1e1173e5838a43cce8305b0df3b6c7f5f90d958feaf14a8a9612de2d81bdc57a2e6807ac9375cdd8a96a433672484a931ec30c6816ba58f752b2b8c2cb WHIRLPOOL 07a1ae125799e30a2b9db84c12af7a67420963d4f1bc20eaa610d6633ecc1da46ce95ebadfab0bbafc02aaa2299f2bc425e96e6435b2cd878250e14263565256

diff --git a/kde-frameworks/kiconthemes/kiconthemes-5.40.0.ebuild b/kde-frameworks/kiconthemes/kiconthemes-5.40.0.ebuild
new file mode 100644
index 00000000000..308b6a45474
--- /dev/null
+++ b/kde-frameworks/kiconthemes/kiconthemes-5.40.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for icon theming and configuration"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtsvg)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}"
+
+RESTRICT+=" test" # bug 574770

diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 82048a74864..bc33e12530b 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
 DIST kidletime-5.37.0.tar.xz 26608 SHA256 3a472778722f38e5175ac55ff71a5e464ec98ecfd2ec759b7003612fe8c0a406 SHA512 444cfc25d162c4390ec0aa49b035bda1e5628972a634eb08c0cc9c48d513676669729470fc91cdf25ed98b9b6dd76b71159659bfecb4cbd61e029ad42398be27 WHIRLPOOL 20062019e3f8e3ade9d4c9e342508231c3741cf835f2db6a034d7fc09d452b7475e51998e05c978acb45da84e7e3cff8942943a23f70952e06e77fe3a1d315d7
 DIST kidletime-5.39.0.tar.xz 26616 SHA256 a8ada849a4c740a4346bc3c073e38761b8cfe38be6eb0ffc9221d85932bb0506 SHA512 f9eb585b9677f1dd5f9a0cb71fae5fb8faf9319256a7bca79528354244a9275feb061914cf5306f4dc3caa2ce914e23c378140cf3ee190dd5dc5ebdf9b20cef6 WHIRLPOOL 2f3d0c6d2f2aab658e7cf7e2b06adb6d565cf179982aa0a18d5c45ba6ee7230e40d4e561284adbc08a7d83688b1608c12b6ee0e111e266a86c04e5b6c008e01f
+DIST kidletime-5.40.0.tar.xz 26616 SHA256 29e5a50cd961a1080c45334484abef1622dac50c20afa263ffdb6975f738da60 SHA512 b8c8c1de1c2261ad52ba80a11388a90ffa18c80153b58b0063184e14fe1c744465c150ef4e9be6692ca81330c52230029b406e8ae240e6738300f8977411a6ba WHIRLPOOL 0b4856c547eae7a119564a8faaff0fffdc8b60185929b7c9b961382d500fbe86058649254a6e0ca8d7abe025c167f422140dd9237e08a344d374d3aaa87dc785

diff --git a/kde-frameworks/kidletime/kidletime-5.40.0.ebuild b/kde-frameworks/kidletime/kidletime-5.40.0.ebuild
new file mode 100644
index 00000000000..f9b3ebb4a97
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.40.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libX11
+		x11-libs/libxcb
+		x11-libs/libXext
+	)
+	xscreensaver? (
+		$(add_qt_dep qtdbus)
+		x11-libs/libXScrnSaver
+	)
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	kde5_src_prepare
+	if ! use xscreensaver; then
+		sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+		$(cmake-utils_use_find_package X XCB)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kimageformats/Manifest b/kde-frameworks/kimageformats/Manifest
index 0884672ecd7..84f6cd8c387 100644
--- a/kde-frameworks/kimageformats/Manifest
+++ b/kde-frameworks/kimageformats/Manifest
@@ -1,2 +1,3 @@
 DIST kimageformats-5.37.0.tar.xz 204336 SHA256 6fb26812cd971dd23676f10096a097e2c1f1be8dee7249a7dd40cb2fb951d0ce SHA512 b15ecfbadf002dbc6984d621ab7a401f29b84986e5b98f820518ae446da6b7e875d0279f8b9100616da516925c5a8c638ec63cc0834d49d806006e6aa9830de2 WHIRLPOOL 88e43a93355ab33ea9e41292c9fefca6f2f13529caaa804422c4a197f389dc8e4b46fddac7cc6c7855dad54493676c682d77ed4eb4761f9dea964a594fc94ac2
 DIST kimageformats-5.39.0.tar.xz 204404 SHA256 a59082e8abbd141849e49762aac952f5f6d6820bf61cad0687bf618bbb6eced6 SHA512 20bf2b392becf0c3deea31736577d872cfd58e106746b7df5d929309555d3f85b7c243ecb59a89c5dc26826806267a8d25bec6b43993774503350783bb71770a WHIRLPOOL 5ee3a90c1baf5987c3d7cdb3bda55ef5036846b53c398fb6e8ff484d5eabd3b04d3078f7c5785a99aa764ad4be5765cddf21dee8fbbc408900e4615d88c3fdcc
+DIST kimageformats-5.40.0.tar.xz 204748 SHA256 a1d8546f628bca5eebcd255447e256c3f14cae090ad765f2e6ff19b1263ea4d1 SHA512 e971d02b34c1a63d9ccefb10e5c12b21e6a68330230ca06fd7e55b390fec6ef7937b5e404b446b9ec65e5b1f962a601c1ec03a7783d1e06f004ac5f6ff428ea4 WHIRLPOOL 3cef24fb09f8dea6bd69549b2969dc572008b6967395bacf11397ddb888d935233889843e06f8f2ba461121195e99e6f02e952f2f26db2d8f987a56d590895fb

diff --git a/kde-frameworks/kimageformats/kimageformats-5.40.0.ebuild b/kde-frameworks/kimageformats/kimageformats-5.40.0.ebuild
new file mode 100644
index 00000000000..0173cfc5f43
--- /dev/null
+++ b/kde-frameworks/kimageformats/kimageformats-5.40.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="eps openexr"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_qt_dep qtgui)
+	eps? ( $(add_qt_dep qtprintsupport) )
+	openexr? (
+		media-libs/ilmbase:=
+		media-libs/openexr:=
+	)
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( src/imageformats/AUTHORS )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package eps Qt5PrintSupport)
+		$(cmake-utils_use_find_package openexr OpenEXR)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kinit/Manifest b/kde-frameworks/kinit/Manifest
index 70e6efa09aa..3665d1bfc44 100644
--- a/kde-frameworks/kinit/Manifest
+++ b/kde-frameworks/kinit/Manifest
@@ -1,2 +1,3 @@
 DIST kinit-5.37.0.tar.xz 121296 SHA256 b9686968cb277a027169bc48ff37a25f44691b1d828af7cee4c6790c89f7ed2c SHA512 c12157a88eb708b5838ba381f31460f21adf190a9f1ca58f2f32824c10901f5c716a251af7a24493e0715605c6c0fc480a361bf2fd656a6f38763f0de99dc576 WHIRLPOOL 4a4a1a082d1ab97dc1910539a4e2f4b069a46fea2011d6245f90451e2c65c4ddf246ea5740521314020713a387e9c52429961c9c9425529b6dc5c4977704e835
 DIST kinit-5.39.0.tar.xz 121508 SHA256 c26a88e6c3e0607bdfa1b51ae6fa0d7fa6bb863c9f8f2659e8622d0d77a05c28 SHA512 538f6385bf76d5ff267b0ab70a1cc26794b5489a56c65080b29f3d8b2eda1126aa92f7e60b223a0241db17c2d81b89b5c9e361545dcf35804d82f7133fde0904 WHIRLPOOL 602fb9310372f1ff7c0b186e9bf9f38fb097926a57837a2b2901fea0c54674a449c6a9aaa012c82ee1bec1a06db4da120a324e658396a09de9e94b7065468a7c
+DIST kinit-5.40.0.tar.xz 120920 SHA256 ca97eb8480a7387537166831a6a91892068656a161b9726429af581a436e2689 SHA512 1bfa884726e4379d9e0246e283dd7867bb404416eb90226f644b46e06c4bc17c898470bddafaf9f6ba9fc6be5ea4d975cacb0e5fc5ea4d1038616e91e7ddcb07 WHIRLPOOL c854df4c36b80addb8955994828da0d0e5322840907d747ec69d7d7a552798d9024eff96472d877fd0afea2b25b23f8c6f5d6c8b070218907f54c4f165b696c0

diff --git a/kde-frameworks/kinit/kinit-5.40.0.ebuild b/kde-frameworks/kinit/kinit-5.40.0.ebuild
new file mode 100644
index 00000000000..16d82b94ed5
--- /dev/null
+++ b/kde-frameworks/kinit/kinit-5.40.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Helper library to speed up start of applications on KDE work spaces"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+caps +man"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	x11-libs/libX11
+	x11-libs/libxcb
+	caps? ( sys-libs/libcap )
+"
+DEPEND="${RDEPEND}
+	man? ( $(add_frameworks_dep kdoctools) )
+	x11-proto/xproto
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package caps Libcap)
+		$(cmake-utils_use_find_package man KF5DocTools)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kio/Manifest b/kde-frameworks/kio/Manifest
index f4b1d700889..2f773a263e1 100644
--- a/kde-frameworks/kio/Manifest
+++ b/kde-frameworks/kio/Manifest
@@ -1,2 +1,3 @@
 DIST kio-5.37.0.tar.xz 3084204 SHA256 49448ebcfe182805f8f9cd40c1e2c8e686578cc2e7fa3688204d5ca4e182ac5b SHA512 42b2cbf6cbc414a0b69fdb36984d13574b1aee033170761dc55835cace44abead82f387f8afb35d8a82ee93a1909854ef43cff29d45c5881c4b13ca8862d2a64 WHIRLPOOL 649b16ebf5708d410d826a70726a9fdfd3668e00784246e7cb4d193b1951525e821046121886580bc16004280170277ac0344d1ee18afb91722e095118b1ccd6
 DIST kio-5.39.0.tar.xz 3093732 SHA256 96cbea5aba34b4e1b0df5ecfb4aaf65ff324341fb00f99796146536557232f24 SHA512 18e87ba62610c1aa1a3281642cda627407ff0c0cc5eedbd990bb58721271442a3aad7db58b3d808ce977400ca3dd9d64792feb64f5746c54e2d3ee8ad2820d8e WHIRLPOOL 3c2f2e3c76d64f687e3ebdbafa8b0feee9be3fbcc45d7952b509af041b6b404a2eefec1583122a9a17459bbfcd996e17c16031c7790a28a3db2462e498db381f
+DIST kio-5.40.0.tar.xz 3100424 SHA256 30ea0b231b995faaf4283b9c9ecfaffb589268f5d7b5b805f69ed95601ac389b SHA512 e35a7fed3c38f91c056d5ac04b4839ebbf199e4509187e997d6d8a217175a9dc442c7beacccf333ec092c0d110f8f008144293364006888f25b570d697c10bed WHIRLPOOL cfae3b3dc85f1398217c934943829dc28d2b7bfefe6d8adb5a082593f66127b313652b34278e6e4d612b266f7df8b03462a5ae8ac71af5685ad9641c08181b3a

diff --git a/kde-frameworks/kio/kio-5.40.0.ebuild b/kde-frameworks/kio/kio-5.40.0.ebuild
new file mode 100644
index 00000000000..4c595b88b63
--- /dev/null
+++ b/kde-frameworks/kio/kio-5.40.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing transparent file and data management"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="acl +handbook kerberos +kwallet X"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kbookmarks)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep solid)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork 'ssl')
+	$(add_qt_dep qtscript)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	dev-libs/libxml2
+	dev-libs/libxslt
+	acl? (
+		sys-apps/attr
+		virtual/acl
+	)
+	kerberos? ( virtual/krb5 )
+	kwallet? ( $(add_frameworks_dep kwallet) )
+	X? ( $(add_qt_dep qtx11extras) )
+"
+DEPEND="${RDEPEND}
+	$(add_qt_dep qtconcurrent)
+	handbook? ( $(add_frameworks_dep kdoctools) )
+	test? ( sys-libs/zlib )
+	X? (
+		x11-libs/libX11
+		x11-libs/libXrender
+		x11-proto/xproto
+	)
+"
+PDEPEND="
+	$(add_frameworks_dep kded)
+"
+
+# tests hang
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package acl ACL)
+		$(cmake-utils_use_find_package handbook KF5DocTools)
+		$(cmake-utils_use_find_package kerberos GSSAPI)
+		$(cmake-utils_use_find_package kwallet KF5Wallet)
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kirigami/Manifest b/kde-frameworks/kirigami/Manifest
index a48643ee41d..2ac33832cca 100644
--- a/kde-frameworks/kirigami/Manifest
+++ b/kde-frameworks/kirigami/Manifest
@@ -1,3 +1,4 @@
 DIST kirigami-1.1.0.tar.xz 262152 SHA256 6677af0c486a4c9cfefe74a0951e85dad53435010031bf2b7fcdf9c5df6b3edd SHA512 83d1c0600fed7838b25ddfa3d20e1abef594c8e5fa202314ef1c22b6548573db36058f02620236cd9bba9f65f45f8821fa37558689b49776f9fe3119c89b0b63 WHIRLPOOL b1d4cc22a0759f561c16bb61bf2a47494e92cc766401862b97866156dfe1cda452e1db01a62805fe902320fc106708794b7f545abfbd2ff5c0d8909acd024bc1
 DIST kirigami2-5.37.0.tar.xz 278452 SHA256 ad252c1ff20060f1de5afd41fade9b86e046bc9a7da38af6ca507f8ba2ce82fc SHA512 fcbeda787b571e9cad820b5dba9fc1fcf51e9411820765138bf350f57e8be01356d157d4207a78954901d96c3ca9db4c47604b054daeecc1cf10b0a769c5cf10 WHIRLPOOL ba3abe68200c96741ce2803a62fdc632127deec79adfce6218d4a583d4a36999667c2e35a8c8cf69f450133d8d259fd2701eaa1ca3af1102286059e6988a5d92
 DIST kirigami2-5.39.0.tar.xz 290808 SHA256 2714ee82dbcc2cd1b799d5f12193cae5637136466295567426c74b4f26f5ef6a SHA512 ed6605072b8cd28bb9a6c70ab0f9d65e559795bf6cdd3118d63d36588a6c397a7b8656e80201ba320ae9b85a38f31550897762dcbee8347cd9e657efc6e8af11 WHIRLPOOL b993c99ff3c0f5d577e79ab6f1b28e097ff62c6d11881bf3f2b06f4e16be230c1853da0e0410dca2784974c03617022ecd7fabd46ebf4b6710c38009a4278956
+DIST kirigami2-5.40.0.tar.xz 291456 SHA256 2b4b6c6aa5b6fdb57d19345526628f528b6e57fa4a471d4b83e0ceec3a674228 SHA512 689d91f23a1300afd9204173a40e2a100e83b0eb38d02962236ab1ff91fd4659dcc60d84c815766a38cacf38294488d82c5d0b9d540c1a0972489aa29e300974 WHIRLPOOL be16671d9fc0576edb2dd30162f011164e84405698991204b19ef924f7f1672d7ed9100a39cd3949e715e28dc9e7d07f5e22a1cd1b6f29e5089738570c04172b

diff --git a/kde-frameworks/kirigami/kirigami-5.40.0.ebuild b/kde-frameworks/kirigami/kirigami-5.40.0.ebuild
new file mode 100644
index 00000000000..d3fa319c2d7
--- /dev/null
+++ b/kde-frameworks/kirigami/kirigami-5.40.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_EXAMPLES="true"
+KDE_QTHELP="false"
+KDE_TEST="forceoptional"
+KMNAME="${PN}2"
+inherit kde5
+
+DESCRIPTION="Lightweight user interface framework for mobile and convergent applications"
+HOMEPAGE="https://techbase.kde.org/Kirigami"
+EGIT_REPO_URI="${EGIT_REPO_URI/${PN}2/${PN}}"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="plasma"
+
+RDEPEND="
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgraphicaleffects)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtquickcontrols2)
+	$(add_qt_dep qtsvg)
+	plasma? ( $(add_frameworks_dep plasma) )
+"
+DEPEND="${RDEPEND}
+	$(add_qt_dep linguist-tools)
+"
+
+# requires package to already be installed
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_EXAMPLES=$(usex examples)
+		-DPLASMA_ENABLED=$(usex plasma)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kitemmodels/Manifest b/kde-frameworks/kitemmodels/Manifest
index 4713921b831..3be97a516d6 100644
--- a/kde-frameworks/kitemmodels/Manifest
+++ b/kde-frameworks/kitemmodels/Manifest
@@ -1,2 +1,3 @@
 DIST kitemmodels-5.37.0.tar.xz 389648 SHA256 39ffbf6aacbcc20417fe6b228c16621d4ab828b13c4371c377f0814aeeff97da SHA512 09fce62011f4519b91d64c3b85428dd1ed8003cfa5c455fed813eb21e047985669b34b67885aaf95b4fa48d803f5ead479b77f4509863de8a0963c060e47ccb3 WHIRLPOOL a7a84a194d98f342683217778caff9eb1d77e4d26624156212d7b039b8b3d0ed564614d82b76fc8412a3978663b6f35b4bf628f859a4761b5ece85ff7cff17fa
 DIST kitemmodels-5.39.0.tar.xz 389656 SHA256 699a1e7e1c78159efb501afc197f9b9959a800405da1ed9de9115ea13c98c0ae SHA512 cf00e36915a9a6f6078baadc7783e5e0648c7197aa212a095ef1e2d1ce21e03877261a05a4cf521cbf6d96249a49df13fef760352cca5c9c74b3605534cdb24e WHIRLPOOL 1e6b404326e292501e300185836acf2f55dbc625c0e30d21c4e028e1c49e1cb0c49dbf4dc7b1455613f3258eb693b1c7e66b389552f2fd84ecb690593b275a3c
+DIST kitemmodels-5.40.0.tar.xz 389628 SHA256 a9bb04bde2b445fb23435619703aa38dd5ccb0f9fa2caaed1fe960061ec04546 SHA512 17f78419b5860b6423a555d5ab529f68e7589e76b1f0c32f5ff0f581991a480cd9424d86d1384a85c221bb3037491a8fa4a0bf1e20ee7ed046d9be8c76e74446 WHIRLPOOL 94ba9692fb4c98c4b64b67fe5feee7cf246c49ab1d28605216251b96f76550bb10438a4bbd5237d5caebeb41945742adb038f57b004ccf178da08e5e3f49efa1

diff --git a/kde-frameworks/kitemmodels/kitemmodels-5.40.0.ebuild b/kde-frameworks/kitemmodels/kitemmodels-5.40.0.ebuild
new file mode 100644
index 00000000000..776ab481c87
--- /dev/null
+++ b/kde-frameworks/kitemmodels/kitemmodels-5.40.0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing data models to help with tasks such as sorting and filtering"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="test? ( $(add_qt_dep qtwidgets) )"

diff --git a/kde-frameworks/kitemviews/Manifest b/kde-frameworks/kitemviews/Manifest
index 0196cd2ae16..3de8ef47168 100644
--- a/kde-frameworks/kitemviews/Manifest
+++ b/kde-frameworks/kitemviews/Manifest
@@ -1,2 +1,3 @@
 DIST kitemviews-5.37.0.tar.xz 74868 SHA256 55737ee6cf018c86e2674d417a0c234b060bb58b8eac477e862ec6e8a9dd279f SHA512 bc9333da6bc5573978ff1f7b558de789a3b63d88ed8c3c1b5d26706b00d808c90e0ef878b309d0f4f6ad538954e21f455fe6290d246a546838e2130053508333 WHIRLPOOL 3a506ad3b08cb36e945e4fe927cf24936548dd95cae0a6d82230521b7f6aa742ee3dbbe75308cd18d507d0001037a96370b4b23867fd94b8862ccff55afe27d0
 DIST kitemviews-5.39.0.tar.xz 74896 SHA256 d069da87a28b373676b7bda1a1474c5f8c815441041cbc5af52d7c1a5a4a885e SHA512 b61238d5a59dedc8c262e572e757a2a5724552f41105b60285b04111c24257663546df3d9b964db9abbe8b6445b29bb4b12c7f7fa78ca29688b1a88d64105371 WHIRLPOOL 7b6ff93ae3dc9dcfaf1488793ef3e399877d1286745ee95c5337f997aac7b30e5c09556fa23b1cb479c9a9a63b7cb63519dc1b26347c2023f8196b8f87090ca5
+DIST kitemviews-5.40.0.tar.xz 74968 SHA256 a38ef5387bda4e50a4ca01a19632abf615c5823eb77df9c56f20eb6249b7870c SHA512 54e7f7fe422c0750a20b9cbf4a44c8865513574ae79afea8a2bac70637d293514b0f3a386567fcb6ad559da18ff9a6589d5b55bdf8411606ad24592c857a110c WHIRLPOOL 0c52299261ac2566ea34c5c519e2bf175b55d0eb94f29e075438b8742ee6f52f5a24ed0a8f5bc7dcfd30d0e5523d8ddc5457f857779a9634119ef4efcae4215a

diff --git a/kde-frameworks/kitemviews/kitemviews-5.40.0.ebuild b/kde-frameworks/kitemviews/kitemviews-5.40.0.ebuild
new file mode 100644
index 00000000000..e1f1390aff1
--- /dev/null
+++ b/kde-frameworks/kitemviews/kitemviews-5.40.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing additional widgets for item models"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"

diff --git a/kde-frameworks/kjobwidgets/Manifest b/kde-frameworks/kjobwidgets/Manifest
index 7d7fe187abf..66298a5954b 100644
--- a/kde-frameworks/kjobwidgets/Manifest
+++ b/kde-frameworks/kjobwidgets/Manifest
@@ -1,2 +1,3 @@
 DIST kjobwidgets-5.37.0.tar.xz 89892 SHA256 8b645c1dded5ec2c6628a6b8638804abe49eab02f7da324eb8a75d7d616fc284 SHA512 81192034d3385b661f3c6b33a197a9c8e621839598623cf7ae43815b1d7733b22ae7ce86d65edd5d21437a9bfe0ec3fd0097a3947c234eb5016efc072e5e4063 WHIRLPOOL da4b2e8610bf33d5d005a2d6cdb12c92ce5473517380d3f8d8316dc6bfaaa25cd346da68f4305662c9a14ce934f2687e2db1779593e801f7f9c413fef4e5240e
 DIST kjobwidgets-5.39.0.tar.xz 90020 SHA256 ccfd26c54e15a854d4d86028e7339dcbe33b0c52412686b89b2dc7794b2946fc SHA512 569204f80febbbde4d32c0cd105fda5de0bad86258688bcbca6687884a37d2e91bf4aff833a8bca38f4a30e812f9a122d253b1888c626ef5437c767d35746a2f WHIRLPOOL 38e81e0986e31745231bb5e5e089c1d1480c4a498db9412dd9cfbe170de08ba84c5dab0ab549b3a34190912db6b99c2c450a634434c9ca990f6b1c6e15668d6a
+DIST kjobwidgets-5.40.0.tar.xz 90004 SHA256 d362616c10d9da48c2c4050930559ea5fb92f4bc10f1bbfb73f1d79386724b54 SHA512 ee0fe25fe1c8faedfa834f7a381e8e15dbde3adfb9c6aacef362c39b251a2a3ec84c966c9cfde7ef906a5bfa7bff71d3c5cf374e0d949fb4d18224afebd09c33 WHIRLPOOL fbd36c1c4e2a2f6fa2e01ffb4d556b00e5a18bb8e64f3e360cb6844e3b78124ffc6ece94cd76677892b77ba40f32714c9d291319987c5f6b16742fe33fea2a27

diff --git a/kde-frameworks/kjobwidgets/kjobwidgets-5.40.0.ebuild b/kde-frameworks/kjobwidgets/kjobwidgets-5.40.0.ebuild
new file mode 100644
index 00000000000..9d5fa5ef96a
--- /dev/null
+++ b/kde-frameworks/kjobwidgets/kjobwidgets-5.40.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework providing assorted widgets for showing the progress of jobs"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls X"
+
+RDEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	X? ( $(add_qt_dep qtx11extras) )
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+	X? (
+		x11-libs/libX11
+		x11-proto/xproto
+	)
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kjs/Manifest b/kde-frameworks/kjs/Manifest
index e98f3462048..f5a1ce7af43 100644
--- a/kde-frameworks/kjs/Manifest
+++ b/kde-frameworks/kjs/Manifest
@@ -1,2 +1,3 @@
 DIST kjs-5.37.0.tar.xz 294908 SHA256 2be1dd4e8a6b0914d3f1c7bc4ee0d2666b8166430adb576e17d7441225f2d010 SHA512 0cdaa4e8b2d239e3ff53da12220a60e48e11c1e04a777cda53012d1bb3784948aa846f96b81c3aa71b35a5549a549fbee6665b68439fa0f47dc4e47f527a9cf2 WHIRLPOOL 16ed43862f0ab3b2091072b915ffc96f231c58b5c56fca3e1277eaa9b039e822c3ef707f1940b1ac686f600cd3a1ef9fcae4f05b7efc6c12b19f8f699167959b
 DIST kjs-5.39.0.tar.xz 294876 SHA256 36b365c9f3f41b8ca60d9816d58e6a67e32b2c83385a92d43d3237431118763a SHA512 86e38cd720d971469434ef95cfbb5de19a1bba5434b4b39ec922ddcf2812996d84b15746ff2bea19128f8467e1e322916623d93e05b2d4d382e3bb1016305805 WHIRLPOOL b634402ee367b0e599eacd6eb6493f641cfa60a0d584671bc5fe3ceedeac35e2ddcfa18533b12df1aeea5a6a6320a4c5c2582bdb83cea6ed289058435a29729c
+DIST kjs-5.40.0.tar.xz 294940 SHA256 b5415680ff0844513dcb8ac2da44a90a383323b2228470fcacda4af9536d6d5a SHA512 a9db958cb99f47d8fbc428ace36f050e191f47058ae1fc7f9f4f7bdb8d763e65870a79a1fac504706d26d1d5bbb1988543235519a1cefa46ca4e6e14323208b5 WHIRLPOOL c9a3ed8a05b8348c90c08efe21c9f6cfe42fd64f4cadc99c750fbbc45c4807ed612e5599708eef2cfa6e4f5a2d37effb4ca435449b525bf82b0408a814004724

diff --git a/kde-frameworks/kjs/kjs-5.40.0.ebuild b/kde-frameworks/kjs/kjs-5.40.0.ebuild
new file mode 100644
index 00000000000..5dc713b5658
--- /dev/null
+++ b/kde-frameworks/kjs/kjs-5.40.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+inherit kde5
+
+DESCRIPTION="ECMAScipt compatible parser and engine"
+LICENSE="BSD-2 LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	dev-libs/libpcre
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kdoctools)
+	dev-lang/perl
+"
+
+DOCS=( src/README )

diff --git a/kde-frameworks/kjsembed/Manifest b/kde-frameworks/kjsembed/Manifest
index 6d1d546e805..0ba85c044b3 100644
--- a/kde-frameworks/kjsembed/Manifest
+++ b/kde-frameworks/kjsembed/Manifest
@@ -1,2 +1,3 @@
 DIST kjsembed-5.37.0.tar.xz 169532 SHA256 202f8377abbdf4ad564ca0b11e74eaa6001a5863406254562b6405f755995c70 SHA512 b2a46546a2a06e912634159c6c37a0a7fb617efbef592c94afa7d6c30b116cfdd8d419d42012bc7890a5f846ff3c4dee113687cb7877fbbb0aa599d3cfedba8b WHIRLPOOL 2ed138400c26b1b845443b0b10c47f8cb485146b3aaba4240514ce75aa1db353b91e59c6a23bdfc11558a83f20a85936a60869d34520f87dd5d5768a78eea54f
 DIST kjsembed-5.39.0.tar.xz 169676 SHA256 ebcd97eaa6a5e36f6af7201e10f716aaab3a8cda984ce6b115a8274072f778c4 SHA512 48b85bc2a8e1860cd2033e76aa76f6de18db4eaf6e89ae091eedc83956e8d1cbfdd78b56cf3b0177b9c057effbb687742428020b0219a2eca7e56bab5192576f WHIRLPOOL daebdd0631fb6c19b67cfe3f759737362083beca754fb741e27aca471a7b9da881109e7d49a7baf636a9a5d496da3e62ce738ca5b34d3523589485e127e3cf35
+DIST kjsembed-5.40.0.tar.xz 169680 SHA256 2dda7d9c5c19fa7450adf66ee8bd74365441d9e519ceca21a50557aa48218339 SHA512 4b14d85bf5d67f61eea08eba31e4c3891c418f9bd7af931c6c643672b765ad0714b39da23f8ec57e2d752cabcd04db5647cf1a088f8bdc06be5f606d93297078 WHIRLPOOL 48294209c54d82e114d50beb0f82d57a42e7af20e684f6d39d4ccd60983ff9511f34d32fa8e7675b7dd1abdffa006ac65009fa8090fe5cd650ee17b485cd1de6

diff --git a/kde-frameworks/kjsembed/kjsembed-5.40.0.ebuild b/kde-frameworks/kjsembed/kjsembed-5.40.0.ebuild
new file mode 100644
index 00000000000..f7e4cef3bdb
--- /dev/null
+++ b/kde-frameworks/kjsembed/kjsembed-5.40.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework binding JavaScript objects to QObjects"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kjs)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtsvg)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kdoctools)
+	$(add_qt_dep designer)
+"

diff --git a/kde-frameworks/kmediaplayer/Manifest b/kde-frameworks/kmediaplayer/Manifest
index 4d26d343249..dae5ed69ebc 100644
--- a/kde-frameworks/kmediaplayer/Manifest
+++ b/kde-frameworks/kmediaplayer/Manifest
@@ -1,2 +1,3 @@
 DIST kmediaplayer-5.37.0.tar.xz 9568 SHA256 5712f0c69f77a2bdbb698c9187b54cd7591d693201a7aef40fe17dced9cc1d3b SHA512 8279819334eb66c02a90b4bfbabb4c3c10374bce71edad923c30a70ee1f44dc4c271db1374241c82d1bbead18e5e1de2ce282c4a4982752b64bf140d778ccb59 WHIRLPOOL 46f8d173a3048ab1412c099167d05542910fabf6ce9ec1148e4716a9a1c942de9ff095eb1f3881ac43ff5913a33619f17b33f9abc5122325e7b43c990a9f444b
 DIST kmediaplayer-5.39.0.tar.xz 9568 SHA256 e11e51541d4f70c4ba237fca37ae19a398f284e6ecef6cf0326292bc42e0da27 SHA512 317cd599ffc58a7be3fd63ab698831d60f0c569f5a3ad593fca9e1877e3c89fe4bee03ad91db3558aa05a80cdf220382f2632c49e21ba2146c31dfe8b9866958 WHIRLPOOL 04c3ae341cbc5a98a8a20d1a7b39b967fedac289defa5d1940d008502691b78c0a0b5baff8b0c8ee3f1a5939ee770f74d0998487edea65e9db8caddb9bbeaf0a
+DIST kmediaplayer-5.40.0.tar.xz 9616 SHA256 f44e170996411fcde7a63fd847631a4b8ed45d7098a56a26b866b3fd0d9bfe8e SHA512 69e782b366a957d7849c5d995844d6e4ed52dbb7a1ab835d7dcf04c9a50f9337805b0139db81b5e2a787263dda32a223aeadefc45194c2fab7c2de657039df1f WHIRLPOOL 43c62dae8133d9045f543edc187880d870a11d3ff636a3a699b50f19158450695ae25dc923b38637eeb44abaef227a3bd5e2db0c7be2e098fbcc99c6eebf505e

diff --git a/kde-frameworks/kmediaplayer/kmediaplayer-5.40.0.ebuild b/kde-frameworks/kmediaplayer/kmediaplayer-5.40.0.ebuild
new file mode 100644
index 00000000000..20c65967558
--- /dev/null
+++ b/kde-frameworks/kmediaplayer/kmediaplayer-5.40.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing a common interface for KParts that can play media files"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-frameworks/knewstuff/Manifest b/kde-frameworks/knewstuff/Manifest
index 0da0b1620c4..8f02afc04d0 100644
--- a/kde-frameworks/knewstuff/Manifest
+++ b/kde-frameworks/knewstuff/Manifest
@@ -1,2 +1,3 @@
 DIST knewstuff-5.37.0.tar.xz 890948 SHA256 dea2875aa1787525545e789fcafef75ddd0cc02e1175432b27123dd23bec96e9 SHA512 e67084ed5b6e54345daf125bbdb45c1c82a9cd4450de9a9c98d1aa76410234f8fe0f0f284418c46c55f6dfab23ba7521c2390998479c3a94f827ba8104bffe03 WHIRLPOOL ab46302c1592161b766cd61628e14e6d50e69669de9450be7eb165f8b7eb8b82f16e0e8619a176c32aba3942a6399cc4c9da4d6f74b56ab97f99f1655c966d06
 DIST knewstuff-5.39.0.tar.xz 892112 SHA256 3925f2417e35f5dfa9d2dc1d8059233467569af915b2c0266ea62d6fd2a6aeaa SHA512 7ff97230aea7cdbffe721167a4c42963eb9d620f946f8d8369f040a83937ef211fa5a614cc8ae791c9dfb85b3168313fb44e7376fa19275ab6ee6c7f0af3af6a WHIRLPOOL 22fc35b75b1c61990d6a6e451d97a8e83d381a69077e8e4b6db13c29fbabe91ece9bd53cc9b6b2e27ab179d41375af3c7efd157d246408999de1b8856fcd0922
+DIST knewstuff-5.40.0.tar.xz 909280 SHA256 71e00af7cfd4ead3dbd726c877c8f5c472af78881acd82e8155a1613fa5f9e44 SHA512 496feafb526ee7ae835e5e590f691c86b22bffb2c446de151a6d582662c856f0df755bbbe91fec06c2e06bc5577181972bb95a3f1afcf9aabca1f055e56c42ff WHIRLPOOL b213d69c7222a1821c38de8ff36eafee9c9ec8fdf49c20c64bf5bef2dfb8979dbde10e97a081e15a9eef2fed1c856679eb1c1dd1cbdfe8893b3a9fc6ea628736

diff --git a/kde-frameworks/knewstuff/knewstuff-5.40.0.ebuild b/kde-frameworks/knewstuff/knewstuff-5.40.0.ebuild
new file mode 100644
index 00000000000..5050b624250
--- /dev/null
+++ b/kde-frameworks/knewstuff/knewstuff-5.40.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework for downloading and sharing additional application data"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep attica)
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+"
+RDEPEND="${DEPEND}
+	$(add_frameworks_dep kirigami)
+"

diff --git a/kde-frameworks/knotifications/Manifest b/kde-frameworks/knotifications/Manifest
index 3c9d268b6aa..5789f4a2b05 100644
--- a/kde-frameworks/knotifications/Manifest
+++ b/kde-frameworks/knotifications/Manifest
@@ -1,2 +1,3 @@
 DIST knotifications-5.37.0.tar.xz 100004 SHA256 66cdfddaa31f773a538d429026d0117e60f8a0a7f2a90c861f95d84395347b3f SHA512 3b08faf67d705233e98ff5e6cacdb6983134942f1ea5bb8cac43ecfe7b15aac987702cf635dd8dc3e45047e5069bb3fcd39c9745ac4bf414bb33f69336013644 WHIRLPOOL ec6c1ad4da2c45d0dc058d2b1c5c53679c68a1822b76085a71647f3386eede2ab86b9c8f38bc26b2f7b9a793de0c8508c5b22d539788e0043c37fd9212e01102
 DIST knotifications-5.39.0.tar.xz 99972 SHA256 b21daed46b95f7d109c5c0e8d3d43e9f435ac497e33912420b495c9080626838 SHA512 510ed096fcb241b9e52af39d1b1fd1d5d22309e06c3979eac7c05bbb9174c484c2f88a66a4b6f645b11b398d6dfa4be77399982bed53c903537259bf4ac1b66f WHIRLPOOL 36f393ec2c0a211aa710e763601c7d138b0db22704ff4d969e66f3a03ba4fbb2974df282fcf4d4b1daeaa0f587fc7904bed60b85941e7be0cf7b637e87a2143d
+DIST knotifications-5.40.0.tar.xz 99964 SHA256 1b54fdccee857c3f66ffa6c830d738bd968cf4c1f9ef2ac8f52a516e94287904 SHA512 7fbeff7ce781904ae9d3d57ef439c1d41880558f219465d5b593ee3099d3ce091124067494f5ce9da590ce68ab8f12ac2eda96c59be8d0a767b3edafeb251675 WHIRLPOOL 333f7e25726fe2d43ae4a2eca80fa5ee0650b009a4dc4670624755b703dd5f905c6b2729f9aee78ca34d3e5a91112ff0d2d28eda191632b19d1b752468ac8a94

diff --git a/kde-frameworks/knotifications/knotifications-5.40.0.ebuild b/kde-frameworks/knotifications/knotifications-5.40.0.ebuild
new file mode 100644
index 00000000000..46d46ca122e
--- /dev/null
+++ b/kde-frameworks/knotifications/knotifications-5.40.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework for notifying the user of an event"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="dbus nls speech X"
+
+RDEPEND="
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	media-libs/phonon[qt5(+)]
+	dbus? ( dev-libs/libdbusmenu-qt[qt5(+)] )
+	speech? ( $(add_qt_dep qtspeech) )
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libX11
+		x11-libs/libXtst
+	)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+	X? ( x11-proto/xproto )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package dbus dbusmenu-qt5)
+		$(cmake-utils_use_find_package speech Qt5TextToSpeech)
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/knotifyconfig/Manifest b/kde-frameworks/knotifyconfig/Manifest
index cd83e4567de..69db92cad50 100644
--- a/kde-frameworks/knotifyconfig/Manifest
+++ b/kde-frameworks/knotifyconfig/Manifest
@@ -1,2 +1,3 @@
 DIST knotifyconfig-5.37.0.tar.xz 83444 SHA256 65c695561bf26dc5899e28a35604afb3da39283a459e704b00687f6dfd647292 SHA512 29b8216415161980f21d6459c7877d42a4b489870eb70aee15f2d2ec7380c7cdb985f59b917ff34328b8a9128a440b785256b1044e285bd31c80cca5eb1474c7 WHIRLPOOL f83c3e0d2ad5aa9c5a4c50cda090826a06e92f0a141a59accbe4eaf946ff8a7b653f8984d5ad76bccd43f7578ec503b34f2440b44e238f089ae1cffa586d9073
 DIST knotifyconfig-5.39.0.tar.xz 83632 SHA256 2bf7d5c455a49e56d23a2295811060aa689223602a752269412a5d6db236d326 SHA512 25ef22f1e8a8b82eaee27a7de530addad2c6d7028b46eeb3f8b61a4daa9ad3b37457837f5e62ed8d0c3a6cefc92ca6ee71043c3bae56c6b671146f37a4553745 WHIRLPOOL 4a544481998f66a3e274dc4b1844ccc92f1a262d69ab535d53d6ddc257eb94bd7db3a1943378ec9de9514db49b94705f32c67bcea15970d0c6e1d0bbda640df2
+DIST knotifyconfig-5.40.0.tar.xz 83672 SHA256 73cc72e2f258e57f5c821a04ebdd36f6605688498d31dd523bd8e365719809b1 SHA512 0a368e63c5a4af2344293300e2acbf29ee3e07a101e318f883ffa97725b5f05d6bd563ed0f832b59d2052faa3f023be25235a473ad92b0b07456c65f2737536c WHIRLPOOL 3d03a7fcb712b92a76953e912a18d230439630c4f6e1cc6c118a89c12c7c767f052852c86698566db6237ed08511b6779a295173e35b552f576e2077590f77ad

diff --git a/kde-frameworks/knotifyconfig/knotifyconfig-5.40.0.ebuild b/kde-frameworks/knotifyconfig/knotifyconfig-5.40.0.ebuild
new file mode 100644
index 00000000000..b7895cf39f8
--- /dev/null
+++ b/kde-frameworks/knotifyconfig/knotifyconfig-5.40.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework for configuring desktop notifications"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="phonon"
+
+RDEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	phonon? ( media-libs/phonon[qt5(+)] )
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-frameworks/kpackage/Manifest b/kde-frameworks/kpackage/Manifest
index 18c4c9f3b53..5c2832ad0ea 100644
--- a/kde-frameworks/kpackage/Manifest
+++ b/kde-frameworks/kpackage/Manifest
@@ -1,2 +1,3 @@
 DIST kpackage-5.37.0.tar.xz 122824 SHA256 fac4d94dc33760aa71078f869fa0fc090c25a7aaf9547cc1a91bcd2b70296ec6 SHA512 a96121acecf77b3c849415264baf382dcf8d9c518b92c5f8c70e909cefcc820c1c8d63b3e2203a95d1817322c785d327aec48f3a52ff2680c7407b5918c566b4 WHIRLPOOL e67a57bf7d2d09dbda93e69a8536c734b6e33ee89ec3a1c3f4594697932894e463d7d66a7d14f70d3fdefaa03c28b07f466ee58fad4959955abc13ebfbda01ae
 DIST kpackage-5.39.0.tar.xz 125596 SHA256 713eff23f61d9766f02b40cc6cfa73acd31d126a0c6a775903f79c9adebc77c5 SHA512 64d26f23911cb6f6d1912e92d9681885e4155b5bd06c284ba30f71ada37c7910e3acc0bcf63e9dd202005e523d1c7e184e46d3660595b174371319ff1c6a7583 WHIRLPOOL f39e3a66c4747751449bc46d4bd29ac5cb1fe4a38950a6ff624735f7c39d82d47c260abf72dba1321224eca18af99858f8b97bf4362c4a98f9b822d1e419cc95
+DIST kpackage-5.40.0.tar.xz 125604 SHA256 b8ae58df3297402de06026f0fa38db9dce6a1e64c189d19959978d5c3a92109e SHA512 969250d2bfeabbb9e69d940156adde87d3819182bd71a36f4b02a7145023e39442b18785dc3ac58f44bd5dd865cc8dad88b731afb7def38f0c6e333553452870 WHIRLPOOL 2d4d9e96ee4673ae9920a8f702b97e883caabb651ab650691dcbcbfdac3a23b4a3bea004404e13170ea57cf1fdc9e3df6029a5946d5428a49141fd7bf46ce44f

diff --git a/kde-frameworks/kpackage/kpackage-5.40.0.ebuild b/kde-frameworks/kpackage/kpackage-5.40.0.ebuild
new file mode 100644
index 00000000000..d9ec70903d3
--- /dev/null
+++ b/kde-frameworks/kpackage/kpackage-5.40.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework to install and load packages of non binary content"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="man"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+"
+DEPEND="${RDEPEND}
+	man? ( $(add_frameworks_dep kdoctools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package man KF5DocTools)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kparts/Manifest b/kde-frameworks/kparts/Manifest
index 5a8916163d9..060d62e7d82 100644
--- a/kde-frameworks/kparts/Manifest
+++ b/kde-frameworks/kparts/Manifest
@@ -1,2 +1,3 @@
 DIST kparts-5.37.0.tar.xz 175340 SHA256 b050a342ca377c37c5fdb94a5532d9f159ac7d46eef12c549bd0a23f5b442d4b SHA512 4c1bf3f0a44e7149ee02331de527965a9b241d4e15631ee99d4d0c93beb399ab6a454991a2dfae4124e94db0f1ef06068bb68fc3bab7fdbcf9295aa41eb59b59 WHIRLPOOL 0e9ba7fac465d63452534b2b5b2b005305a284400c0099c2bbd964597fd3c1c23c7d143055014488acf15b97d591e30a0ef63da39ca1cb8c4c92bdb4f0fbb125
 DIST kparts-5.39.0.tar.xz 175820 SHA256 26ebb165f82e8caacaadc70c7c996d2c68d3a40296389760940dc385859362e4 SHA512 bd930eac9acae96d3637729b0447ecadb66aef41d38e6b89b6fe5bc45ae368941cb0ca16452aa20ae96cd29ade7ff2214f8ca70e165a3cbbdf2593f4eafb38d2 WHIRLPOOL b521b44dc3caf010798960e52bfc158ccb9c61d699c2913bc0e9cc95da3180cac8dba71d2978fa1b4f050612468932b45195a86e3c6c89635c614843b3a514ca
+DIST kparts-5.40.0.tar.xz 175920 SHA256 34cb664ca0235ee0ab996e544ee4e6afa6e945e723106610369ac5c7b17e75ef SHA512 0ab9883b5583f0d4aae1a27eeadd11b6d3d9902a5672487691275123eec81dcbfbea4f0eebf57eecc01d0a57df828f4b8729165fcc7c74d148acc5fd0a8ed87b WHIRLPOOL 7abb100f394e71a08866b7c6a91cbca76b6190daaf60b719802a1f3761ec76abb63f6342cee6c54cdf75a78f3b35efbdf9449ac5c7e50b016492b5485c719efd

diff --git a/kde-frameworks/kparts/kparts-5.40.0.ebuild b/kde-frameworks/kparts/kparts-5.40.0.ebuild
new file mode 100644
index 00000000000..66bde191b22
--- /dev/null
+++ b/kde-frameworks/kparts/kparts-5.40.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing elaborate user-interface components"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep ktextwidgets)
+"

diff --git a/kde-frameworks/kpeople/Manifest b/kde-frameworks/kpeople/Manifest
index c76776c1983..d334035623f 100644
--- a/kde-frameworks/kpeople/Manifest
+++ b/kde-frameworks/kpeople/Manifest
@@ -1,2 +1,3 @@
 DIST kpeople-5.37.0.tar.xz 59356 SHA256 4e6353c80dd9b7c3a21a6ccacc278fb90936e6d6772a9e6a60aaa0743127f7e1 SHA512 9b39cb0b08a079a9d142875c73cbcb2ce990df69756d8d39648e1beea81e3c74b21db9ca579682e7e469feb51d0b1697a302286f79eba3a12127955511b68857 WHIRLPOOL be7ed32be34af03f95ab8a253f33b17031ccf064179dd0ccf03ea1d934ab13b57b502d10ce873b32906d9ccc43800e7fb3548e55008e098c7fdd5e6bcf5ba41f
 DIST kpeople-5.39.0.tar.xz 59600 SHA256 59399598cc4f8324963a71fd1de12b3344fec9d8086863e6858dd23f1a6de8e8 SHA512 756b9d798da7f1d8583ef3ecd76d82a4cbb7ef5cee5331a371066401455953b95888974d48e86a6d132b998d48b480a80ae500240ac00e186bd5ae80d2e92955 WHIRLPOOL dd9ed461283b298adf7766dbf8e009de49992875cbe42d881cbcb9a8cbbf8fa3328c9eb6c08603cfebcf915e9ed31c96ab6446340bfc985d71eddc8a5b5f2daa
+DIST kpeople-5.40.0.tar.xz 59692 SHA256 79d550a16d6f68f0ceafbce1c34e39eb95256b95c8940e9cfff3317ec704daf9 SHA512 18b57e846bc614371c65c63662238b806c7dfd999be97695eeff1d1b4e4edb92ec3b7363e5876ec1bb9f9ff9335f6d7e8bd0140cf488f180fa660db20baab665 WHIRLPOOL 21ae2a645ce12f9a5845dcfd0a6d7093ff44a35ff4ef9d3346ce7df49b9d18bd8ec050488945af001f652a8b37f1cf613ddc04bd3eb849e14ebaed25964ddf02

diff --git a/kde-frameworks/kpeople/kpeople-5.40.0.ebuild b/kde-frameworks/kpeople/kpeople-5.40.0.ebuild
new file mode 100644
index 00000000000..07ff57ec4c4
--- /dev/null
+++ b/kde-frameworks/kpeople/kpeople-5.40.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE contact person abstraction library"
+HOMEPAGE="https://cgit.kde.org/kpeople.git"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtsql)
+	$(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+	!net-libs/kpeople:5
+"
+
+src_test() {
+	# bug: 612504
+	local myctestargs=( -j1 )
+
+	kde5_src_test
+}

diff --git a/kde-frameworks/kplotting/Manifest b/kde-frameworks/kplotting/Manifest
index 64937ce005e..62b2140d6fd 100644
--- a/kde-frameworks/kplotting/Manifest
+++ b/kde-frameworks/kplotting/Manifest
@@ -1,2 +1,3 @@
 DIST kplotting-5.37.0.tar.xz 29668 SHA256 fc837e0f21a6acbcff6b44d1c8b2143737bdc813839af0ea0a30550937069a4c SHA512 7556d20333834568298ce66b9ce9b6aa0f2a09650552cba1482e8c534e1fd8a591faba7d6cbe7159173bf986934a8f9d4f35d81e29e15477cec01bc2995bed99 WHIRLPOOL 0b6b019514004fb3b570505b833b15404deb6dd07bd154e9e019cb215b426b39925b67ae2d9a90de7125df32031821b79987684e82917882b88e9dd3ed8cb398
 DIST kplotting-5.39.0.tar.xz 29676 SHA256 6ad90a3c774cec102dee21d63ba8b4d75b5bc95d61cf903480f11a3b840b3eb6 SHA512 a4c43260989892d913c7589036579daf74399a9743bc1bc95eead1aaab9db912531b4f764e1a0610080864aa5d0d4f998f2bc65202c27480562b225c5c8e212a WHIRLPOOL 8e877650aa10070450e7313e798db944e59ecd6ef8e458238da6c190eb0c62f55ecf4a19f1d3eff7c0f05b173584955613bc7a2de348f52943d68befb3bcc36e
+DIST kplotting-5.40.0.tar.xz 29728 SHA256 f1dcfc16726021597c97de449c5168873ab323683be3b74a8e4793f377dfd6c2 SHA512 71a9ec3d041c3cc05f221230cb8727873eb354d8b6c55b12aeaf1f8b41de492d37a66d47baf860b1b222265211351245dc47ff5d08f2c5839cbcf24b5fb53b40 WHIRLPOOL 425c65d95f9e16bd8728bd85feda0249c88b0cd8bb880bae19633043dc2c0e488edc8d65ad519bfd16445d22ca0217bdeb91be6f2180b616205310433d3d1f1d

diff --git a/kde-frameworks/kplotting/kplotting-5.40.0.ebuild b/kde-frameworks/kplotting/kplotting-5.40.0.ebuild
new file mode 100644
index 00000000000..91c166f3249
--- /dev/null
+++ b/kde-frameworks/kplotting/kplotting-5.40.0.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing easy data-plotting functions"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}"

diff --git a/kde-frameworks/kpty/Manifest b/kde-frameworks/kpty/Manifest
index 39afd745a65..bae2c532535 100644
--- a/kde-frameworks/kpty/Manifest
+++ b/kde-frameworks/kpty/Manifest
@@ -1,2 +1,3 @@
 DIST kpty-5.37.0.tar.xz 58204 SHA256 aab4ff0a6025e6dab859ce74a5cbf7031c52fe8674740c7408f1311ff2386871 SHA512 8bf1d12aafb319f952c7001fd59921d15cf248f0d09daa5b00990441a1959d873e1ce6aadb0cb175637290777381f6a4b8326637fbaae46db4030210072a1ec8 WHIRLPOOL 4d16299767ca278bd4a8391577a9c6744db81c449e71c70cc7936aad075e108f97588f1a69aa7e1cb0bb40249dd3c95f3136852f5fe2d9fcb32b545c047f0046
 DIST kpty-5.39.0.tar.xz 58304 SHA256 16d26608a7bb5feb085aba7162e6d0ed151f1aace6fbdf7c68a8ccc1c76b060a SHA512 f830b39fe073377280ee896147b6f0b504c8bdad42976b0bab8027a50f6b3540e0ab6a21012417fbd70bd1a04c8109452330f2acd90ab925ccaf061e2d99f0d9 WHIRLPOOL 54a177b8500a63f78e5467294330188192ba613d849ee4ff9545b9a5a6016f009dea95cd741403ae6d0a112f478ca715d1eb6f77e2a503de0de27a2a67d2cabd
+DIST kpty-5.40.0.tar.xz 58348 SHA256 e708f716724cfc476ba9c2da678d24bf1654d8ac47b3eaf87fe3990c656bb4e4 SHA512 85092a0ef665f7bcb22573c8cb678a4bd0f62a22e02f321caaf3857998396c1fbaeb135a7a40abe519e5421a14932e348223c2a7956befdf7b06cea378f8cea2 WHIRLPOOL 39fe062bf94042cfcb30ff4c89c018acf7cc04bd53f6fb3cd9d93c0d68d9e9b6e52df4ac01646fec4de58c88ce72da7ef6a4bde93e7f7503241bb7adc4343855

diff --git a/kde-frameworks/kpty/kpty-5.40.0.ebuild b/kde-frameworks/kpty/kpty-5.40.0.ebuild
new file mode 100644
index 00000000000..87b3dab88b6
--- /dev/null
+++ b/kde-frameworks/kpty/kpty-5.40.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for pseudo terminal devices and running child processes"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	sys-libs/libutempter
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DUTEMPTER_EXECUTABLE="${EPREFIX}/usr/sbin/utempter"
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kross/Manifest b/kde-frameworks/kross/Manifest
index 067ecc2a6c6..da6d65a3be0 100644
--- a/kde-frameworks/kross/Manifest
+++ b/kde-frameworks/kross/Manifest
@@ -1,2 +1,3 @@
 DIST kross-5.37.0.tar.xz 127792 SHA256 611279d67a599d86e864980e50585eece994cb9d70569d533fed0ab48d33f31a SHA512 1a8ef9512375ff4a3345d7dfb52146c47ecf35e58a4e0aacf45a69d3da431617fe3bfa10e2585562c8df42f01aaa63884f7a4601531f837642a3946fccc8c762 WHIRLPOOL 5096f6726b49cf0d979a62ffd44baf0d4c122a75716f834f8d25fbdea5102b37c77c249a7244871005f41376ef2e8b1d7576ed9e64a7ab384f5328100ebae298
 DIST kross-5.39.0.tar.xz 127908 SHA256 d06ddc6157e150ea91be0f790df35a2e14239de0179f0cd8f048ad93597c09be SHA512 4fe0aa6b5decaa795dd9dfc29d08e517494487d96f5fd46c5ca62909fc2daedea5ed3459f5103867bfd2dc87f295935054ffe074747e7c4d7e0e60737ec974ac WHIRLPOOL b979f149b7700a0ea8d9f54d42b3575dcf279a365ea23510538748641ed3f73c54c57f4d6e5d2e2971ad16383fb42f75d62ea6f8825ec1e1e7ee700713e7490a
+DIST kross-5.40.0.tar.xz 127968 SHA256 17a570e2e742e06dc6b28e8610fc1795312be960938ce25acf480005f5d409f9 SHA512 03051b30d84b9353e8397e39fec221f5e09899ff2fecadb347511d598099e374202c1c7b5553e323744237c4ed7c632f69ad708c5f6ce18ae9d57ac09fd8d88a WHIRLPOOL 1a9792a2594be5a2b97bb901cdb88403456437422c67c71af027b60f62087a9b17946fb93952bc2020776751f3bbf4eaae9d6d304777087e510e001275d69f95

diff --git a/kde-frameworks/kross/kross-5.40.0.ebuild b/kde-frameworks/kross/kross-5.40.0.ebuild
new file mode 100644
index 00000000000..cb127dc346e
--- /dev/null
+++ b/kde-frameworks/kross/kross-5.40.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for embedding scripting into applications"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtscript)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kdoctools)
+	$(add_qt_dep designer)
+"

diff --git a/kde-frameworks/krunner/Manifest b/kde-frameworks/krunner/Manifest
index d924c28f659..0d76d333787 100644
--- a/kde-frameworks/krunner/Manifest
+++ b/kde-frameworks/krunner/Manifest
@@ -1,2 +1,3 @@
 DIST krunner-5.37.0.tar.xz 68020 SHA256 8d12150cf48ec7eb36ccdacc0d7de2e1481e79b98754e7d813f46b1f325c389c SHA512 68e046bd62258d8ea55598959d6a0e9aa8f3686f9e2e023cec1c848b7683a001d0f2c09bc88bd3f86283868ed90c2d984a000899ad86348f96c1dda7559677dc WHIRLPOOL e237db900ee62f70956d4404efdec6838c81eb9f7881890f63a94d2006f928ce8d2dabcc85eccdef7799e9089309f2fa7cc77afc36ccf670e4e89e4040baed88
 DIST krunner-5.39.0.tar.xz 60668 SHA256 d43d3821b64a49fec7f06a3ad410f15412cebbe7f365c64a307a2c5ad14fba3f SHA512 2a97e4612b9aba202c143da9de11ba95b3f0f9a9d4d7696376d461427392b8ad4575d2272d684b0bfb8bb276c2648daf8dbc6453756219ec13fd1379116269c5 WHIRLPOOL b779220983c311144b56cb8fe68f0360182f880bb35e79eeb1f8c03d7e1aab86d75d43993dc12d92e9985c425533b7ded2c162b5de0ca387e19578a3f953d219
+DIST krunner-5.40.0.tar.xz 60644 SHA256 4c389cc9e7338b72b986bfd247448290f21758c65eeb87cc762245f1ce14e0a5 SHA512 fc634c01935096500614525f33c60497946b43d82f2656ab601ca49147c3d615288fa25645daf83c9fd6e734178b0abcd6c73f238ad8c5866ad1a47e83e60bb8 WHIRLPOOL ff0a1fcdcb76105c3186c7abc536aa50774331eb3a83b3812304ce9bd46e51c00d3c46d1abea997ef2d1ae25f490a174214438186d5fe0cdb229b3c7373ca52a

diff --git a/kde-frameworks/krunner/krunner-5.40.0.ebuild b/kde-frameworks/krunner/krunner-5.40.0.ebuild
new file mode 100644
index 00000000000..d84dbe1fcc1
--- /dev/null
+++ b/kde-frameworks/krunner/krunner-5.40.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for providing different actions given a string query"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep plasma)
+	$(add_frameworks_dep solid)
+	$(add_frameworks_dep threadweaver)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+	!<kde-apps/kapptemplate-15.12.3-r1:5
+"
+
+src_test() {
+	# requires virtual dbus #630672
+	local myctestargs=(
+		-E "(dbusrunnertest)"
+	)
+	kde5_src_test
+}

diff --git a/kde-frameworks/kservice/Manifest b/kde-frameworks/kservice/Manifest
index 896e65b467a..d412eb3c5bc 100644
--- a/kde-frameworks/kservice/Manifest
+++ b/kde-frameworks/kservice/Manifest
@@ -1,2 +1,3 @@
 DIST kservice-5.37.0.tar.xz 249748 SHA256 196e9bdbdb28bfda75120cf1f7d49f68bc345f248cdca8f718bee6d1be2fbaff SHA512 6833e7d08a63a9c6d8e81f65625751b4febcdeb8d1095426f8a639fd1a9ac31b2a86922b740430e40e3bf9a8c9e305db1b85e84d0ab994ef80bf53452f706001 WHIRLPOOL affdf21f00997e4b151f05a64b8be3dbe60730505947f0e26f5bfb2e60b821e6d0d2c10aa6cca163a72eb0c7cee9c3d126f0c01a450c040418d6b30fb9413ec6
 DIST kservice-5.39.0.tar.xz 250092 SHA256 149e0320e05abe67140f88a50cbf95d48a075a2996e9b2e3c9d123e6d1417f29 SHA512 9626f866531d08def470646991dc94ab5092a03958afe84a9c45723b5a8fefced61d84f472353d74bac94128ab1748c31118aaf83fe9d4e6e51c22eeab887aae WHIRLPOOL b1e83c7471f46fae98f52ba6c5ea9281fd1c2801d93f7b741292af349f51972374d9f26eb880b1d56060dfd306a4d070b785f40a3d98e881ec146a914cc8c410
+DIST kservice-5.40.0.tar.xz 250072 SHA256 ecc3fff3b75e8c4ef035e7f7d9f2b3ebe534d7576a0475c4c29174c3ef3fed36 SHA512 362a81aedb24f0fb2c598329e8b4fb174435b756f9a13617935d96eed1e5d40be38a8f27c7aedb0bd0cf07e73b5e1d464d53266e34b426958876aff2540fe89c WHIRLPOOL ea0c738165f1d0114b599ef0ebf578d04290422e8751908856a678d4eeabdc5819260db3d0d33e45b67cf0f4151a6dabbc2084289d0dd36c4edf4fe508a99b10

diff --git a/kde-frameworks/kservice/kservice-5.40.0.ebuild b/kde-frameworks/kservice/kservice-5.40.0.ebuild
new file mode 100644
index 00000000000..a30964fc830
--- /dev/null
+++ b/kde-frameworks/kservice/kservice-5.40.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Advanced plugin and service introspection"
+LICENSE="LGPL-2 LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+man"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	sys-devel/bison
+	sys-devel/flex
+	man? ( $(add_frameworks_dep kdoctools) )
+	test? ( $(add_qt_dep qtconcurrent) )
+"
+
+# requires running kde environment
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		-DAPPLICATIONS_MENU_NAME=kf5-applications.menu
+		$(cmake-utils_use_find_package man KF5DocTools)
+	)
+
+	kde5_src_configure
+}
+
+src_install() {
+	kde5_src_install
+
+	# bug 596316
+	dosym kf5-applications.menu /etc/xdg/menus/applications.menu
+}

diff --git a/kde-frameworks/ktexteditor/Manifest b/kde-frameworks/ktexteditor/Manifest
index f8cf93d402b..cc161a17cc4 100644
--- a/kde-frameworks/ktexteditor/Manifest
+++ b/kde-frameworks/ktexteditor/Manifest
@@ -1,2 +1,3 @@
 DIST ktexteditor-5.37.0.tar.xz 2285796 SHA256 7ae65ca215a53dc4e35877069004c748d8a8b504aecbeaa3b916b8c96dd00478 SHA512 02b2ba273845deb11d9be69f4e212618d62319f30c5e5b999473d1392ee8c402d104aad0856a168b845abaf529d6d0a30e090f70e69d133bfa847ae3f6bb6b27 WHIRLPOOL be157a336f0fb49f1db22245a7d2dea008f8638aa5ab3247b65a8e04ae2d56c7de33a6a37d1cf489e124997f5420230404bde1a1587f79371b31e5bcf8b30543
 DIST ktexteditor-5.39.0.tar.xz 2288920 SHA256 c5d9c67532ab6f3abee8ae2623ff21e6ca5280d5ea9ca5d23bdb55f937e565ae SHA512 a76828be990bd32275f7de2448e337750aa1766eed669aa7a8c199d3d7db002c9d2193d09cac789c73d7cee783b9b85a21f50563e5beff30fac484f414145f6f WHIRLPOOL 691161b943d569eb634c9c4464e4019e6391caa37b9998a4c1bc46f9fd15e0a87dc118e7b2ecf186a789c138fd18b8a4b057cfaa5823520d52a11c6d2f8d7f82
+DIST ktexteditor-5.40.0.tar.xz 2296760 SHA256 b6d48e3a1fb7dc6c8c6a2bc11743e928dca02d6b1e342261eedbb320f5eb9076 SHA512 933b1a65e3d4bcc5347f35b7ed5d67c07a4060dd8fb755275e2aeeb40b3107b09b361faf7d95fb33991a9c36ed49f4c5e08ea9887b98a6096dd8ae0dbf48b208 WHIRLPOOL 6f0eeaa3cbcfc9293a3eedd6f80557082d5372bac93a62a317ae077814970dc48c10eeaf87cb2164e4bf4b6d159fe875be455f2cb731f3b51a71ccb0e031cad5

diff --git a/kde-frameworks/ktexteditor/ktexteditor-5.40.0.ebuild b/kde-frameworks/ktexteditor/ktexteditor-5.40.0.ebuild
new file mode 100644
index 00000000000..ce4cdc432cf
--- /dev/null
+++ b/kde-frameworks/ktexteditor/ktexteditor-5.40.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing a full text editor component"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="editorconfig git"
+
+RDEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kauth)
+	$(add_frameworks_dep kcodecs)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kjobwidgets)
+	$(add_frameworks_dep kparts)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	$(add_frameworks_dep sonnet)
+	$(add_frameworks_dep syntax-highlighting)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtprintsupport)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	editorconfig? ( app-text/editorconfig-core-c )
+	git? ( dev-libs/libgit2:= )
+"
+DEPEND="${RDEPEND}
+	$(add_qt_dep qtxmlpatterns)
+	test? ( $(add_frameworks_dep kservice) )
+"
+
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package editorconfig EditorConfig)
+		$(cmake-utils_use_find_package git LibGit2)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/ktextwidgets/Manifest b/kde-frameworks/ktextwidgets/Manifest
index 72be03a8631..2e5daddc4a1 100644
--- a/kde-frameworks/ktextwidgets/Manifest
+++ b/kde-frameworks/ktextwidgets/Manifest
@@ -1,2 +1,3 @@
 DIST ktextwidgets-5.37.0.tar.xz 308452 SHA256 257f4feac67db2501fe81909ffe04ddfd29db0191d9aa09ba957d9a5cbd116dd SHA512 f9004dc952705bd9e4f4859b1cbde3a9e64bea28f1578e93eda37c80e13b36c43473eb33e954365ab85b259486d929c406333c8cda59af5c3c8c119e70d0da7e WHIRLPOOL fa0d9abe834bc913e98b476de160a6e80152c6a8defaa8368a53a624d1def71ef317d738d2c7a313fa8c35335a424f267b71c5287f0679e2ad47a959680ea8a3
 DIST ktextwidgets-5.39.0.tar.xz 308544 SHA256 5849d104e99be94d554bff229646df8fde84e3396c82e21a3e390ee08b09d05c SHA512 d5777181f82b73f2acc9ca88c683296419823218885877a2a177b103fcbd178a312210f7849a0938f6123b026111be972d01f9fde3ac0818cfc6d212965f21fd WHIRLPOOL c4e5e7e4e10fd0a53dfeff35dc928c4d230cf6ba532b0e56ef4d8971d3c964297184e94b48fe001b768ffaa65d134ad9756242a5436aee58aa71bc241a2c29eb
+DIST ktextwidgets-5.40.0.tar.xz 308804 SHA256 d95412d49025c4c52dafb1056d1d153726126b0cad940841f85ff98dd4b4a236 SHA512 b24af586ff3832432d89106ce45d5b549958998a6be230f5ecce06e47a1ac55aa61c30f1d0a1f3ac1e51cb17bf4fea18990a9f33ed8ebb8f988d49bbc55023f3 WHIRLPOOL b33d65bad4f6a3f8a21a8257d8f28bc8f4822520d108b8abcebc10acd6695c706f3cdd3c247340c655519be30c1a99358959d00776a3b63e2aec3b7730f09cf9

diff --git a/kde-frameworks/ktextwidgets/ktextwidgets-5.40.0.ebuild b/kde-frameworks/ktextwidgets/ktextwidgets-5.40.0.ebuild
new file mode 100644
index 00000000000..03ae3da8a20
--- /dev/null
+++ b/kde-frameworks/ktextwidgets/ktextwidgets-5.40.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing an assortment of widgets for displaying and editing text"
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="speech"
+
+RDEPEND="
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep sonnet)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	speech? ( $(add_qt_dep qtspeech) )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package speech Qt5TextToSpeech)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kunitconversion/Manifest b/kde-frameworks/kunitconversion/Manifest
index 3c4f97af9e5..a9deb301fd1 100644
--- a/kde-frameworks/kunitconversion/Manifest
+++ b/kde-frameworks/kunitconversion/Manifest
@@ -1,2 +1,3 @@
 DIST kunitconversion-5.37.0.tar.xz 771032 SHA256 514b768a1077ad35454859aa8897511dc4aa4ee7b297d86c91caa6bd743078e3 SHA512 50a4c6efca7d8f218756b9b15f2655bc56fa320178d11291bd3bc4be84ba625a6e8dfa9f2e6320c0c6e8b9f80e80b1125b2e0d1d8e0c86b3e0a1fb9521a4ca5e WHIRLPOOL 668dcb91d17d3fd1389b89e12ffd6d89265937417ac3f253abe219e32e090c24b105ec3add261ac3b7086614e22d57afce31f0e4b7c0831388a8b44656a1d269
 DIST kunitconversion-5.39.0.tar.xz 771012 SHA256 fb53e8d3c8997fbda4cf2b2a2e6ce71eecd44683903e039d35256ec3ac582113 SHA512 68debfe9b12862fe1e753884c701211bfa390dcf47c19edeaed3ed25003e7f72b232a00bed5e6ebdd389cf5de41395410cd8128eedacfc8515c1adfdacceb508 WHIRLPOOL 0557b81835be36094ee4f94ce3fc1476eb4f65fe1d89d12fad955238a652f49155d2a73fb421ae8b1f39e489a1adbc93dc75af59a77b300b8708de3713efb967
+DIST kunitconversion-5.40.0.tar.xz 772184 SHA256 dc6e28c07835f392be2740787dcb9880af2ecc7fb60810576f0bcea31b93e0e2 SHA512 a863956bf359b694cf3f2ffe7de2e79abfe379b6ed4c68ed73550da96c5d98f3ec562e7f790e97731abfb5b290dd874a459e91d38edd8918073d10c5b16c896d WHIRLPOOL 512e40147ec6aa0fbe3b336cf412b7d67ef796ef83c6cb1c69b7cf18f4aed5b8d8a17c62260675d29c2cb1721be5fed9c009ad3fede5bfe5fa7573955f4c8d1c

diff --git a/kde-frameworks/kunitconversion/kunitconversion-5.40.0.ebuild b/kde-frameworks/kunitconversion/kunitconversion-5.40.0.ebuild
new file mode 100644
index 00000000000..d90be7ccf3d
--- /dev/null
+++ b/kde-frameworks/kunitconversion/kunitconversion-5.40.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for converting units"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep ki18n)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}"
+
+src_test() {
+	# bug 623938 - needs internet connection
+	local myctestargs=(
+		-E "(convertertest)"
+	)
+
+	kde5_src_test
+}

diff --git a/kde-frameworks/kwallet/Manifest b/kde-frameworks/kwallet/Manifest
index b871a2e4d9d..685f02b2df6 100644
--- a/kde-frameworks/kwallet/Manifest
+++ b/kde-frameworks/kwallet/Manifest
@@ -1,2 +1,3 @@
 DIST kwallet-5.37.0.tar.xz 303728 SHA256 5fc368410da498dcd9eb9d5b7119f37c87f3a6b9859bbb2ce4a2ff0cfca0f2d0 SHA512 2b15caca7459e367f07d2aad98859db08f9e6bd337348ab63abd671dc45a434bf305e18e044b469a981c12661ce4dac2407af8b2dac7c3d0588a7b6f907548af WHIRLPOOL 71b238d749faf13e22a98a6763591fd51d708c92fc5ac329b1c1ec7c550c0efa2b8c0175c6be90c145331f6d1679b1d04c1faa37bad212c5be57e505d1edcf77
 DIST kwallet-5.39.0.tar.xz 303784 SHA256 5f83a5ca245773abfe5b31c536996ca1aee312d512181d133edcd890874f9fee SHA512 b8fef894a492a27691ae37199b9e564094bc3f2e342458ea97bac415148abd4b85018f1ec201e61bd28460909bbb719de30b7786dd1d954018a4f6f1a3ad28bf WHIRLPOOL 5682d326594f31f82dca239de12569787124046751f741bea4449f6938bcd46944f53462c201e0399f48b6cad9741b389c1faa03f5737719f5d205e9163cc47d
+DIST kwallet-5.40.0.tar.xz 306244 SHA256 cd2219a1c7fb64e282ad9b9cfe4c885ad834013553f233325fc2268adb1edd53 SHA512 a162d5ed1901fe3c8675f715ddb9a32640d7b563bf0755a7add885208a8f55465d9082d2abb9553d411018d3a5a4856b17efc94789dbd5993ac6f11a8a0c71c8 WHIRLPOOL be08ce1692807401860b36ed8f8e374a977c3de2dbaf65b2a49e03cf8082cee79ae3250b99e7544ff9d717a734c089cd9c749ff58070d7e5a61f6d1628b8d63a

diff --git a/kde-frameworks/kwallet/kwallet-5.40.0.ebuild b/kde-frameworks/kwallet/kwallet-5.40.0.ebuild
new file mode 100644
index 00000000000..8037d189d02
--- /dev/null
+++ b/kde-frameworks/kwallet/kwallet-5.40.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework providing desktop-wide storage for passwords"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="gpg +man"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdbusaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	dev-libs/libgcrypt:0=
+	gpg? ( >=app-crypt/gpgme-1.7.1[cxx,qt5] )
+"
+DEPEND="${RDEPEND}
+	man? ( $(add_frameworks_dep kdoctools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package gpg Gpgmepp)
+		$(cmake-utils_use_find_package man KF5DocTools)
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst() {
+	if ! has_version "kde-plasma/kwallet-pam" || ! has_version "kde-apps/kwalletmanager:5" ; then
+		elog
+		elog "Install kde-plasma/kwallet-pam for auto-unlocking after account login."
+		elog "Install kde-apps/kwalletmanager:5 to manage your kwallet."
+		elog
+	fi
+	if has_version "kde-apps/kwalletd"; then
+		elog "Starting with 5.34.0-r1, ${PN} is able to serve applications"
+		elog "that still require old kwalletd4. After migration has finished,"
+		elog "kde-apps/kwalletd can be removed."
+	fi
+	elog "For more information, read https://wiki.gentoo.org/wiki/KDE#KWallet"
+}

diff --git a/kde-frameworks/kwayland/Manifest b/kde-frameworks/kwayland/Manifest
index 358a7df167a..516314d40e2 100644
--- a/kde-frameworks/kwayland/Manifest
+++ b/kde-frameworks/kwayland/Manifest
@@ -1,2 +1,3 @@
 DIST kwayland-5.37.0.tar.xz 262412 SHA256 d9479985f50533b0578097dfc793e7617051b086c1d13fc791efa23111458c34 SHA512 764ae59472b29a7a8066bb8bae87580a5d68b2aa8f29f284999d2e77e7b32f0c2d80d318fcb820a577138785d8b302c1c6d86b36b5b34a37a13ab80c628f6fa8 WHIRLPOOL d9a62c78e676a500feb95fe0e58802df93242b0911dbb284d399d4740afa82ae9309d7e04c7a272d2ab65c7e9fad723640fc30ded41e2277c7cdee88b3ec4301
 DIST kwayland-5.39.0.tar.xz 277428 SHA256 dd74c8edef9f28dd8f2df9e52a7f32f844d16c342e3184a69a57eb6c0f893029 SHA512 ca71d9a07d38f813f34e05c034acc626d1e5c878d05eb5174764dd695ac18b99d29a3ec8df49f0fd9807dcfb1ce85b8e884c7389eb86cc0e7310ca2b8ec4f4b4 WHIRLPOOL 32ed9cb06c6f414f5024e6eca0a5c80ff33bbe8ffda553ca2c9ac2c17770a4de3d79f90b0f6ba0c2cf5837987c1f42d1c530528a6641c470c40c718194ad3289
+DIST kwayland-5.40.0.tar.xz 284976 SHA256 2d4ede706e73c1ec7935595b983c7c9ad52d3c794b5eb0b60d17a056886ba403 SHA512 3bbf49ee8a7cbf613d29fec59ac1444be1e89946792fc265a6c889fb32cb2ac93aca16ddd0e636daa8fda556ad01210e4bdd6b6ef4783ca95de5b0834baaa403 WHIRLPOOL 9702ac7f77e8f4ec1e58ede7e485dc7a636163dc4ac07327a2356af1c6bd2903effb81077a6f8df0e8dbe2eb89ffe79296f41701ce421414f41a3e9015baf506

diff --git a/kde-frameworks/kwayland/kwayland-5.40.0.ebuild b/kde-frameworks/kwayland/kwayland-5.40.0.ebuild
new file mode 100644
index 00000000000..8fe5f6bfdbc
--- /dev/null
+++ b/kde-frameworks/kwayland/kwayland-5.40.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Qt-style client and server library wrapper for Wayland libraries"
+HOMEPAGE="https://cgit.kde.org/kwayland.git"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_qt_dep qtconcurrent)
+	$(add_qt_dep qtgui 'egl')
+	>=dev-libs/wayland-1.7.0
+	media-libs/mesa[egl]
+"
+RDEPEND="${DEPEND}
+	$(add_qt_dep qtwayland 'egl(+)')
+"
+
+# All failing, I guess we need a virtual wayland server
+RESTRICT+=" test"

diff --git a/kde-frameworks/kwidgetsaddons/Manifest b/kde-frameworks/kwidgetsaddons/Manifest
index fb5cbef9eea..c351d33dc68 100644
--- a/kde-frameworks/kwidgetsaddons/Manifest
+++ b/kde-frameworks/kwidgetsaddons/Manifest
@@ -1,2 +1,3 @@
 DIST kwidgetsaddons-5.37.0.tar.xz 2175360 SHA256 a4c54b371a6fc748108f3e2ce2f40d422e8ef03210b243a3d091c090cf19b3ca SHA512 69faac2b489a74f2bb4fea4a5c5961bd7fe6badea6777960589ba45d1eb3457ddcd3875d8a56c0f5d15dd88411ca2e730b54e38e3ec77687a01615e45d62acc0 WHIRLPOOL d40ebf6c56009aeedeac040c295ddf6edb3dfb187e89f4e805d1734e3ed63e2e019759578a115348c463b69fd48cba5c0675eeae0fc2cc93ba932e063dd49a31
 DIST kwidgetsaddons-5.39.0.tar.xz 2177988 SHA256 abb9556d3716beff74460bfea9a33e6470386cb1a68601263b7997a09f1a0db4 SHA512 020f5e0e352743e1adb8f09ca419c886819a855c983db8cd114c949f869deb56dbc9cc93d3605d14c6f18503c983dda00f8e79d2225e45bbeab0228bf2de8186 WHIRLPOOL c7bc0f90afbff9f18a014058da0cf93a724463721997719f77ae142aaa4221ce1ae209613e08b23a3b30a034908dd94c252209e57b46fbc365c6deb50933be95
+DIST kwidgetsaddons-5.40.0.tar.xz 2179044 SHA256 68420f8315442058d9159ffcb2f296a331ae72ef5126c76b2e8cd715032e069a SHA512 885afe981ff9aee90b9ed98e6d2d0a458729133ff9b681597a9836fc68c022906ce0e0dc53f58e60a907e23d5e5914993ce6a4610d931b62613ad15a0ac011b2 WHIRLPOOL b9b62a83f4e9d6353ae33a581e64a7d367868cde4c3f8fe0d5e5df24afa88df7cf7676ac4e0c4e81a2ba744097efb50137614e8ca3aeb2b6d75b847d92bcb1e6

diff --git a/kde-frameworks/kwidgetsaddons/kwidgetsaddons-5.40.0.ebuild b/kde-frameworks/kwidgetsaddons/kwidgetsaddons-5.40.0.ebuild
new file mode 100644
index 00000000000..9b683c48b86
--- /dev/null
+++ b/kde-frameworks/kwidgetsaddons/kwidgetsaddons-5.40.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="An assortment of high-level widgets for common tasks"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"

diff --git a/kde-frameworks/kwindowsystem/Manifest b/kde-frameworks/kwindowsystem/Manifest
index f02f28991b3..0598f7bb7f6 100644
--- a/kde-frameworks/kwindowsystem/Manifest
+++ b/kde-frameworks/kwindowsystem/Manifest
@@ -1,2 +1,3 @@
 DIST kwindowsystem-5.37.0.tar.xz 167936 SHA256 628a1e6512e89ef1eec2b0c50ea879e340656bbc8c57e2f8e961b75b24b0a25d SHA512 136b772820e8f8b7cd4e0e5e04b4f61495fe6adb56fc5e025efd60dc0293c88632ece19fcdcda4cffcb8c04e3515aca5fbcc80309e6f01d727e56a45c81dc744 WHIRLPOOL ec948aa715c1e864387aa1fc4312fb07b471e944703be17139203e543a1f95434c54e98720ef1cf394486da9e82dbe901e9d0bcf669634a2004ef5ce7fc7a674
 DIST kwindowsystem-5.39.0.tar.xz 168924 SHA256 17771aa0acf93b32329633aac9b07e72448edee2a2ecfe7a8f0040a23638dab7 SHA512 723157c663ed4d9025fe0966c66031f5b2083ddc0cdc5cdbdcc6a4cb3b100ebc72d03356d118683bda666f1cd162004d3782604a29ac0f7a4a7f6ce2b0b74994 WHIRLPOOL c38058b17b748505cbe8303038d6c46a52702f399ca835a75bb1d467148cff89bef4c289d90932832c64054f0f1cbc803037730783939014742093f2cf02aa17
+DIST kwindowsystem-5.40.0.tar.xz 169628 SHA256 fff33531367425be18af75f10a8e40ff52f1383ecf97f37cf9c7c39baa308033 SHA512 e07531098de25d96168efb2820b209b47cc5fd0ea5a9a38e3c7c86b079619427e1e597e7b07fd92ea1a64ad6f031afe037ccc73c64bc59e3e5143ab54fff530a WHIRLPOOL b4b6833ac347c23bdec534e6804e4ff01039e33b7197ff0bccf9378e1df5418d2650cd3e10d23bd448014e6eaa4ef2a7a489a8f1bb1479a994ef71356477df51

diff --git a/kde-frameworks/kwindowsystem/kwindowsystem-5.40.0.ebuild b/kde-frameworks/kwindowsystem/kwindowsystem-5.40.0.ebuild
new file mode 100644
index 00000000000..e487d4f75b7
--- /dev/null
+++ b/kde-frameworks/kwindowsystem/kwindowsystem-5.40.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing access to properties and features of the window manager"
+LICENSE="|| ( LGPL-2.1 LGPL-3 ) MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls X"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libX11
+		x11-libs/libXfixes
+		x11-libs/libxcb
+		x11-libs/xcb-util-keysyms
+	)
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+	X? ( x11-proto/xproto )
+"
+
+RESTRICT+=" test"
+
+DOCS=( "docs/README.kstartupinfo" )
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kxmlgui/Manifest b/kde-frameworks/kxmlgui/Manifest
index 968f7ebe881..907796686d9 100644
--- a/kde-frameworks/kxmlgui/Manifest
+++ b/kde-frameworks/kxmlgui/Manifest
@@ -1,2 +1,3 @@
 DIST kxmlgui-5.37.0.tar.xz 883920 SHA256 e235367a31a38c1c114032123b13e7954a93a8e1423eb1829176a6373b953b4b SHA512 71eff51eb697674e7e9554a8912fda0fe2068cd6beea05ab5bd6f44b2b5ff87f07b8443daad6732cb8d268128cb3fdb8614939ae469d1d7cec7948d62c414f53 WHIRLPOOL c021a13f9f0abf965bac41e4425414932718da65dd0535990abf7bd8241577a4351d6e41128b85dd56a048f232c2be365ffdaa7d38faa0eb9b9ee4e92002a6bc
 DIST kxmlgui-5.39.0.tar.xz 882768 SHA256 2584cf5b39414b4bf76817d5f09dcdf5cd2e1554ac424386a0f0fa0173089e7f SHA512 6ddb408b452a6687e71fdc8770999361d8c764750779f7afaf222b92ff6faa41a2727fcee4769dc38d9a5433373d8d5ae7126179650e186001658f782ceb64c6 WHIRLPOOL 231ef0bfd55bbf68c6459b377972feed2109888e40a881bb3fd3d435c4ae5f1d7fea8f8a924cc5172a446451bbbe044a5be29b3cb5d7b5653f7a92884992c9c6
+DIST kxmlgui-5.40.0.tar.xz 883668 SHA256 dbec84a483138efdff17955eeb794d2305812b07c5dd0327a756730c6882471d SHA512 fc29a88395a9fb1979fa56d6e98e789da2831745358b71c2845e8f180b42ad76f1880fc22d13fb3e830dadcd945dd3225c1aa3fd008b14eaf7201d6f05355177 WHIRLPOOL 0cb714c47d9fd07fb823199909c03880523dbbdfbf21151019f0e276b11459ef7c4a2a77ed57b5c63c90d9be4269cdd15792834042365590fb2c9f5ed8057f45

diff --git a/kde-frameworks/kxmlgui/kxmlgui-5.40.0.ebuild b/kde-frameworks/kxmlgui/kxmlgui-5.40.0.ebuild
new file mode 100644
index 00000000000..5e1cc3ab58b
--- /dev/null
+++ b/kde-frameworks/kxmlgui/kxmlgui-5.40.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for managing menu and toolbar actions in an abstract way"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+LICENSE="LGPL-2+"
+IUSE="attica"
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork 'ssl')
+	$(add_qt_dep qtprintsupport)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	attica? ( $(add_frameworks_dep attica) )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package attica KF5Attica)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/kxmlrpcclient/Manifest b/kde-frameworks/kxmlrpcclient/Manifest
index 8b8fbfcce44..559ce00deaa 100644
--- a/kde-frameworks/kxmlrpcclient/Manifest
+++ b/kde-frameworks/kxmlrpcclient/Manifest
@@ -1,2 +1,3 @@
 DIST kxmlrpcclient-5.37.0.tar.xz 29076 SHA256 78bfc409af7d71f0387973cabe8b520627f5eca5e66ad6181ea4bbdb0cdac9ca SHA512 5bf9569a1bad444898c8616171ef2b0c72cebbd43ec758ff8f705b0b16cafbd0993c76f79baa772c57338139ddc89193b250d9f83a4914a69507bbbfae800bd5 WHIRLPOOL 4f6e6da6ed6852e05d547ce9b2e7c45b303a1e68613f60dc313473b4660b27b09d64660bc423e8f9dc41c09ccf1db9a99ba75a8a36d94cf03cb0fb3faf47bdab
 DIST kxmlrpcclient-5.39.0.tar.xz 29308 SHA256 faa3e3af7b85c3bf679fc991d5ff2ef3c4f068a7e516885215c6d2e6870d8ac8 SHA512 d0ee59a250b1c3599c90689ea43169a2c032d104e50519ccfedbf19e8ba323dc1b3d293dbebbe25ed8c9ec3d2b51b72dbfcb359d9e2ca7de0b23368d749a37cc WHIRLPOOL 9b09811cdfb6d928b90fa24c5abf9e9d513644bf9b303ff844ecf405c911ceeb35bc4c6c554a03a431cbc031d9f11fd289c1fcf028ebc5544e03a890606d26c9
+DIST kxmlrpcclient-5.40.0.tar.xz 29296 SHA256 14d8bd7109d013964ba952402fe439e749bcef97d4588b7a7dd269e1b07deb07 SHA512 e35410b53dc39940b5487bae385167d86f8b2cb82248953aca246cdb8bf21db65749f3179940156e302d43aac03756a2085217cf66716718dfd6765caafc7294 WHIRLPOOL 07ef831509dbd94cca670587ffe23c224aef7d7fa2a662be97dcbe11aeb0d4b1d41bb5a1dafc0b0863a5f79f947e20cf534b845cb72a4b7929dfec043d4b2536

diff --git a/kde-frameworks/kxmlrpcclient/kxmlrpcclient-5.40.0.ebuild b/kde-frameworks/kxmlrpcclient/kxmlrpcclient-5.40.0.ebuild
new file mode 100644
index 00000000000..87998183ce1
--- /dev/null
+++ b/kde-frameworks/kxmlrpcclient/kxmlrpcclient-5.40.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Framework providing client-side support for the XML-RPC protocol"
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_qt_dep qtxml)
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-frameworks/modemmanager-qt/Manifest b/kde-frameworks/modemmanager-qt/Manifest
index 3846ddeb4ad..7b41d936af2 100644
--- a/kde-frameworks/modemmanager-qt/Manifest
+++ b/kde-frameworks/modemmanager-qt/Manifest
@@ -1,2 +1,3 @@
 DIST modemmanager-qt-5.37.0.tar.xz 98328 SHA256 5805fc31f99120a304e45ed0aaca789bf901b581abbb451bab6107b9e7200ebb SHA512 110d186478cd656f00abcd71b48b4e09aad6f2c31bdcd5ea24dd96c1e8c39f68d0591025dabfe5b834a49fedfe7d349c47cea09e7314a6c8468caa8df1811227 WHIRLPOOL 6555499c0ace9d9e870f0510aa4e92699dadc03f0570d947835b02808a03a43369c05f81ed00b3ef0a0f800a67b8b95fed4abae51e50dbeeca9d3a748fd72c84
 DIST modemmanager-qt-5.39.0.tar.xz 98308 SHA256 67fe53c0069dfafacfdbee167db762c49f9dcb97c75b29f0724cfa1340b8ba3d SHA512 5c83e80a128a98a92c2b10fd12dc63ef3186a994f814e7872b12a9ae5e2f443adf5e66f924cf27a233372530965db2515ecd4bc38e940a5f1bb1faf5577c462f WHIRLPOOL 4e9d6fef749efd9d6fb6a057b9301407427c36e5dff7b69312a64f86999d03f1a054609c523baa65da32af835e56d93b9cd55723e1fcc97bd6c532f7bb8a9474
+DIST modemmanager-qt-5.40.0.tar.xz 98404 SHA256 d2d97f7efa6a2728892111b72336ab686e742ab9eccbb2779aea23463cbb1244 SHA512 81d9cc2a851a5846c6aaab561776f7c4a04b8567f2db5e2c235f11b3261aa1164d3a442fc4401225b57acb1e9f75efc61bf4f8a04bec3948e7cb0854653d0758 WHIRLPOOL c4f6c4d9a3c992f31950af7a3ed9ef384720e18cbd03445a76bd0c167b6c8d0760ed7d60ca4c214f8a64092819c866eb6293862b2ce274e966bcb6051b70d856

diff --git a/kde-frameworks/modemmanager-qt/modemmanager-qt-5.40.0.ebuild b/kde-frameworks/modemmanager-qt/modemmanager-qt-5.40.0.ebuild
new file mode 100644
index 00000000000..0795a82a5e2
--- /dev/null
+++ b/kde-frameworks/modemmanager-qt/modemmanager-qt-5.40.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="ModemManager bindings for Qt"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtxml)
+	net-misc/modemmanager
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"
+
+# requires running environment
+RESTRICT+=" test"

diff --git a/kde-frameworks/networkmanager-qt/Manifest b/kde-frameworks/networkmanager-qt/Manifest
index 1b07642c112..8907aeb8844 100644
--- a/kde-frameworks/networkmanager-qt/Manifest
+++ b/kde-frameworks/networkmanager-qt/Manifest
@@ -1,2 +1,3 @@
 DIST networkmanager-qt-5.37.0.tar.xz 163316 SHA256 a1c994326d65659125470f2211537ff9ba34633b33dc369ef37efb77924dfd06 SHA512 6a6cd1382cb6483928bb9eac7590c2984751f47fe0f71d7c05723509dc1bb4bda4bf6854f3b662c9ddcaa7d6c1f6d7001e459a0bd335a24f2c14d00d3878bc75 WHIRLPOOL 52f22b5f5e9fc3e11419f4a0df191f18f87d1a8579a5417ba871b5aba55735524da2b6610014e0f6ad776b69e22c9c373e2c84d0742b485bd7f32d447c67a8c8
 DIST networkmanager-qt-5.39.0.tar.xz 163308 SHA256 01651f491a5540a4f22f7b10ae24cbccd037787722d5e0448b79d6a63fd87aca SHA512 84236fa7d5b4d32aac9baf3c46571b5b4919c158348db891f3e30f291ce8fe7044e0f1f7c5ab7e951961d5719adac1da1c5aee36fc330bc35a208a3fe603c616 WHIRLPOOL 43978e6137a3b4ed0566451335fbd05443f3c550f10723362653254dec9a847065980400532aa465919c86f7e158a1daf1367df9e5310b71be60a1be97ce76c2
+DIST networkmanager-qt-5.40.0.tar.xz 163456 SHA256 774b8014f62d41392d98f6da3abfdd73a2287f72db2d19a0b08e803118a9199d SHA512 6c04dd10c85573fa33d1651aa17afd1f987cade3ec299b1f73c3f6052aaf65aa393aca97e0a22f6434e325e99a9c72c7c6398946c1573be3df57c08905460bac WHIRLPOOL 00c7e92c14916b4e2dbecc419ab4363596969871e44f7a2284cd0d780329a9e36e06af8f1ec82b9a562db7db0e6ae8f04a9f2b2937b395529537695b3eb702fb

diff --git a/kde-frameworks/networkmanager-qt/networkmanager-qt-5.40.0.ebuild b/kde-frameworks/networkmanager-qt/networkmanager-qt-5.40.0.ebuild
new file mode 100644
index 00000000000..9b11c8f8e36
--- /dev/null
+++ b/kde-frameworks/networkmanager-qt/networkmanager-qt-5.40.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="NetworkManager bindings for Qt"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="teamd"
+
+COMMON_DEPEND="
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtnetwork)
+	|| (
+		>=net-misc/networkmanager-1.4.0-r1[consolekit,teamd=]
+		>=net-misc/networkmanager-1.4.0-r1[elogind,teamd=]
+		>=net-misc/networkmanager-1.4.0-r1[systemd,teamd=]
+	)
+"
+DEPEND="${COMMON_DEPEND}
+	virtual/pkgconfig
+"
+RDEPEND="${COMMON_DEPEND}
+	!net-libs/libnm-qt:5
+"
+
+src_test() {
+	# bug: 625276
+	local myctestargs=( -E "(managertest|settingstest|activeconnectiontest)" )
+
+	kde5_src_test
+}

diff --git a/kde-frameworks/oxygen-icons/Manifest b/kde-frameworks/oxygen-icons/Manifest
index 397c8873f60..99b25e0af2d 100644
--- a/kde-frameworks/oxygen-icons/Manifest
+++ b/kde-frameworks/oxygen-icons/Manifest
@@ -2,3 +2,4 @@ DIST oxygen-icons-4.14.3.repacked.tar.xz 29341916 SHA256 1d076233882108f16424e09
 DIST oxygen-icons-4.14.3.tar.xz 229823240 SHA256 9b222399c8c188feb3af342b0744fde12d58cdb4e5b88ee2b056ea082a9392db SHA512 193a51d96df9adbec55624d576f63afc8139ffc157c6e9be49cdb2f8611631728690a06cb49fc53441dbe37b5c66ff87ab33f186db82c659da3b7164fa86dcaa WHIRLPOOL ea156f02e1a0cce4445129c5d0ec103f84e38ffc6b69c9ee30130192ed58ec930ae724236623e609c2079dd2681e1f206f3b15f133da90ee2b44814f1f39770a
 DIST oxygen-icons5-5.37.0.tar.xz 234411868 SHA256 9004435ec6ba3be0313b25ab9230601b027f902ff9a81070b9782037923ddae6 SHA512 2af09f05e29efc8ab5bb8255627b6fc4b004c3be735d8bb61251973e4a8a0bb9cb0c4a32e370e3c5bc7203bcac467f85d29a31990135179fe89b486d4574c90a WHIRLPOOL 9e914d68abb7c06f85df571d4df1dfb5dfd739b4b8f23d3c1ee9fe15041d0d7d4a5589a76a28653a90b02e0c74bfdd7b4a29a82a7242a70d76221ef7a7964d78
 DIST oxygen-icons5-5.39.0.tar.xz 234408696 SHA256 28e9243820e380b965a2f85b1290ad98158438cb1498c79d75fb95ef80b639cc SHA512 c0be62b29a838b5a86e2a8830c67a57234fd83907661472574fb194e0e0619cecac334cc8c94d25611bb7e297394dfc68da4713c660f4ecb08667e4866bcf9ce WHIRLPOOL 8e876c018673a79f10f9687058cd1cc73e4c9413c0b9dfaf71160d92a09ad52435324132b401c0d1948265820ef90d70da54b338100f2e4d1e4cc0c3c3ccbcf4
+DIST oxygen-icons5-5.40.0.tar.xz 234407136 SHA256 c3255d712ceb848eddeaa83e4d968b4feb242a9823ad8a25163cef3c7232fb14 SHA512 c1bdfdbeb01440d56600b9b17b9247207d0cdd5bbd316cf0140788e76efdcb094fee98b4cc00f86951005e5a125407edc0902d0edfd369065d934cd8fb1c37f0 WHIRLPOOL e7867315bc7df11d2559ea785e2a43a64dd90bc9d16f7812ccc2ec57114f88ab7a5b1d62f48381984efe21cbe14303538f2d75afebadab704060128a8ba88a15

diff --git a/kde-frameworks/oxygen-icons/oxygen-icons-5.40.0.ebuild b/kde-frameworks/oxygen-icons/oxygen-icons-5.40.0.ebuild
new file mode 100644
index 00000000000..03780d0282e
--- /dev/null
+++ b/kde-frameworks/oxygen-icons/oxygen-icons-5.40.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+KDE_QTHELP="false"
+KDE_TEST="true"
+KMNAME="oxygen-icons5"
+inherit kde5
+
+DESCRIPTION="Oxygen SVG icon theme"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_frameworks_dep extra-cmake-modules)
+	$(add_qt_dep qtcore)
+	test? (
+		$(add_qt_dep qttest)
+		app-misc/fdupes
+	)
+"
+RDEPEND="
+	!kde-apps/kdepim-icons:4
+	!kde-frameworks/oxygen-icons:4
+"

diff --git a/kde-frameworks/plasma/Manifest b/kde-frameworks/plasma/Manifest
index 838afbf8547..775e5a99b40 100644
--- a/kde-frameworks/plasma/Manifest
+++ b/kde-frameworks/plasma/Manifest
@@ -1,2 +1,3 @@
 DIST plasma-framework-5.37.0.tar.xz 4606020 SHA256 7099b0cbccf59b6be0f85f515e9e4c1f324c1910735c06acaea3affc5ddf554d SHA512 35210f11a06b12ae45ec80d11b251883c1fd993c5a7bd8604f115a3d8ca8d13c269a88c37d0336b79baab402d070017286efa1e918c6768dcc7c9e7831a366cc WHIRLPOOL dd337536690b9854ca3fa699be89b1472cb42ec6d539752dd4894993015d2c5d117e4756fdd72beb96d5d470d26a3d067b3e7efc6268a7b3edc716f7403f3ac1
 DIST plasma-framework-5.39.0.tar.xz 4606860 SHA256 a38f92df010d063a934a04d181c30bcac40df5f0494cfc1268d453fe6b9a5dbd SHA512 f24183f54016a6c33f1204cdc23a5737a2b1358b09e5ca260acfe036fc8b31bf4999ebcbd8c3f3207546649b9bce5b82c9be6d7f884fa93646352f11f07e120a WHIRLPOOL 7412bdc0ab6337a6b607b0c2c66c44a07161ebb5a69c23baa424dd7dbcb9a9a416ddbb97a61fa0a8966bdddfc82788a23be008b99b751c0b175bc3fae177a70c
+DIST plasma-framework-5.40.0.tar.xz 4607172 SHA256 6f53b5ab7f79265366b7de5ae80110dc5b723ece10fb4178ddbf5d13c2f04fd6 SHA512 0718ff2fa45d6e793aec947ea42c7264ec379014a6286606eb7bc2577a64f236621f67f20b5223794c1d9b65989a2ebaa6f77f2c11f48fafd0f992dc03e01189 WHIRLPOOL 6052fe79c9d16d39403ef0f53a7d012e0da28b582a3f09c848a068245aadd673e077ae406436c15cd059d76e0838b1b45d29df3371c86de129b5987aa9bd3672

diff --git a/kde-frameworks/plasma/plasma-5.40.0.ebuild b/kde-frameworks/plasma/plasma-5.40.0.ebuild
new file mode 100644
index 00000000000..caceebd1fc7
--- /dev/null
+++ b/kde-frameworks/plasma/plasma-5.40.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KMNAME="${PN}-framework"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Plasma framework"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="gles2 wayland X"
+
+# drop qtdeclarative subslot operator when QT_MINIMAL >= 5.9.0
+RDEPEND="
+	$(add_frameworks_dep kactivities)
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kdeclarative)
+	$(add_frameworks_dep kglobalaccel)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kpackage)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep kwindowsystem)
+	$(add_frameworks_dep kxmlgui)
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative '' '' '5=')
+	$(add_qt_dep qtgui 'gles2=')
+	$(add_qt_dep qtquickcontrols)
+	$(add_qt_dep qtsql)
+	$(add_qt_dep qtsvg)
+	$(add_qt_dep qtwidgets)
+	!gles2? ( virtual/opengl )
+	wayland? (
+		$(add_frameworks_dep kwayland)
+		media-libs/mesa[egl]
+	)
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libX11
+		x11-libs/libxcb
+	)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kdoctools)
+	X? ( x11-proto/xproto )
+"
+
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package !gles2 OpenGL)
+		$(cmake-utils_use_find_package wayland EGL)
+		$(cmake-utils_use_find_package wayland KF5Wayland)
+		$(cmake-utils_use_find_package X X11)
+		$(cmake-utils_use_find_package X XCB)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/prison/Manifest b/kde-frameworks/prison/Manifest
index 8a48e6f920c..b8432efc23f 100644
--- a/kde-frameworks/prison/Manifest
+++ b/kde-frameworks/prison/Manifest
@@ -1,2 +1,3 @@
 DIST prison-5.37.0.tar.xz 13880 SHA256 67f1e0520670a57f39939c3a09a10a48c38fd5b94fbcd45165fa1fe8788e9ac5 SHA512 b4c1a159b04337f6012998c3cc5ec16b1ae2bee64ad675a57d739e20675af9103c140b7c00e5afdacfa7ec077d34a315f183407ab40fc2cd4781d37babaf2ec9 WHIRLPOOL e24bd936db8afb65df0de1beea222dde6e8a5c09af84bd2b800500e0b5fffc7a2f2fbafbef05975d882cd768b76daae15b2b834ffb6348235ee389e2a7501b5c
 DIST prison-5.39.0.tar.xz 13868 SHA256 db06431d8b8679643faedd7787495ef43154a71599949f42cb55b11ec88812ac SHA512 e93eb3fbf8c516faa6debf02471c23e92c45dd7a51938104b4d828129f23ab307355bc2e3c224b3be531ac712fd2c8d28e8aa0f66937c6823e6897ee28e67078 WHIRLPOOL 5640c706f458acc570e47dc639e3048559b254043f2e7dce382577311d02120dcd74677a24db98b85de5a9e68cec0c29263529d8f21c08de559eabbc9fbf59a7
+DIST prison-5.40.0.tar.xz 13904 SHA256 7c133030e2781b5b777197a3611036b8c3306b1f3753488430a7b7208dc6b9a1 SHA512 a4cbc5c8200b280c802f1fe2314d464b68ada11a1e3ad45d4a851a324e691c6b24bace569118405c10cbc97e01cd7f233b19da31887e86b54d1b260d73fc0e48 WHIRLPOOL 568479017d697ecee1c4a942b64cb209c4c71c482af8cbe636a66ae657c14c9802effbcf727b5f8728107106cce2d9e83c3cbedfda5ff6cd2b98554dac2de7c5

diff --git a/kde-frameworks/prison/prison-5.40.0.ebuild b/kde-frameworks/prison/prison-5.40.0.ebuild
new file mode 100644
index 00000000000..c58970ce353
--- /dev/null
+++ b/kde-frameworks/prison/prison-5.40.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="QRCode and data matrix barcode library"
+HOMEPAGE="https://cgit.kde.org/prison.git"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+	$(add_qt_dep qtgui)
+	media-gfx/qrencode:=
+	media-libs/libdmtx
+"
+RDEPEND="${DEPEND}"

diff --git a/kde-frameworks/qqc2-desktop-style/Manifest b/kde-frameworks/qqc2-desktop-style/Manifest
index 5ec41bf6c29..c948227b3e8 100644
--- a/kde-frameworks/qqc2-desktop-style/Manifest
+++ b/kde-frameworks/qqc2-desktop-style/Manifest
@@ -1 +1,2 @@
 DIST qqc2-desktop-style-5.39.0.tar.xz 34996 SHA256 fb8818b22dbc1f47c38bef488543f025ec5da810e84f5ed732b08969338411e1 SHA512 4be8bf81ccab01e1b80db5fe08a21f52e621474326456a17ec105a0d4e4b10e1e7dfdcdedb491aea9816170d4e6354ccb4e5dc95cf77442f07f9a568eda82a95 WHIRLPOOL 3d4365544fa0614da518dfc2e1784fe840bd3f269083aa93537854b46fda44852fccd0bc23cd5fa2cac3ccc459f0ea71968b0319db696f7b3d50b9151f7b6a9b
+DIST qqc2-desktop-style-5.40.0.tar.xz 35292 SHA256 89ec1b98a3b9491f37cd3c13ff6ec047d773efb0fb697c14b9a8388fb0b6ed4a SHA512 ef6c94583bbd264b1057439cde0428a6f2d95e1001832215aafe14549d521e0647b99f5cd61b56becdfba14ffbc140a3cc3b88a6f98e0aef7f409f7f203b2b3c WHIRLPOOL 0af8db2878b4ab92786a27c59ebc5bc647458109c5668b2ccb1fb7340b609c7ace2e6a20d7beee3dce094e205f20a8621dfb506b2d74782fa7e9dd62148bd27d

diff --git a/kde-frameworks/qqc2-desktop-style/qqc2-desktop-style-5.40.0.ebuild b/kde-frameworks/qqc2-desktop-style/qqc2-desktop-style-5.40.0.ebuild
new file mode 100644
index 00000000000..82b727e0917
--- /dev/null
+++ b/kde-frameworks/qqc2-desktop-style/qqc2-desktop-style-5.40.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+inherit kde5
+
+DESCRIPTION="Style for QtQuickControls 2 that uses QWidget's QStyle for painting"
+KEYWORDS="~amd64 ~arm ~x86"
+LICENSE="|| ( GPL-2+ LGPL-3+ )"
+IUSE=""
+
+# drop qtdeclarative subslot operator when QT_MINIMAL >= 5.8.0
+DEPEND="
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kirigami)
+	$(add_qt_dep qtdeclarative '' '' '5=')
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+	$(add_qt_dep qtgraphicaleffects)
+	$(add_qt_dep qtquickcontrols2)
+"

diff --git a/kde-frameworks/solid/Manifest b/kde-frameworks/solid/Manifest
index dfe3008094a..1fb878c9532 100644
--- a/kde-frameworks/solid/Manifest
+++ b/kde-frameworks/solid/Manifest
@@ -1,2 +1,3 @@
 DIST solid-5.37.0.tar.xz 248120 SHA256 14bd7b814f3fb87ea7d26338a05966380b1703d6679d44972a380415ae7d69bd SHA512 11cebe83b19f488804fc2608c1dd5c8a3da8ba63f10ccfe445f3c9ca19de2252857791c520f55d08edc87dfc9459d340ea81fc598b10fea2b1080cb03a24d18d WHIRLPOOL dd9120455df4883248447346db980d1293b6d02eca22bde013ebf95e075adaea15d2662c940f049f6bf853399b1e0446a5ffd42781684eb544f5bc9d8ddd104e
 DIST solid-5.39.0.tar.xz 247684 SHA256 d98c1bc67a8483d42d76d0369bab3255b30420a5bd41bc4730cabbf03e3c74a5 SHA512 ab6775dbe0cf0f06e3049c4d54552d7231c3ce55176e9d3912c729613e2554be4a750356fe681d4d8f0cf1f4647f42a4076442357a59bd2800a6576199ac9352 WHIRLPOOL a16334e02df2a2a25c458cb24b348f27e02b5a6d273bafd2913641cdb7eacc74a87798fe14dd359f29e0cca36c83c7a12ff8d2fe3ec7de144bae095923fcff81
+DIST solid-5.40.0.tar.xz 247840 SHA256 1dc96f12c3bbade6ab71794915ed7968b7ed8acc6b7a8cec5ad9c3708ece42ce SHA512 83a63f08569b385ef21e3401aabe61c04cc7a727e0788b126a9c23f659fb24186f8810223b8b64da605033f46775b5b3ce6e8b2f1b2886b2b533afbcf2691bb9 WHIRLPOOL ba267c107c20fdd5bcbbdffaa9dbaad5db90cbf5e9a3961767aa278981bbf702e1992840f271c7abbd7a4b5732f518432b97b9dbe4da94e5d3e7075a1c64cbfa

diff --git a/kde-frameworks/solid/solid-5.40.0.ebuild b/kde-frameworks/solid/solid-5.40.0.ebuild
new file mode 100644
index 00000000000..66e0b008185
--- /dev/null
+++ b/kde-frameworks/solid/solid-5.40.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Provider for platform independent hardware discovery, abstraction and management"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_qt_dep qtdbus)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+	sys-fs/udisks:2
+	virtual/udev
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+	test? ( $(add_qt_dep qtconcurrent) )
+"
+pkg_postinst() {
+	kde5_pkg_postinst
+
+	if ! has_version "app-misc/media-player-info" ; then
+		einfo "For media player support, install app-misc/media-player-info"
+	fi
+}

diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index 97c70ea3887..ae67ca97c23 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1,2 +1,3 @@
 DIST sonnet-5.37.0.tar.xz 285036 SHA256 60cee18889475a20327c3b7fad431579ab6efc06d28e83c57a4dc54c0c896669 SHA512 bd22671f2c9edff553df80db050393dfb88b14dd6bc869957bfbe70dd30c9ee17e90ac9d88d45e700ffc014708b7703ef8cfacbff6bcdc51ecffa7e45e83aa3d WHIRLPOOL d808975200a6b00ed30750bf944d23b7271f63c1d00eac340e40d181ab86b00e5becac3da67ee7cc34fe5b064fe17af15fd70ec753a61c95b7b4930995522d8f
 DIST sonnet-5.39.0.tar.xz 285128 SHA256 819f2bf8c95758106deaf800f3c4ec18d3f42d845a90996462839a759774abac SHA512 4d1a06578812a77febabba8d99fe902108e52ea03fe20a065e900bc47b1254cc78940927307b27b6039f1dd79ccb3bf734a6cbc916ef47a9603c165342be8a1d WHIRLPOOL 017de7c82bc66d5452a845ceb42296f41f815141de73c97fdd627d896e3f6113c82d0fe42fd6361e5efda50ae4fc31b7b9949ca4203e828b0c00ec633c77acd2
+DIST sonnet-5.40.0.tar.xz 284824 SHA256 68f2aa79b06a6ae61aa36133cf00342c8c513bfd9fb761363db7956edf3c24a9 SHA512 bf304b06607a1c98467621018445638e6e7fe96198c296452b853d5f593da406b247bc812616b354d114d83a5156df7794fa041e0a41ebd6f3d9e322a7a47d0e WHIRLPOOL 07dc970f3e5d171d6d0a9ac3b88c10e84dfe8ea1386dd8c28e4b49c18d42965815e3a445556734e6d544350c6c7a6b8c9ebf677c903c40e48f5823705eb853ae

diff --git a/kde-frameworks/sonnet/sonnet-5.40.0.ebuild b/kde-frameworks/sonnet/sonnet-5.40.0.ebuild
new file mode 100644
index 00000000000..f55dd0abe50
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.40.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="aspell +hunspell nls"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	aspell? ( app-text/aspell )
+	hunspell? ( app-text/hunspell:= )
+"
+DEPEND="${RDEPEND}
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package aspell ASPELL)
+		$(cmake-utils_use_find_package hunspell HUNSPELL)
+	)
+
+	kde5_src_configure
+}

diff --git a/kde-frameworks/syntax-highlighting/Manifest b/kde-frameworks/syntax-highlighting/Manifest
index 1c25323d22b..0cc99aa3e81 100644
--- a/kde-frameworks/syntax-highlighting/Manifest
+++ b/kde-frameworks/syntax-highlighting/Manifest
@@ -1,2 +1,3 @@
 DIST syntax-highlighting-5.37.0.tar.xz 1050660 SHA256 e2d075482bc5409646db40374c6caa0b055276e1a5cd8e30065e9f4fd0baa6d0 SHA512 d49f62934283c07c1b6e8fad11b9fa469b21bb55f35ddbc6c28ab29bd79b7cba67a93d0b46abb8b3d86ee7ba7a90ea50a98553aac7bdfe396bc2b010611c24c2 WHIRLPOOL a2cf1c91e69bf028c5b96e4d6121e532d40cca0ba61be7fd5cf16858fde87437fc145aab6ae2c5eedc1559157bd9443f2cd2f4d6cb814adc1e195033bb2013b5
 DIST syntax-highlighting-5.39.0.tar.xz 1108408 SHA256 acfd79f8d53269bae1d4876c737605f0e20c31d9453444fa98b8e296e06c1a2d SHA512 d7b011950541754b840fe87b82139f3c36b2f582db53ff0b7e2b44c31f6111b5063c77e822dbd4f216761e4e9d556257f7d8954d507541475073bad1fdb3e976 WHIRLPOOL 387367a7ced9a5ce6a4b52d1ebc4bac4405da0266616080fcf914e093da96b7cee00601d0cc6ad4b72db3f42d9fe75ce0a0b46152bcaea09172b4a446f1eb55c
+DIST syntax-highlighting-5.40.0.tar.xz 1108400 SHA256 148dd0d3d091ad5ee352cc528f494a375d89d2812ff31b08c735e0929a358075 SHA512 4e7868ae64e18b7734d7d5b778187951ae01fdd2d2dfaa1a78f8d9c0b9d5c435e30f4bc333dac3ed18f864f3458991144e870bd6a2c5b17c8ee49b61a82c0ccb WHIRLPOOL bfaec46a1f00d82eedde9cc0bdf288f1af7bde68155572e69e17965a0884b7467cc7fa273abf37a4eed85b2e6fa0603d47f3473754098789af7e7129f92c4fe0

diff --git a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.40.0.ebuild b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.40.0.ebuild
new file mode 100644
index 00000000000..a4de123cab8
--- /dev/null
+++ b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.40.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Framework for syntax highlighting"
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtxmlpatterns)
+"
+DEPEND="${RDEPEND}
+	dev-lang/perl
+	nls? ( $(add_qt_dep linguist-tools) )
+"
+
+src_install() {
+	kde5_src_install
+	dobin "${BUILD_DIR}"/bin/katehighlightingindexer
+}

diff --git a/kde-frameworks/threadweaver/Manifest b/kde-frameworks/threadweaver/Manifest
index e33457dcc36..7dde74e1ae7 100644
--- a/kde-frameworks/threadweaver/Manifest
+++ b/kde-frameworks/threadweaver/Manifest
@@ -1,2 +1,3 @@
 DIST threadweaver-5.37.0.tar.xz 1409680 SHA256 a4f79b937020f4a7b44e8fc1a6339828cccea6d306a11084f46bfd90833863c1 SHA512 8679a65b59a787884c3aed01d7fb06dbb9e91a6f60ff4db952e1cba50022db430f3bb3f3411d7ecdf0f47b469be0d2d32b4d4a7879a976c96ac4c0efe688efd7 WHIRLPOOL fc53dac0bf13f1067830ab41faba0b2a416b3b9ae9e67234bbd54a33ffd0bcb0f824d55f0885a9b3313180743c69be4581c1ca32e349462328a209f214aa687c
 DIST threadweaver-5.39.0.tar.xz 1409556 SHA256 5c116d93f2ca7bdc75db8d59a4b4852d2c7db48073ad3de21e4bfbf6339a2b80 SHA512 3c307c53829d59d370175da05355d1ca3950feafab22a53ae8f36c03545e1b69afaf4947a2325830b33d928868c5b5a645447ddbeb6f76963141077e5a271ad2 WHIRLPOOL 1beb15ebb1142391a63b29dc69c125cedae4f3e0d7590cde13118a63bf9920389ddf0a57bc43853ea141bdb00c1c35e53c6e96d3832c970c0fc87ab828cf975f
+DIST threadweaver-5.40.0.tar.xz 1409332 SHA256 2f35c4b370c379fa10fbde3270e2576012f81cf357648706a3dd1a5bce65c346 SHA512 7ea45517957a0970370a57f3f2e50fb39b8e4723546d5f0784db14df310ef5ad1820e682da36e109c13a1215992235a9bb878ac2b592f03e31a516976404765b WHIRLPOOL 7d1d61d4dfeae85e19e74e7f760d63d11fa02589f31fffbb733fb5783e88c6274e54b8e98a43e0e10e872472b419f38b1176eaec2155c71dee2d8a6beceb799b

diff --git a/kde-frameworks/threadweaver/threadweaver-5.40.0.ebuild b/kde-frameworks/threadweaver/threadweaver-5.40.0.ebuild
new file mode 100644
index 00000000000..d8403c75b94
--- /dev/null
+++ b/kde-frameworks/threadweaver/threadweaver-5.40.0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Framework for managing threads using job and queue-based interfaces"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+src_prepare() {
+	cmake_comment_add_subdirectory benchmarks
+	kde5_src_prepare
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-11 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-11 15:07 [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/kauth/, kde-frameworks/sonnet/, kde-frameworks/attica/, Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox