diff options
-rw-r--r-- | eclass/kde5.eclass | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index be98ca0d6aee..f5b2178ba536 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -344,22 +344,14 @@ _calculate_src_uri() { esac if [[ -z ${SRC_URI} && -n ${KDEBASE} ]] ; then - local _kdebase - case ${PN} in - kdevelop-pg-qt) - _kdebase=${PN} ;; - *) - _kdebase=${KDEBASE} ;; - esac case ${PV} in *.*.[6-9]? ) - SRC_URI="mirror://kde/unstable/${_kdebase}/${PV}/src/${_kmname}-${PV}.tar.xz" + SRC_URI="mirror://kde/unstable/${KDEBASE}/${PV}/src/${_kmname}-${PV}.tar.xz" RESTRICT+=" mirror" ;; *) - SRC_URI="mirror://kde/stable/${_kdebase}/${PV}/src/${_kmname}-${PV}.tar.xz" ;; + SRC_URI="mirror://kde/stable/${KDEBASE}/${PV}/src/${_kmname}-${PV}.tar.xz" ;; esac - unset _kdebase fi if _kde_is_unreleased ; then |