summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2009-11-01 08:23:56 +0000
committerJonathan Callen <jcallen@gentoo.org>2009-11-01 08:23:56 +0000
commitecea3da9b8d0907e80b887b248abc6b5005f9a4b (patch)
tree799ede27d6737d07265073d98773344059c7615c /eclass
parentThese eclasses have been deprecated for a long time, scheduled for removal in... (diff)
downloadhistorical-ecea3da9b8d0907e80b887b248abc6b5005f9a4b.tar.gz
historical-ecea3da9b8d0907e80b887b248abc6b5005f9a4b.tar.bz2
historical-ecea3da9b8d0907e80b887b248abc6b5005f9a4b.zip
Mark eclass as deprecated, rest of functionality will be removed after 10 Nov
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-dist.eclass52
1 files changed, 7 insertions, 45 deletions
diff --git a/eclass/kde-dist.eclass b/eclass/kde-dist.eclass
index 4aa2f374ab62..723fffeef9a4 100644
--- a/eclass/kde-dist.eclass
+++ b/eclass/kde-dist.eclass
@@ -1,57 +1,19 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.75 2008/02/20 20:59:43 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.76 2009/11/01 08:23:56 abcd Exp $
-# @ECLASS: kde-dist.eclass
-# @MAINTAINER:
-# kde@gentoo.org
-#
-# original author Dan Armak <danarmak@gentoo.org>
-# @BLURB: This is the kde-dist eclass for >=2.2.1 kde base packages
-# @DESCRIPTION:
-# This is the kde-dist eclass for >=2.2.1 kde base packages. Don't use for kdelibs though :-)
-# Don't use it for e.g. kdevelop, koffice because of their separate versioning schemes.
+# @DEAD
+# This eclass was only used for the old monolithic ebuilds; just enough
+# functionality remains to install 3.5.9 or remove old versions
inherit kde
-# Upstream released 3.5.0_rc1 with tarballs labelled as just 3.5.0, so we have our own copies
-# on mirror://gentoo
-if [[ "$PV" == "3.5.0_rc1" ]]; then
- SRC_URI="$SRC_URI mirror://gentoo/$P.tar.bz2"
-else
-
- # kde 3.1 prereleases have tarball versions of 3.0.6 ff
- unset SRC_URI
- case "${PV}" in
- 1*) SRC_PATH="stable/3.0.2/src/${P}.tar.bz2";; # backward compatibility for unmerging ebuilds
- 2.2.2a) SRC_PATH="2.2.2/src/${PN}-${PV/a/}.tar.bz2" ;;
- 2.2.2*) SRC_PATH="2.2.2/src/${P}.tar.bz2" ;;
- 3.2.0) SRC_PATH="stable/3.2/src/${P}.tar.bz2" ;;
- 3.3.0) SRC_PATH="stable/3.3/src/${P}.tar.bz2" ;;
- 3.4.0) SRC_PATH="stable/3.4/src/${P}.tar.bz2" ;;
- 3.5.0) SRC_PATH="stable/3.5/src/${P}.tar.bz2" ;;
- 3.5_alpha1) SRC_PATH="unstable/${PV/_/-}/src/${PN}-3.4.90.tar.bz2" ;;
- 3.5_beta1) SRC_PATH="unstable/${PV/_/-}/src/${PN}-3.4.91.tar.bz2" ;;
- 3.5.0_beta2) SRC_PATH="unstable/3.5-beta2/src/${PN}-3.4.92.tar.bz2" ;;
- 3*) SRC_PATH="stable/${PV}/src/${P}.tar.bz2" ;;
- 5) SRC_URI="" # cvs ebuilds, no SRC_URI needed
- debug-print "${ECLASS}: cvs detected" ;;
- *) debug-print "${ECLASS}: Error: unrecognized version $PV, could not set SRC_URI" ;;
- esac
- [[ -n "${SRC_PATH}" ]] && SRC_URI="${SRC_URI} mirror://kde/${SRC_PATH}"
-fi
-debug-print "${ECLASS}: finished, SRC_URI=${SRC_URI}"
-
need-kde ${PV}
-# 3.5 prereleases
-[[ "${PV}" == "3.5_alpha1" ]] && S=${WORKDIR}/${PN}-3.4.90
-[[ "${PV}" == "3.5_beta1" ]] && S=${WORKDIR}/${PN}-3.4.91
-[[ "${PV}" == "3.5.0_beta2" ]] && S=${WORKDIR}/${PN}-3.4.92
-[[ "${PV}" == "3.5.0_rc1" ]] && S=${WORKDIR}/${PN}-3.5.0
-
DESCRIPTION="KDE ${PV} - "
HOMEPAGE="http://www.kde.org/"
+SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2"
+
LICENSE="GPL-2"
SLOT="${KDEMAJORVER}.${KDEMINORVER}"