1 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
2 |
--- |
3 |
eclass/kde.org.eclass | 20 +++++++++++--------- |
4 |
1 file changed, 11 insertions(+), 9 deletions(-) |
5 |
|
6 |
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass |
7 |
index 8e0c97f0ec00..b38ca5a024ab 100644 |
8 |
--- a/eclass/kde.org.eclass |
9 |
+++ b/eclass/kde.org.eclass |
10 |
@@ -1,4 +1,4 @@ |
11 |
-# Copyright 1999-2021 Gentoo Authors |
12 |
+# Copyright 1999-2022 Gentoo Authors |
13 |
# Distributed under the terms of the GNU General Public License v2 |
14 |
|
15 |
# @ECLASS: kde.org.eclass |
16 |
@@ -137,6 +137,16 @@ esac |
17 |
# a proper error message via pkg_nofetch. |
18 |
KDE_UNRELEASED=( ) |
19 |
|
20 |
+# @ECLASS_VARIABLE: EGIT_MIRROR |
21 |
+# @DESCRIPTION: |
22 |
+# This variable allows easy overriding of default kde mirror service |
23 |
+# (anongit) with anything else you might want to use. |
24 |
+ |
25 |
+# @ECLASS_VARIABLE: EGIT_REPONAME |
26 |
+# @DESCRIPTION: |
27 |
+# This variable allows overriding of default repository name. |
28 |
+# Specify only if this differs from PN and KDE_ORG_NAME. |
29 |
+ |
30 |
HOMEPAGE="https://kde.org/" |
31 |
|
32 |
case ${CATEGORY} in |
33 |
@@ -249,10 +259,6 @@ _kde.org_calculate_live_repo() { |
34 |
|
35 |
SRC_URI="" |
36 |
|
37 |
- # @ECLASS_VARIABLE: EGIT_MIRROR |
38 |
- # @DESCRIPTION: |
39 |
- # This variable allows easy overriding of default kde mirror service |
40 |
- # (anongit) with anything else you might want to use. |
41 |
EGIT_MIRROR=${EGIT_MIRROR:=https://invent.kde.org/${KDE_ORG_CATEGORY}} |
42 |
|
43 |
if [[ ${PV} == 5.??(.?)*.9999 && ${CATEGORY} == dev-qt ]]; then |
44 |
@@ -267,10 +273,6 @@ _kde.org_calculate_live_repo() { |
45 |
EGIT_BRANCH="Plasma/$(ver_cut 1-2)" |
46 |
fi |
47 |
|
48 |
- # @ECLASS_VARIABLE: EGIT_REPONAME |
49 |
- # @DESCRIPTION: |
50 |
- # This variable allows overriding of default repository |
51 |
- # name. Specify only if this differs from PN and KDE_ORG_NAME. |
52 |
EGIT_REPO_URI="${EGIT_MIRROR}/${EGIT_REPONAME:=$KDE_ORG_NAME}.git" |
53 |
} |
54 |
|
55 |
-- |
56 |
2.35.1 |