commit:     11ca31bb6ce6da89a3aa57bb69d0c2f3fb3e8919
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 14:06:25 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 14:06:31 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=11ca31bb

[eclass] Fix SRC_URI for 4.14.3

Previously, we were using kde-base/kde-apps to make the KDE SC/KDE Applications
distinction, but this no longer works since the package move was completed.

 eclass/kde4-base.eclass | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 470a21b..1915b6d 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -448,6 +448,9 @@ _calculate_src_uri() {
                                4.11.20)
                                        # Part of 15.04.2 actually, sigh. Not 
stable for next release!
                                        
SRC_URI="mirror://kde/stable/applications/15.04.2/src/${_kmname_pv}.tar.xz" ;;
+                               4.14.3)
+                                       # Last SC release
+                                       
SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz" ;;
                                4.14.6)
                                        # Part of 14.12.3 actually, sigh. Not 
stable for next release!
                                        
SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;;
@@ -464,13 +467,8 @@ _calculate_src_uri() {
                                        # Unstable KDE Applications releases
                                        
SRC_URI="mirror://kde/unstable/applications/${PV}/src/${_kmname}-${PV}.tar.xz" 
;;
                                *)
-                                       if [[ ${CATEGORY} == kde-apps ]]; then
-                                               # Stable KDE Applications 
releases
-                                               
SRC_URI="mirror://kde/stable/applications/${PV}/src/${_kmname}-${PV}.tar.xz"
-                                       else
-                                               # Stable KDE SC releases
-                                               
SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz"
-                                       fi
+                                       # Stable KDE Applications releases
+                                       
SRC_URI="mirror://kde/stable/applications/${PV}/src/${_kmname}-${PV}.tar.xz"
                                ;;
                        esac
                        ;;

Reply via email to