diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-17 22:41:12 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-21 12:03:16 +0100 |
commit | 5e4072fa0a546803a1a9921483fe0b4efe51003f (patch) | |
tree | 70488d895928d42daabcd78b5c21c4b511b7c5f1 /eclass | |
parent | qt5-build.eclass: Add support for Qt 5.15.3 (and future) tarballs (diff) | |
download | gentoo-5e4072fa0a546803a1a9921483fe0b4efe51003f.tar.gz gentoo-5e4072fa0a546803a1a9921483fe0b4efe51003f.tar.bz2 gentoo-5e4072fa0a546803a1a9921483fe0b4efe51003f.zip |
qt5-build.eclass: Re-add support for Qt 5.15.2 official tarballs
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 8242db0b7ef6..328108b4e603 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -97,11 +97,22 @@ inherit estack flag-o-matic toolchain-funcs virtualx if [[ ${PN} != qtwebengine ]]; then case ${PV} in - 5.15.2* | *9999 ) - # kde/5.15 branch or Qt5PatchCollection based on Qt 5.15.2 - # (using KDE_ORG_COMMIT) + *9999 ) + # kde/5.15 branch on invent.kde.org inherit kde.org ;; + 5.15.2* ) + if [[ -n ${KDE_ORG_COMMIT} ]]; then + # KDE Qt5PatchCollection snapshot based on Qt 5.15.2 + inherit kde.org + else + # official stable release + _QT5_P=${QT5_MODULE}-everywhere-src-${PV} + HOMEPAGE="https://www.qt.io/" + SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + S=${WORKDIR}/${_QT5_P} + fi + ;; 5.15.[3-9]* ) # official stable release _QT5_P=${QT5_MODULE}-everywhere-opensource-src-${PV} |