Skip to content

Commit

Permalink
kde5.eclass: KDE Plasma 5.8 requires >=KF-5.26
Browse files Browse the repository at this point in the history
  • Loading branch information
a17r authored and kensington committed Oct 5, 2016
1 parent 7b167da commit 70cb287
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions eclass/kde5.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,18 @@ case ${KDE_AUTODEPS} in
esac
fi

if [[ ${CATEGORY} = kde-plasma ]]; then
if ! [[ $(get_version_component_range 2) -le 7 && $(get_version_component_range 3) -lt 50 ]]; then
FRAMEWORKS_MINIMAL=5.26.0
fi
fi

DEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
RDEPEND+=" >=kde-frameworks/kf-env-3"
COMMONDEPEND+=" $(add_qt_dep qtcore)"

if [[ ${CATEGORY} = kde-frameworks || ${CATEGORY} = kde-plasma && ${PN} != polkit-kde-agent ]]; then
RDEPEND+="
!kde-apps/kde4-l10n[-minimal(+)]
!<kde-apps/kde4-l10n-15.12.3-r1
"
RDEPEND+=" !<kde-apps/kde4-l10n-15.12.3-r1"
fi

if [[ ${KDE_BLOCK_SLOT4} = true && ${CATEGORY} = kde-apps ]]; then
Expand Down

0 comments on commit 70cb287

Please sign in to comment.