Skip to content

Commit

Permalink
qt5-build.eclass: define a subslot for 5.6 and later
Browse files Browse the repository at this point in the history
*Only* intended for packages using Qt private APIs.

Gentoo-Bug: 554190
  • Loading branch information
Pesa committed Apr 12, 2016
1 parent 1ab11a0 commit 7453ab7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eclass/qt5-build.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7453ab7

Please sign in to comment.