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

Diff of /eclass/kde4-base.eclass

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

Revision 1.27 Revision 1.28
1# Copyright 2007-2008 Gentoo Foundation 1# Copyright 2007-2008 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-base.eclass,v 1.27 2009/01/31 21:31:35 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.28 2009/02/02 21:35:08 scarabeus Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
165case ${NEED_KDE} in 165case ${NEED_KDE} in
166 latest) 166 latest)
167 if [[ $KDEBASE = kde-base ]]; then 167 if [[ $KDEBASE = kde-base ]]; then
168 case ${PV} in 168 case ${PV} in
169 4.2.6*) 169 4.2.6*)
170 _kdedir="4.3" 170 _kdedir="4.3"
171 _pv="-${PV}:4.3" 171 _pv="-${PV}:4.3"
172 _pvn="-${PV}" 172 _pvn="-${PV}"
173 ;; 173 ;;
174 4.2* | 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6*) 174 4.2* | 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6*)
175 _kdedir="4.2" 175 _kdedir="4.2"
176 _pv="-${PV}:4.2" 176 _pv="-${PV}:4.2"
177 _pvn="-${PV}" 177 _pvn="-${PV}"
178 ;; 178 ;;
215 _pv="-${NEED_KDE}:live" 215 _pv="-${NEED_KDE}:live"
216 _pvn="-${NEED_KDE}" 216 _pvn="-${NEED_KDE}"
217 export NEED_KDE="live" 217 export NEED_KDE="live"
218 ;; 218 ;;
219 4.2.6*) 219 4.2.6*)
220 _kdedir="4.3" 220 _kdedir="4.3"
221 _pv="-${NEED_KDE}:4.3" 221 _pv="-${NEED_KDE}:4.3"
222 _pvn="-${NEED_KDE}" 222 _pvn="-${NEED_KDE}"
223 _operator=">=" 223 _operator=">="
224 ;; 224 ;;
225 4.2 | 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6*) 225 4.2 | 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6*)
226 _kdedir="4.2" 226 _kdedir="4.2"
227 _pv="-${NEED_KDE}:4.2" 227 _pv="-${NEED_KDE}:4.2"
228 _pvn="-${NEED_KDE}" 228 _pvn="-${NEED_KDE}"
229 _operator=">=" 229 _operator=">="

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20