From 7453ab7b796d547dcaf603ba1abcbc6922855d41 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Wed, 13 Apr 2016 00:49:23 +0200 Subject: [PATCH] qt5-build.eclass: define a subslot for 5.6 and later *Only* intended for packages using Qt private APIs. Gentoo-Bug: 554190 --- eclass/qt5-build.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 368af3766ae9..5ea0ce1dd8b2 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -57,7 +57,11 @@ LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3" QT5_MINOR_VERSION=$(get_version_component_range 2) readonly QT5_MINOR_VERSION -SLOT="5" +if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then + SLOT=5/$(get_version_component_range 1-2) +else + SLOT=5 +fi case ${PV} in 5.9999) -- 2.26.2