Skip to content

Commit

Permalink
qt5-build.eclass: use versionator.eclass to construct QT5_MINOR_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Pesa committed Feb 2, 2016
1 parent 567fffd commit 9dab205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eclass/qt5-build.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ case ${EAPI} in
*) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;;
esac

inherit eutils flag-o-matic multilib toolchain-funcs virtualx

QT5_MINOR_VERSION=${PV#*.}
QT5_MINOR_VERSION=${QT5_MINOR_VERSION%%.*}
inherit eutils flag-o-matic multilib toolchain-funcs versionator virtualx

HOMEPAGE="https://www.qt.io/"
LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"

QT5_MINOR_VERSION=$(get_version_component_range 2)

SLOT="5"

# @ECLASS-VARIABLE: QT5_MODULE
Expand Down

0 comments on commit 9dab205

Please sign in to comment.