/[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.26 Revision 1.27
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.26 2009/01/31 14:00:22 yngwin Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.27 2009/01/31 21:31:35 patrick 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
164 164
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*)
170 _kdedir="4.3"
171 _pv="-${PV}:4.3"
172 _pvn="-${PV}"
173 ;;
169 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*)
170 _kdedir="4.2" 175 _kdedir="4.2"
171 _pv="-${PV}:4.2" 176 _pv="-${PV}:4.2"
172 _pvn="-${PV}" 177 _pvn="-${PV}"
173 ;; 178 ;;
209 _operator=">=" 214 _operator=">="
210 _pv="-${NEED_KDE}:live" 215 _pv="-${NEED_KDE}:live"
211 _pvn="-${NEED_KDE}" 216 _pvn="-${NEED_KDE}"
212 export NEED_KDE="live" 217 export NEED_KDE="live"
213 ;; 218 ;;
219 4.2.6*)
220 _kdedir="4.3"
221 _pv="-${NEED_KDE}:4.3"
222 _pvn="-${NEED_KDE}"
223 _operator=">="
224 ;;
214 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*)
215 _kdedir="4.2" 226 _kdedir="4.2"
216 _pv="-${NEED_KDE}:4.2" 227 _pv="-${NEED_KDE}:4.2"
217 _pvn="-${NEED_KDE}" 228 _pvn="-${NEED_KDE}"
218 _operator=">=" 229 _operator=">="
381 _kmname_pv="${_kmname}-${PV}" 392 _kmname_pv="${_kmname}-${PV}"
382 if [[ $NEED_KDE != live ]]; then 393 if [[ $NEED_KDE != live ]]; then
383 case ${KDEBASE} in 394 case ${KDEBASE} in
384 kde-base) 395 kde-base)
385 case ${PV} in 396 case ${PV} in
397 4.2.60)
398 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.svn912032tar.bz2" ;;
399 4.2.61)
400 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.svn917530.tar.bz2" ;;
386 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6* | 4.0.9* | 4.0.8*) 401 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6* | 4.0.9* | 4.0.8*)
387 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" ;; 402 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" ;;
388 *) SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" ;; 403 *) SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" ;;
389 esac 404 esac
390 ;; 405 ;;

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

  ViewVC Help
Powered by ViewVC 1.1.20