commit:     99e1e156836a66a4da9788ec9c1a4f6514cdc66a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 17 18:47:26 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 20:26:48 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=99e1e156

kde.org.eclass: Support Qt5PatchCollection stable branch

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/kde.org.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 596322f4b1..651ef680d4 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -52,6 +52,7 @@ declare -A KDE_ORG_CATEGORIES=(
        [app-office]=office
        [app-text]=office
        [dev-libs]=libraries
+       [dev-qt]=qt/qt
        [dev-util]=sdk
        [games-board]=games
        [games-kids]=education
@@ -249,6 +250,10 @@ _kde.org_calculate_live_repo() {
        # (anongit) with anything else you might want to use.
        EGIT_MIRROR=${EGIT_MIRROR:=https://invent.kde.org/${KDE_ORG_CATEGORY}}
 
+       if [[ ${PV} == ?.??.9999 && ${CATEGORY} = dev-qt ]]; then
+               EGIT_BRANCH="kde/$(ver_cut 1-2)"
+       fi
+
        if [[ ${PV} == ??.??.49.9999 && ${KDE_GEAR} = true ]]; then
                EGIT_BRANCH="release/$(ver_cut 1-2)"
        fi

Reply via email to