commit:     b58c4def05ffeb42c562268ae6fbab70817fb820
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 16:43:51 2021 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 07:52:24 2021 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=b58c4def

qt5-build.eclass: switch sources to KDE upstream for 5.15 live builds

The KDE community has started [1] maintaining a repository with patches for
the open-source Qt 5.15 branch.

1. https://mail.kde.org/pipermail/distributions/2021-April/000984.html

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

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

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index e33511bb..de7a371c 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -67,10 +67,11 @@ QT5_MINOR_VERSION=$(ver_cut 2)
 readonly QT5_MINOR_VERSION
 
 case ${PV} in
-       5.??.9999)
-               # git stable branch
+       5.15.9999)
+               # KDE upstream for 5.15 patches
+               HOMEPAGE+=" https://invent.kde.org/qt/qt/";
                QT5_BUILD_TYPE="live"
-               EGIT_BRANCH=${PV%.9999}
+               EGIT_BRANCH="kde/5.15"
                ;;
        *_alpha*|*_beta*|*_rc*)
                # development release
@@ -89,10 +90,8 @@ case ${PV} in
 esac
 readonly QT5_BUILD_TYPE
 
-EGIT_REPO_URI=(
-       "https://code.qt.io/qt/${QT5_MODULE}.git";
-       "https://github.com/qt/${QT5_MODULE}.git";
-)
+EGIT_REPO_URI=( "https://invent.kde.org/qt/qt/${QT5_MODULE}.git"; )
+
 [[ ${QT5_BUILD_TYPE} == live ]] && inherit git-r3
 
 # @ECLASS-VARIABLE: QT5_BUILD_DIR

Reply via email to