diff options
| author | Manuel Nickschas <sputnick@quassel-irc.org> | 2011-02-07 19:28:17 +0100 |
|---|---|---|
| committer | Manuel Nickschas <sputnick@quassel-irc.org> | 2011-02-07 21:48:43 +0100 |
| commit | c157144c0c21433fa83cb67b07411166a3763e8b (patch) | |
| tree | b4f10d648473d7a527be031f094208861051f0ee | |
| parent | 14b050ffe72c5d2fbfdf8e3b186dd5d8b12566cd (diff) | |
| download | kde-c157144c0c21433fa83cb67b07411166a3763e8b.tar.gz kde-c157144c0c21433fa83cb67b07411166a3763e8b.tar.bz2 kde-c157144c0c21433fa83cb67b07411166a3763e8b.zip | |
[kde4-functions.eclass] Set KDE_SCM and ESCM_REPONAME globally for kdebase packages
For -9999, set both KDE_SCM and ESCM_REPONAME globally for all packages in the kdebase module,
as upstream has changed the repo names from the former tarball names. Let's avoid touching a
hundred ebuilds for this.
| -rw-r--r-- | eclass/kde4-functions.eclass | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index db698f0017f..bc9f03f9235 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -48,6 +48,28 @@ fi # @ECLASS-VARIABLE: KDE_SCM # @DESCRIPTION: # If this is a live package which scm does it use + +# Set reponame and SCM for moduleses that have fully migrated to git +case ${PV} in + 9999*) + case "${KMNAME}" in + kdebase-workspace) + KDE_SCM="git" + ESCM_REPONAME=${ESCM_REPONAME:=kde-workspace} + ;; + kdebase-runtime) + KDE_SCM="git" + ESCM_REPONAME=${ESCM_REPONAME:=kde-runtime} + ;; + kdebase-apps) + KDE_SCM="git" + ESCM_REPONAME=${ESCM_REPONAME:=kde-baseapps} + ;; + esac + ;; +esac + +# Everything else uses svn by default KDE_SCM="${KDE_SCM:-svn}" case ${KDE_SCM} in svn|git) ;; |
