commit:     ecffac6efd87682facfecdfc309577bcd0bd9d9d
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 03:01:06 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 03:01:06 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=ecffac6e

qt5-build.eclass: sync with gentoo.git

 eclass/qt5-build.eclass | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index f6a62cc..6ee55a6 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -91,7 +91,12 @@ case ${PV} in
                # official stable release
                QT5_BUILD_TYPE="release"
                MY_P=${QT5_MODULE}-opensource-src-${PV}
-               
SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${MY_P}.tar.xz";
+               # bug 586646
+               if [[ ${PV} = 5.6.1 ]]; then
+                       
SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}-1/submodules/${MY_P}-1.tar.xz";
+               else
+                       
SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${MY_P}.tar.xz";
+               fi
                S=${WORKDIR}/${MY_P}
                ;;
 esac

Reply via email to