summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-04-13 00:49:23 +0200
committerDavide Pesavento <pesa@gentoo.org>2016-04-13 01:18:16 +0200
commit7453ab7b796d547dcaf603ba1abcbc6922855d41 (patch)
treedf613839e2d6943006346514ecd5abeb24236ef6 /eclass/qt5-build.eclass
parentgames-emulation/stella: version bump (diff)
downloadgentoo-7453ab7b796d547dcaf603ba1abcbc6922855d41.tar.gz
gentoo-7453ab7b796d547dcaf603ba1abcbc6922855d41.tar.bz2
gentoo-7453ab7b796d547dcaf603ba1abcbc6922855d41.zip
qt5-build.eclass: define a subslot for 5.6 and later
*Only* intended for packages using Qt private APIs. Gentoo-Bug: 554190
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass6
1 files changed, 5 insertions, 1 deletions
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)