summaryrefslogtreecommitdiff
path: root/eclass/kde.org.eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-17 20:47:26 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-23 22:26:48 +0200
commit99e1e156836a66a4da9788ec9c1a4f6514cdc66a (patch)
tree650b61463c209550c5eff0b4345d5bc203aefb0b /eclass/kde.org.eclass
parent104515216fbb9ac5bc27ebc7c8395019a7bc82e0 (diff)
downloadkde-99e1e156836a66a4da9788ec9c1a4f6514cdc66a.tar.gz
kde-99e1e156836a66a4da9788ec9c1a4f6514cdc66a.tar.bz2
kde-99e1e156836a66a4da9788ec9c1a4f6514cdc66a.zip
kde.org.eclass: Support Qt5PatchCollection stable branch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r--eclass/kde.org.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 596322f4b14..651ef680d4e 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