1 |
commit: b944887359a9ea094533d1502186be32eca68a45 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 3 15:28:03 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 3 15:28:03 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=b9448873 |
7 |
|
8 |
[eclass] Improve add_kdebase_dep logic to handle new point releases out of the normal SC schedule. |
9 |
|
10 |
--- |
11 |
eclass/kde4-functions.eclass | 11 +++++------ |
12 |
1 file changed, 5 insertions(+), 6 deletions(-) |
13 |
|
14 |
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass |
15 |
index 3706168..65c7052 100644 |
16 |
--- a/eclass/kde4-functions.eclass |
17 |
+++ b/eclass/kde4-functions.eclass |
18 |
@@ -330,14 +330,13 @@ add_kdebase_dep() { |
19 |
# if building live version depend on the final release since there will |
20 |
# not be any more major development. this solves dep errors as not all |
21 |
# packages have kde-base live versions now |
22 |
- elif [[ ${PV} == *9999 ]]; then |
23 |
+ |
24 |
+ # depend on the last sane released version where the normal >=${PV} dep |
25 |
+ # is not possible |
26 |
+ elif [[ ${CATEGORY} == kde-apps || ${PV} > 4.14.3 || ${PV} == *9999 ]]; then |
27 |
ver=4.14.3 |
28 |
else |
29 |
- if [[ ${CATEGORY} == kde-apps ]]; then |
30 |
- ver=4.14.3 |
31 |
- else |
32 |
- ver=${PV} |
33 |
- fi |
34 |
+ ver=${PV} |
35 |
fi |
36 |
|
37 |
[[ -z ${1} ]] && die "Missing parameter" |