commit: 94e985fdb4f139cb621a23733a90187283349d4a
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 11:49:31 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 11:56:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94e985fd
qt5-build.eclass: add support for 5.10 URIs
eclass/qt5-build.eclass | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 7462ab2059b..8728acc2c18 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -73,14 +73,26 @@ case ${PV} in
*_alpha*|*_beta*|*_rc*)
# development release
QT5_BUILD_TYPE="release"
- MY_P=${QT5_MODULE}-opensource-src-${PV/_/-}
+
+ if [[ ${QT5_MINOR_VERSION} -ge 10 ]]; then
+ MY_P=${QT5_MODULE}-everywhere-src-${PV/_/-}
+ else
+ MY_P=${QT5_MODULE}-opensource-src-${PV/_/-}
+ fi
+
SRC_URI="https://download.qt.io/development_releases/qt/${PV%.*}/${PV/_/-}/submodules/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
;;
*)
# official stable release
QT5_BUILD_TYPE="release"
- MY_P=${QT5_MODULE}-opensource-src-${PV}
+
+ if [[ ${QT5_MINOR_VERSION} -ge 10 ]]; then
+ MY_P=${QT5_MODULE}-everywhere-src-${PV}
+ else
+ MY_P=${QT5_MODULE}-opensource-src-${PV}
+ fi
+
SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
;;