Skip to content

Commit

Permalink
frameworks.kde.org.eclass: Simplify SLOT assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Dec 23, 2024
1 parent 9253792 commit c3a3a6c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions eclass/frameworks.kde.org.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3a3a6c

Please sign in to comment.