commit: f9919f0af99e9ececcea0e95391eb90cc36adb68 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> AuthorDate: Sun Dec 20 02:04:59 2015 +0000 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> CommitDate: Sun Dec 20 02:04:59 2015 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=f9919f0a
qt5-build.eclass: drop subslot from 5.5.x eclass/qt5-build.eclass | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 63c6617..0778918 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -23,12 +23,16 @@ inherit eutils flag-o-matic toolchain-funcs versionator virtualx HOMEPAGE="https://www.qt.io/" LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3" -# IMPORTANT: add a subslot dependency to your package only if you are sure -# that it uses some private Qt APIs (most likely it does not) -SLOT=5/$(get_version_component_range 1-2) - QT5_MINOR_VERSION=$(get_version_component_range 2) +if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then + # IMPORTANT: add a subslot dependency to your package only if you are sure + # that it uses some private Qt APIs (most likely it does not) + SLOT=5/$(get_version_component_range 1-2) +else + SLOT=5 +fi + # @ECLASS-VARIABLE: QT5_MODULE # @DESCRIPTION: # The upstream name of the module this package belongs to. Used for