Skip to content

Commit

Permalink
kde5-functions.eclass: Fix minimum version requirements
Browse files Browse the repository at this point in the history
- Plasma 5.8 stable branch should not require Qt-5.7.1
- Plasma 5.10 already requires KF-5.34
  • Loading branch information
a17r committed May 1, 2017
1 parent 9cb4d53 commit 318a792
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eclass/kde5-functions.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ case ${CATEGORY} in
[[ ${KDE_BUILD_TYPE} = live ]] && : ${FRAMEWORKS_MINIMAL:=9999}
;;
kde-plasma)
if ! [[ $(get_version_component_range 2) -le 8 && $(get_version_component_range 3) -lt 50 ]]; then
if [[ $(get_version_component_range 2) -ge 9 ]]; then
: ${QT_MINIMAL:=5.7.1}
fi
if [[ ${KDE_BUILD_TYPE} = live ]]; then
if ! [[ $(get_version_component_range 2) -le 9 && $(get_version_component_range 3) -lt 50 ]]; then
: ${FRAMEWORKS_MINIMAL:=5.34.0}
fi
if [[ ${KDE_BUILD_TYPE} = live && $(get_version_component_range 2) -ne 8 ]]; then
: ${FRAMEWORKS_MINIMAL:=9999}
: ${QT_MINIMAL:=5.7.1}
fi
Expand Down

0 comments on commit 318a792

Please sign in to comment.