Index: recipes-kf5/tier3/plasma-framework.inc =================================================================== --- /dev/null +++ recipes-kf5/tier3/plasma-framework.inc @@ -0,0 +1,72 @@ +DESCRIPTION = "Plama Framework" +HOMEPAGE = "https://api.kde.org/plasma-framework/html/index.html" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" +PR = "r0" + +DEPENDS = " \ + qtbase \ + kactivities \ + karchive \ + kconfig \ + kconfigwidgets \ + kdbusaddons \ + kdeclarative \ + kglobalaccel \ + kguiaddons \ + ki18n \ + kiconthemes \ + kio \ + kservice \ + kwindowsystem \ + kxmlgui \ + knotifications \ + kpackage \ + kwayland \ +" + +SRC_URI = " \ + git://anongit.kde.org/plasma-framework;nobranch=1 \ + file://0001-colorscope-compile-fix.patch \ +" +S = "${WORKDIR}/git" + +inherit cmake_kf5 +inherit gettext +inherit python3native + +FILES_${PN} += " \ + ${libdir}/plugins/*.so \ + ${libdir}/plugins/kpackage/packagestructure/*.so \ + ${libdir}/plugins/plasma/scriptengines/*.so \ + ${libdir}/qml/org/kde/plasma/accessdenied/* \ + ${libdir}/qml/org/kde/plasma/components.3/* \ + ${libdir}/qml/org/kde/plasma/extras/* \ + ${libdir}/qml/org/kde/plasma/extras/animations/* \ + ${libdir}/qml/org/kde/plasma/components/* \ + ${libdir}/qml/org/kde/plasma/components/private/* \ + ${libdir}/qml/org/kde/plasma/core/* \ + ${libdir}/qml/org/kde/plasma/core/private/* \ + ${libdir}/qml/org/kde/plasma/calendar/* \ + ${libdir}/qml/org/kde/plasma/platformcomponents/* \ + ${libdir}/qml/QtQuick/Controls.2/Plasma/* \ + ${libdir}/qml/QtQuick/Controls.2/Plasma/private/* \ + ${libdir}/qml/QtQuick/Controls/Styles/Plasma/* \ + ${datadir}/kservices5/*.desktop \ + ${datadir}/kservicetypes5/*.desktop \ + ${datadir}/plasma/services/*.operations \ + ${datadir}/plasma/desktoptheme/air/* \ + ${datadir}/plasma/desktoptheme/air/*/* \ + ${datadir}/plasma/desktoptheme/breeze-dark/* \ + ${datadir}/plasma/desktoptheme/breeze-dark/*/* \ + ${datadir}/plasma/desktoptheme/breeze-light/* \ + ${datadir}/plasma/desktoptheme/breeze-light/*/* \ + ${datadir}/plasma/desktoptheme/default/* \ + ${datadir}/plasma/desktoptheme/default/*/* \ + ${datadir}/plasma/desktoptheme/oxygen/* \ + ${datadir}/plasma/desktoptheme/oxygen/*/* \ +" + +FILES_${PN}-dev += " \ + ${datadir}/kdevappwizard/templates/* \ +" Index: recipes-kf5/tier3/plasma-framework/0001-colorscope-compile-fix.patch =================================================================== --- /dev/null +++ recipes-kf5/tier3/plasma-framework/0001-colorscope-compile-fix.patch @@ -0,0 +1,29 @@ +commit 28aa8aa3da6fa9a6cbf003307030861d2fff985b +Author: Volker Krause +Date: Thu Aug 3 21:57:44 2017 +0200 + + Fix compilation on Yocto + + Summary: + By default, Qt is built without accessibility there, which is what + would indirectly include the needed QColor with a "normal" Qt build + here. + + Reviewers: #frameworks + + Tags: #frameworks + + Differential Revision: https://phabricator.kde.org/D7117 + +diff --git a/src/declarativeimports/core/colorscope.cpp b/src/declarativeimports/core/colorscope.cpp +index 8a705b8b3..2785fab93 100644 +--- a/src/declarativeimports/core/colorscope.cpp ++++ b/src/declarativeimports/core/colorscope.cpp +@@ -23,6 +23,7 @@ + + #include + #include ++#include + + QHash ColorScope::s_attachedScopes = QHash(); + Index: recipes-kf5/tier3/plasma-framework_5.36.0.bb =================================================================== --- /dev/null +++ recipes-kf5/tier3/plasma-framework_5.36.0.bb @@ -0,0 +1,2 @@ +require ${PN}.inc +SRCREV = "v${PV}"