From 933ec1e175ee5007a029d141e37b712056cb9c6b Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 2 Nov 2025 10:42:26 +0100 Subject: [PATCH] qt5-build.eclass: Support new 5.15.18 (archive) download location Signed-off-by: Andreas Sturmlechner --- eclass/qt5-build.eclass | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 49d020e2a0b0..85a4e2fc3a1e 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -106,14 +106,21 @@ inherit estack flag-o-matic toolchain-funcs virtualx if [[ ${PN} != qtwebengine ]]; then case ${PV} in - *9999 ) + *9999) inherit kde.org # kde/5.15 branch ;; - 5.15.??* ) + 5.15.??*) # official stable release _QT5_P=${QT5_MODULE}-everywhere-opensource-src-${PV} HOMEPAGE="https://www.qt.io/" - SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + case ${PV} in + 5.15.17) + SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + ;; + *) + SRC_URI="https://download.qt.io/archive/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + ;; + esac # KDE Qt5PatchCollection on top of tag v${PV}-lts-lgpl if [[ -n ${QT5_KDEPATCHSET_REV} ]]; then HOMEPAGE+=" https://invent.kde.org/qt/qt/${QT5_MODULE} https://community.kde.org/Qt5PatchCollection"