/[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.104 Revision 1.105
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.104 2011/07/11 18:27:32 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.105 2011/07/27 09:30:46 alexxy 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
437 kde-base) 437 kde-base)
438 case ${PV} in 438 case ${PV} in
439 4.[456].8[05] | 4.[456].9[023568]) 439 4.[456].8[05] | 4.[456].9[023568])
440 # Unstable KDE SC releases 440 # Unstable KDE SC releases
441 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" 441 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2"
442 if ! version_is_at_least 4.6.80 ${PV}
443 then
442 # KDEPIM IS SPECIAL 444 # KDEPIM IS SPECIAL
443 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2" 445 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2"
446 fi
444 ;; 447 ;;
445 *) 448 *)
446 # Stable KDE SC releases 449 # Stable KDE SC releases
447 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" 450 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2"
451 if ! version_is_at_least 4.6.80 ${PV}
452 then
448 # KDEPIM IS SPECIAL 453 # KDEPIM IS SPECIAL
454 # TODO: It might not be with KDE 4.7 (see above)
449 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/stable/kdepim-${PV}/src/${_kmname_pv}.tar.bz2" 455 [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/stable/kdepim-${PV}/src/${_kmname_pv}.tar.bz2"
456 fi
450 ;; 457 ;;
451 esac 458 esac
452 ;; 459 ;;
453 koffice) 460 koffice)
454 case ${PV} in 461 case ${PV} in
455 2.[1234].[6-9]*) SRC_URI="mirror://kde/unstable/${_kmname_pv}/${_kmname_pv}.tar.bz2" ;; 462 2.[1234].[6-9]*) SRC_URI="mirror://kde/unstable/${_kmname_pv}/${_kmname_pv}.tar.bz2" ;;

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105

  ViewVC Help
Powered by ViewVC 1.1.20