--- /dev/null
+Standalone build of the plugin.
+
+--- a/CMakeLists.txt 2018-01-04 21:38:30.921464554 +0100
++++ b/CMakeLists.txt 2018-01-04 21:38:30.890464324 +0100
+@@ -1,5 +1,12 @@
++cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR)
++
+ project(qguiplatformplugin_kde)
+
++find_package(KDE4 4.9.4 REQUIRED)
++include(KDE4Defaults)
++add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
++include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
++
+ set(kde_SOURCES qguiplatformplugin_kde.cpp)
+ qt4_generate_moc(qguiplatformplugin_kde.cpp ${CMAKE_CURRENT_BINARY_DIR}/qguiplatformplugin_kde.moc)
+
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
KMNAME="kde-workspace"
-inherit kde4-meta
+inherit kde4-base
-DESCRIPTION="Helps integration of pure Qt applications with KDE Plasma"
+DESCRIPTION="Helps integration of pure Qt4 applications with KDE Plasma"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="debug"
+
+S="${WORKDIR}/${KMNAME}-${PV}/qguiplatformplugin_kde"
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )