diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-10 23:44:57 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-13 11:15:39 +0200 |
commit | aedff2351bb9dceffeaecedba5726b84a7761615 (patch) | |
tree | 1d4f7b80bf640a8f36fff05b5ee2394686fb82db /eclass/kde.org.eclass | |
parent | kde.org.eclass: Drop obsolete kdevelop SRC_URI quirk (diff) | |
download | gentoo-aedff2351bb9dceffeaecedba5726b84a7761615.tar.gz gentoo-aedff2351bb9dceffeaecedba5726b84a7761615.tar.bz2 gentoo-aedff2351bb9dceffeaecedba5726b84a7761615.zip |
kde.org.eclass: Add new KDE_ORG_SCHEDULE_URI
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r-- | eclass/kde.org.eclass | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 546f3f88484a..524e3060cf40 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -101,6 +101,11 @@ readonly KDE_ORG_CATEGORIES # Name of the package as hosted on kde.org mirrors. : ${KDE_ORG_NAME:=$PN} +# @ECLASS_VARIABLE: KDE_ORG_SCHEDULE_URI +# @DESCRIPTION: +# Known schedule URI of package or release group. +: ${KDE_ORG_SCHEDULE_URI:="https://community.kde.org/Schedules"} + # @ECLASS_VARIABLE: KDE_GEAR # @PRE_INHERIT # @DESCRIPTION: @@ -296,13 +301,12 @@ kde.org_pkg_nofetch() { return fi - local sched_uri="https://community.kde.org/Schedules" case ${CATEGORY} in - kde-frameworks) sched_uri+="/Frameworks" ;; - kde-plasma) sched_uri+="/Plasma_5" ;; + kde-frameworks) KDE_ORG_SCHEDULE_URI+="/Frameworks" ;; + kde-plasma) KDE_ORG_SCHEDULE_URI+="/Plasma_5" ;; *) [[ ${KDE_GEAR} == true ]] && - sched_uri+="/KDE_Gear_$(ver_cut 1-2)_Schedule" + KDE_ORG_SCHEDULE_URI+="/KDE_Gear_$(ver_cut 1-2)_Schedule" ;; esac @@ -325,7 +329,7 @@ kde.org_pkg_nofetch() { eerror "" eerror "Please consult the upstream release schedule to see when this " eerror "package is scheduled to be released:" - eerror "${sched_uri}" + eerror "${KDE_ORG_SCHEDULE_URI}" } # @FUNCTION: kde.org_src_unpack |