summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-17 22:41:12 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-21 12:03:16 +0100
commit5e4072fa0a546803a1a9921483fe0b4efe51003f (patch)
tree70488d895928d42daabcd78b5c21c4b511b7c5f1 /eclass
parentqt5-build.eclass: Add support for Qt 5.15.3 (and future) tarballs (diff)
downloadgentoo-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.eclass17
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}