KDE 5 build order
From Wiki [en] OpenMandriva
KDE 5 build order
The various packages that belong to KDE 5.x should usually be built in this order:
Basic dependencies
Build/update first, in this order:
qt5 extra-cmake-modules networkmanager-qt attica5 phonon oxygen-fonts [from plasma-desktop, not frameworks -- but required by frameworks]
Stage 1
After the basic dependencies are installed/updated, the following packages can be built in any order, even all at the same time -- they have no interdependencies.
kitemmodels kitemviews karchive kcodecs kconfig kcoreaddons kdbusaddons kglobalaccel kguiaddons kidletime kimageformats kplotting kwidgetsaddons kwindowsystem solid sonnet threadweaver ki18n kjs (portingAids)
Stage 2
These packages depend on basic dependencies, Stage 1 packages, and sometimes other Stage 2 packages. They need to be built in the order below:
kdnssd5 kauth kcompletion kcrash kdoctools kjobwidgets kunitconversion kpty kservice kjsembed kconfigwidgets kdesu kemoticons kiconthemes kapidox knotifications ktextwidgets kpackage kxmlgui kwallet5 kbookmarks kcmutils prison5 kio kparts kinit kdeclarative knewstuff knotifyconfig kactivities frameworkintegration kdesignerplugin khtml (portingAids) ktexteditor kdewebkit kross (portingAids) plasma-framework krunner (portingAids) kmediaplayer (portingAids) kded kdelibs4support (portingAids)
Desktop
Desktop components can require all frameworks packages from above. They also have interdependencies - use the build order below.
libbluedevil5 libkscreen5 libksysguard libmm-qt5 bluedevil5 kde-cli-tools kdecoration kde-gtk-config5 kfilemetadata5 baloo5 networkamanger-qt milou oxygen kwin breeze kwrited systemsettings ksysguard kwayland khelpcenter kinfocenter plasma-workspace plasma-nm5 kdeplasma-addons5 khotkeys kio-extras kmenuedit plasma-desktop plasma-workspace-wallpapers powerdevil