summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-17 16:29:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-01 22:44:53 +0200
commita1c459406fafbb7a238fe5d9a96c13bedbae12ab (patch)
treee061595a4cbb5a468f52ade85dc0df0cda655c5c /eclass
parentkde5.eclass: Drop obsolete KDEBASE=kdevelop HOMEPAGE switch (diff)
downloadgentoo-a1c459406fafbb7a238fe5d9a96c13bedbae12ab.tar.gz
gentoo-a1c459406fafbb7a238fe5d9a96c13bedbae12ab.tar.bz2
gentoo-a1c459406fafbb7a238fe5d9a96c13bedbae12ab.zip
kde5.eclass: Drop obsolete kdevelop-pg-qt SRC_URI switch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass12
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