summaryrefslogtreecommitdiff
path: root/eclass/kde.org.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r--eclass/kde.org.eclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index b8fec445755c..819b73d5dfa4 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -8,7 +8,7 @@
# @BLURB: Support eclass for packages that are hosted on kde.org infrastructure.
# @DESCRIPTION:
# This eclass is mainly providing facilities for the upstream release groups
-# Frameworks, Plasma, Applications to assemble default SRC_URI for tarballs,
+# Frameworks, Plasma, Release Service to assemble default SRC_URI for tarballs,
# set up git-r3.eclass for stable/master branch versions or restrict access to
# unreleased (packager access only) tarballs in Gentoo KDE overlay, but it may
# be also used by any other package hosted on kde.org.
@@ -63,7 +63,7 @@ esac
# @ECLASS-VARIABLE: KDE_UNRELEASED
# @INTERNAL
-# @DESCRIPTION
+# @DESCRIPTION:
# An array of $CATEGORY-$PV pairs of packages that are unreleased upstream.
# Any package matching this will have fetch restriction enabled, and receive
# a proper error message via pkg_nofetch.
@@ -220,7 +220,10 @@ kde.org_pkg_nofetch() {
case ${CATEGORY} in
kde-frameworks) sched_uri+="/Frameworks" ;;
kde-plasma) sched_uri+="/Plasma_5" ;;
- kde-apps) sched_uri+="/Applications/$(ver_cut 1-2)_Release_Schedule" ;;
+ *)
+ [[ ${KDE_RELEASE_SERVICE} = true ]] &&
+ sched_uri+="/release_service/$(ver_cut 1-2)_Release_Schedule"
+ ;;
esac
eerror " _ _ _ _ ____ _____ _ _____ _ ____ _____ ____ "