Skip to content

spk-compile v2.2.2

Choose a tag to compare

@stefanmariusionut-ops stefanmariusionut-ops released this 03 Jul 09:05

Auto-resolving KDE versions

spk-compile now queries download.kde.org before every build and automatically picks the latest published stable Plasma and KF6 releases. No more manually bumping version constants — builders always compile the current maintained release.

How it works

At the start of every python3 spk-compile.py <profile> run, _resolve_kde_versions():

  1. Fetches https://download.kde.org/stable/plasma/ → picks the highest x.y.z directory
  2. Fetches https://download.kde.org/stable/frameworks/ → picks the highest x.y directory
  3. Parses the full KF6 point version from the file listing inside that directory
  4. Updates PLASMA_VER, KF6_VER, PLASMA_URL, KF6_URL globals before any phase runs

The resolved versions are printed in the build header so you always know exactly what was compiled.