/[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.97 Revision 1.98
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.97 2011/06/07 20:11:04 abcd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.98 2011/06/09 21:05:45 tampakrap 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
165 RESTRICT+=" test" 165 RESTRICT+=" test"
166 fi 166 fi
167 167
168 # Only add the kdeprefix USE flag for older versions, to help 168 # Only add the kdeprefix USE flag for older versions, to help
169 # non-portage package managers handle the upgrade 169 # non-portage package managers handle the upgrade
170 if [[ ${PV} < 4.6.4 ]]; then 170 if [[ ${PV} < 4.6.4 && ( ( ${KMNAME} != kdepim && ${PN} != kdepim-runtime ) || ${PV} < 4.6 ) ]]; then
171 IUSE+=" kdeprefix" 171 IUSE+=" kdeprefix"
172 fi 172 fi
173 173
174 # This code is to prevent portage from searching GENTOO_MIRRORS for 174 # This code is to prevent portage from searching GENTOO_MIRRORS for
175 # packages that will never be mirrored. (As they only will ever be in 175 # packages that will never be mirrored. (As they only will ever be in
443 # Unstable KDE SC releases 443 # Unstable KDE SC releases
444 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" 444 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2"
445 # KDEPIM IS SPECIAL 445 # KDEPIM IS SPECIAL
446 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2" 446 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2"
447 ;; 447 ;;
448 4.4.[6789] | 4.4.1?*)
449 # Stable kdepim releases
450 SRC_URI="mirror://kde/stable/kdepim-${PV}/src/${_kmname_pv}.tar.bz2"
451 ;;
452 *) 448 *)
453 # Stable KDE SC releases 449 # Stable KDE SC releases
454 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" 450 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2"
451 # KDEPIM IS SPECIAL
452 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/stable/kdepim-${PV}/src/${_kmname_pv}.tar.bz2"
455 ;; 453 ;;
456 esac 454 esac
457 ;; 455 ;;
458 koffice) 456 koffice)
459 case ${PV} in 457 case ${PV} in

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

  ViewVC Help
Powered by ViewVC 1.1.20