diff options
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/frameworks.kde.org.eclass | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/eclass/frameworks.kde.org.eclass b/eclass/frameworks.kde.org.eclass index 456902d39c0..5d54b736c91 100644 --- a/eclass/frameworks.kde.org.eclass +++ b/eclass/frameworks.kde.org.eclass @@ -35,18 +35,19 @@ inherit kde.org HOMEPAGE="https://develop.kde.org/products/frameworks/" -_SLOT=6 -_SUBSLOT=${PV} -if [[ ${KDE_BUILD_TYPE} == release ]]; then - _SUBSLOT=$(ver_cut 1-2) -else - _SUBSLOT=9999 +SLOT=6 +if [[ ${PV} == 5.9999 ]] || ver_test ${PV} -lt 5.240; then + SLOT=5 fi -if [[ ${PV/.*} == 5 ]]; then - _SLOT=5 +if [[ ${PN} == extra-cmake-modules ]]; then + SLOT=0 +else + if [[ ${KDE_BUILD_TYPE} == release ]]; then + SLOT=${SLOT}/$(ver_cut 1-2) + else + SLOT=${SLOT}/9999 + fi fi -SLOT=${_SLOT}/${_SUBSLOT} -unset _SLOT _SUBSLOT # @ECLASS_VARIABLE: KDE_ORG_SCHEDULE_URI # @INTERNAL |
