1 |
abcd 09/11/01 08:23:56 |
2 |
|
3 |
Modified: kde-dist.eclass |
4 |
Log: |
5 |
Mark eclass as deprecated, rest of functionality will be removed after 10 Nov |
6 |
|
7 |
Revision Changes Path |
8 |
1.76 eclass/kde-dist.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-dist.eclass?rev=1.76&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-dist.eclass?rev=1.76&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-dist.eclass?r1=1.75&r2=1.76 |
13 |
|
14 |
Index: kde-dist.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v |
17 |
retrieving revision 1.75 |
18 |
retrieving revision 1.76 |
19 |
diff -u -r1.75 -r1.76 |
20 |
--- kde-dist.eclass 20 Feb 2008 20:59:43 -0000 1.75 |
21 |
+++ kde-dist.eclass 1 Nov 2009 08:23:56 -0000 1.76 |
22 |
@@ -1,57 +1,19 @@ |
23 |
-# Copyright 1999-2008 Gentoo Foundation |
24 |
+# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.75 2008/02/20 20:59:43 philantrop Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.76 2009/11/01 08:23:56 abcd Exp $ |
28 |
|
29 |
-# @ECLASS: kde-dist.eclass |
30 |
-# @MAINTAINER: |
31 |
-# kde@g.o |
32 |
-# |
33 |
-# original author Dan Armak <danarmak@g.o> |
34 |
-# @BLURB: This is the kde-dist eclass for >=2.2.1 kde base packages |
35 |
-# @DESCRIPTION: |
36 |
-# This is the kde-dist eclass for >=2.2.1 kde base packages. Don't use for kdelibs though :-) |
37 |
-# Don't use it for e.g. kdevelop, koffice because of their separate versioning schemes. |
38 |
+# @DEAD |
39 |
+# This eclass was only used for the old monolithic ebuilds; just enough |
40 |
+# functionality remains to install 3.5.9 or remove old versions |
41 |
|
42 |
inherit kde |
43 |
|
44 |
-# Upstream released 3.5.0_rc1 with tarballs labelled as just 3.5.0, so we have our own copies |
45 |
-# on mirror://gentoo |
46 |
-if [[ "$PV" == "3.5.0_rc1" ]]; then |
47 |
- SRC_URI="$SRC_URI mirror://gentoo/$P.tar.bz2" |
48 |
-else |
49 |
- |
50 |
- # kde 3.1 prereleases have tarball versions of 3.0.6 ff |
51 |
- unset SRC_URI |
52 |
- case "${PV}" in |
53 |
- 1*) SRC_PATH="stable/3.0.2/src/${P}.tar.bz2";; # backward compatibility for unmerging ebuilds |
54 |
- 2.2.2a) SRC_PATH="Attic/2.2.2/src/${PN}-${PV/a/}.tar.bz2" ;; |
55 |
- 2.2.2*) SRC_PATH="Attic/2.2.2/src/${P}.tar.bz2" ;; |
56 |
- 3.2.0) SRC_PATH="stable/3.2/src/${P}.tar.bz2" ;; |
57 |
- 3.3.0) SRC_PATH="stable/3.3/src/${P}.tar.bz2" ;; |
58 |
- 3.4.0) SRC_PATH="stable/3.4/src/${P}.tar.bz2" ;; |
59 |
- 3.5.0) SRC_PATH="stable/3.5/src/${P}.tar.bz2" ;; |
60 |
- 3.5_alpha1) SRC_PATH="unstable/${PV/_/-}/src/${PN}-3.4.90.tar.bz2" ;; |
61 |
- 3.5_beta1) SRC_PATH="unstable/${PV/_/-}/src/${PN}-3.4.91.tar.bz2" ;; |
62 |
- 3.5.0_beta2) SRC_PATH="unstable/3.5-beta2/src/${PN}-3.4.92.tar.bz2" ;; |
63 |
- 3*) SRC_PATH="stable/${PV}/src/${P}.tar.bz2" ;; |
64 |
- 5) SRC_URI="" # cvs ebuilds, no SRC_URI needed |
65 |
- debug-print "${ECLASS}: cvs detected" ;; |
66 |
- *) debug-print "${ECLASS}: Error: unrecognized version $PV, could not set SRC_URI" ;; |
67 |
- esac |
68 |
- [[ -n "${SRC_PATH}" ]] && SRC_URI="${SRC_URI} mirror://kde/${SRC_PATH}" |
69 |
-fi |
70 |
-debug-print "${ECLASS}: finished, SRC_URI=${SRC_URI}" |
71 |
- |
72 |
need-kde ${PV} |
73 |
|
74 |
-# 3.5 prereleases |
75 |
-[[ "${PV}" == "3.5_alpha1" ]] && S=${WORKDIR}/${PN}-3.4.90 |
76 |
-[[ "${PV}" == "3.5_beta1" ]] && S=${WORKDIR}/${PN}-3.4.91 |
77 |
-[[ "${PV}" == "3.5.0_beta2" ]] && S=${WORKDIR}/${PN}-3.4.92 |
78 |
-[[ "${PV}" == "3.5.0_rc1" ]] && S=${WORKDIR}/${PN}-3.5.0 |
79 |
- |
80 |
DESCRIPTION="KDE ${PV} - " |
81 |
HOMEPAGE="http://www.kde.org/" |
82 |
+SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2" |
83 |
+ |
84 |
LICENSE="GPL-2" |
85 |
SLOT="${KDEMAJORVER}.${KDEMINORVER}" |