diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-17 20:47:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-24 15:40:37 +0200 |
commit | 09246d2d40f7a6d9fc8da9172cb0939b40928c56 (patch) | |
tree | 2caedad8d0df1e3d07ccd58a3ed491ac340d5a0e /eclass | |
parent | kde.org.eclass: Add KDE_ORG_COMMIT to provide invent.kde.org snapshots (diff) | |
download | gentoo-09246d2d40f7a6d9fc8da9172cb0939b40928c56.tar.gz gentoo-09246d2d40f7a6d9fc8da9172cb0939b40928c56.tar.bz2 gentoo-09246d2d40f7a6d9fc8da9172cb0939b40928c56.zip |
kde.org.eclass: Support Qt5PatchCollection stable branch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde.org.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 7a307fef331d..537f8ec730e5 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 @@ -251,6 +252,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 |