diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2011-07-27 09:30:46 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2011-07-27 09:30:46 +0000 |
commit | 29fc6b8edf633f27a75a3a8e9b31821804dc53e5 (patch) | |
tree | db58b486af996714207185b34abdd99983735dfa /eclass/kde4-base.eclass | |
parent | Add sys-devel/bison DEPEND, bug #376291 by Albert W. Hopkins. (diff) | |
download | historical-29fc6b8edf633f27a75a3a8e9b31821804dc53e5.tar.gz historical-29fc6b8edf633f27a75a3a8e9b31821804dc53e5.tar.bz2 historical-29fc6b8edf633f27a75a3a8e9b31821804dc53e5.zip |
[eclass] Update eclass for KDE SC 4.7.0
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r-- | eclass/kde4-base.eclass | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index e2377dacca38..ea7a64634d88 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.104 2011/07/11 18:27:32 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.105 2011/07/27 09:30:46 alexxy Exp $ # @ECLASS: kde4-base.eclass # @MAINTAINER: @@ -439,15 +439,22 @@ _calculate_src_uri() { 4.[456].8[05] | 4.[456].9[023568]) # Unstable KDE SC releases SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" - # KDEPIM IS SPECIAL - [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2" + if ! version_is_at_least 4.6.80 ${PV} + then + # KDEPIM IS SPECIAL + [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2" + fi ;; *) # Stable KDE SC releases SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" - # KDEPIM IS SPECIAL - [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/stable/kdepim-${PV}/src/${_kmname_pv}.tar.bz2" - ;; + if ! version_is_at_least 4.6.80 ${PV} + then + # KDEPIM IS SPECIAL + # TODO: It might not be with KDE 4.7 (see above) + [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/stable/kdepim-${PV}/src/${_kmname_pv}.tar.bz2" + fi + ;; esac ;; koffice) |