Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Fri, 23 Apr 2021 20:27:09
Message-Id: 1619209608.99e1e156836a66a4da9788ec9c1a4f6514cdc66a.asturm@gentoo
1 commit: 99e1e156836a66a4da9788ec9c1a4f6514cdc66a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 18:47:26 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 23 20:26:48 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=99e1e156
7
8 kde.org.eclass: Support Qt5PatchCollection stable branch
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 eclass/kde.org.eclass | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
16 index 596322f4b1..651ef680d4 100644
17 --- a/eclass/kde.org.eclass
18 +++ b/eclass/kde.org.eclass
19 @@ -52,6 +52,7 @@ declare -A KDE_ORG_CATEGORIES=(
20 [app-office]=office
21 [app-text]=office
22 [dev-libs]=libraries
23 + [dev-qt]=qt/qt
24 [dev-util]=sdk
25 [games-board]=games
26 [games-kids]=education
27 @@ -249,6 +250,10 @@ _kde.org_calculate_live_repo() {
28 # (anongit) with anything else you might want to use.
29 EGIT_MIRROR=${EGIT_MIRROR:=https://invent.kde.org/${KDE_ORG_CATEGORY}}
30
31 + if [[ ${PV} == ?.??.9999 && ${CATEGORY} = dev-qt ]]; then
32 + EGIT_BRANCH="kde/$(ver_cut 1-2)"
33 + fi
34 +
35 if [[ ${PV} == ??.??.49.9999 && ${KDE_GEAR} = true ]]; then
36 EGIT_BRANCH="release/$(ver_cut 1-2)"
37 fi