1 |
commit: c157144c0c21433fa83cb67b07411166a3763e8b |
2 |
Author: Manuel Nickschas <sputnick <AT> quassel-irc <DOT> org> |
3 |
AuthorDate: Mon Feb 7 18:28:17 2011 +0000 |
4 |
Commit: Manuel Nickschas <sputnick <AT> quassel-irc <DOT> org> |
5 |
CommitDate: Mon Feb 7 20:48:43 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c157144c |
7 |
|
8 |
[kde4-functions.eclass] Set KDE_SCM and ESCM_REPONAME globally for kdebase packages |
9 |
|
10 |
For -9999, set both KDE_SCM and ESCM_REPONAME globally for all packages in the kdebase module, |
11 |
as upstream has changed the repo names from the former tarball names. Let's avoid touching a |
12 |
hundred ebuilds for this. |
13 |
|
14 |
--- |
15 |
eclass/kde4-functions.eclass | 22 ++++++++++++++++++++++ |
16 |
1 files changed, 22 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass |
19 |
index db698f0..bc9f03f 100644 |
20 |
--- a/eclass/kde4-functions.eclass |
21 |
+++ b/eclass/kde4-functions.eclass |
22 |
@@ -48,6 +48,28 @@ fi |
23 |
# @ECLASS-VARIABLE: KDE_SCM |
24 |
# @DESCRIPTION: |
25 |
# If this is a live package which scm does it use |
26 |
+ |
27 |
+# Set reponame and SCM for moduleses that have fully migrated to git |
28 |
+case ${PV} in |
29 |
+ 9999*) |
30 |
+ case "${KMNAME}" in |
31 |
+ kdebase-workspace) |
32 |
+ KDE_SCM="git" |
33 |
+ ESCM_REPONAME=${ESCM_REPONAME:=kde-workspace} |
34 |
+ ;; |
35 |
+ kdebase-runtime) |
36 |
+ KDE_SCM="git" |
37 |
+ ESCM_REPONAME=${ESCM_REPONAME:=kde-runtime} |
38 |
+ ;; |
39 |
+ kdebase-apps) |
40 |
+ KDE_SCM="git" |
41 |
+ ESCM_REPONAME=${ESCM_REPONAME:=kde-baseapps} |
42 |
+ ;; |
43 |
+ esac |
44 |
+ ;; |
45 |
+esac |
46 |
+ |
47 |
+# Everything else uses svn by default |
48 |
KDE_SCM="${KDE_SCM:-svn}" |
49 |
case ${KDE_SCM} in |
50 |
svn|git) ;; |