# Name of the package as hosted on kde.org mirrors.
: ${KDE_ORG_NAME:=$PN}
+# @ECLASS-VARIABLE: KDE_RELEASE_SERVICE
+# @DESCRIPTION:
+# If set to "false", do nothing.
+# If set to "true", set SRC_URI accordingly and apply KDE_UNRELEASED.
+: ${KDE_RELEASE_SERVICE:=false}
+
# @ECLASS-VARIABLE: KDE_SELINUX_MODULE
# @DESCRIPTION:
# If set to "none", do nothing.
HOMEPAGE="https://kde.org/"
case ${CATEGORY} in
+ kde-apps)
+ KDE_RELEASE_SERVICE=true
+ ;;
kde-plasma)
HOMEPAGE="https://kde.org/plasma-desktop"
;;
for pair in "${KDE_UNRELEASED[@]}" ; do
if [[ "${pair}" = "${CATEGORY}-${PV}" ]]; then
return 0
+ elif [[ ${KDE_RELEASE_SERVICE} = true ]]; then
+ if [[ "${pair/kde-apps/${CATEGORY}}" = "${CATEGORY}-${PV}" ]]; then
+ return 0
+ fi
fi
done
local _src_uri="mirror://kde/"
+ if [[ ${KDE_RELEASE_SERVICE} = true ]]; then
+ case ${PV} in
+ ??.??.[6-9]? )
+ _src_uri+="unstable/applications/${PV}/src/"
+ RESTRICT+=" mirror"
+ ;;
+ 19.08.3? ) _src_uri+="stable/applications/${PV}/src/" ;;
+ *) _src_uri+="stable/release-service/${PV}/src/" ;;
+ esac
+ fi
+
case ${CATEGORY} in
- kde-apps)
- case ${PV} in
- ??.??.[6-9]? )
- _src_uri+="unstable/applications/${PV}/src/"
- RESTRICT+=" mirror"
- ;;
- 19.08.3? ) _src_uri+="stable/applications/${PV}/src/" ;;
- *) _src_uri+="stable/release-service/${PV}/src/" ;;
- esac
- ;;
kde-frameworks)
_src_uri+="stable/frameworks/$(ver_cut 1-2)/"
case ${PN} in