/[gentoo-x86]/eclass/kde4-functions.eclass
Gentoo

Diff of /eclass/kde4-functions.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.62 Revision 1.63
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.62 2012/09/27 16:35:41 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.63 2013/02/07 03:38:33 alexxy Exp $
4 4
5inherit versionator 5inherit versionator
6 6
7# @ECLASS: kde4-functions.eclass 7# @ECLASS: kde4-functions.eclass
8# @MAINTAINER: 8# @MAINTAINER:
52# Set reponame and SCM for modules that have fully migrated to git 52# Set reponame and SCM for modules that have fully migrated to git
53# (hack - it's here because it needs to be before SCM inherits from kde4-base) 53# (hack - it's here because it needs to be before SCM inherits from kde4-base)
54if [[ ${KDE_BUILD_TYPE} == live ]]; then 54if [[ ${KDE_BUILD_TYPE} == live ]]; then
55 case "${KMNAME}" in 55 case "${KMNAME}" in
56 kdebase-workspace) 56 kdebase-workspace)
57 KDE_SCM="git"
58 EGIT_REPONAME=${EGIT_REPONAME:=kde-workspace} 57 EGIT_REPONAME=${EGIT_REPONAME:=kde-workspace}
59 ;; 58 ;;
60 kdebase-runtime) 59 kdebase-runtime)
61 KDE_SCM="git"
62 EGIT_REPONAME=${EGIT_REPONAME:=kde-runtime} 60 EGIT_REPONAME=${EGIT_REPONAME:=kde-runtime}
63 ;; 61 ;;
64 kdebase-apps) 62 kdebase-apps)
65 KDE_SCM="git"
66 EGIT_REPONAME=${EGIT_REPONAME:=kde-baseapps} 63 EGIT_REPONAME=${EGIT_REPONAME:=kde-baseapps}
67 ;;
68 kde-workspace|kde-runtime|kde-baseapps)
69 KDE_SCM="git"
70 ;; 64 ;;
71 esac 65 esac
72fi 66fi
73 67
74# @ECLASS-VARIABLE: KDE_SCM 68# @ECLASS-VARIABLE: KDE_SCM
75# @DESCRIPTION: 69# @DESCRIPTION:
76# If this is a live package which scm does it use 70# If this is a live package which scm does it use
77# Everything else uses svn by default 71# Everything else uses git by default
78KDE_SCM="${KDE_SCM:-svn}" 72KDE_SCM="${KDE_SCM:-git}"
79case ${KDE_SCM} in 73case ${KDE_SCM} in
80 svn|git) ;; 74 svn|git) ;;
81 *) die "KDE_SCM: ${KDE_SCM} is not supported" ;; 75 *) die "KDE_SCM: ${KDE_SCM} is not supported" ;;
82esac 76esac
83 77

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

  ViewVC Help
Powered by ViewVC 1.1.20