diff --git a/eclass/frameworks.kde.org.eclass b/eclass/frameworks.kde.org.eclass index e1dc77c935..f66a6b7efb 100644 --- a/eclass/frameworks.kde.org.eclass +++ b/eclass/frameworks.kde.org.eclass @@ -46,15 +46,14 @@ SLOT=6 if ver_test ${PV} -lt 5.240; then SLOT=5 fi -if [[ ${PN} == extra-cmake-modules ]]; then - SLOT=0 -else - if [[ ${KDE_BUILD_TYPE} == release ]]; then +case ${PN} in + extra-cmake-modules) + SLOT=0 + ;; + *) SLOT=${SLOT}/${KDE_CATV} - else - SLOT=${SLOT}/9999 - fi -fi + ;; +esac # @ECLASS_VARIABLE: KDE_ORG_SCHEDULE_URI # @INTERNAL