summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-17 09:21:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-18 00:00:32 +0100
commit28c392d59ba28c10f5d5bd5916751788d1c5559b (patch)
tree8e7eac6a829f40dd4cdf881c6bc8f9e44933c2cc /eclass
parentdev-libs/weston: Correct the gles2 USE flag description (diff)
downloadgentoo-28c392d59ba28c10f5d5bd5916751788d1c5559b.tar.gz
gentoo-28c392d59ba28c10f5d5bd5916751788d1c5559b.tar.bz2
gentoo-28c392d59ba28c10f5d5bd5916751788d1c5559b.zip
frameworks.kde.org.eclass: Support unstable release SRC_URIs
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/frameworks.kde.org.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/frameworks.kde.org.eclass b/eclass/frameworks.kde.org.eclass
index 248edede2e57..19db30352fee 100644
--- a/eclass/frameworks.kde.org.eclass
+++ b/eclass/frameworks.kde.org.eclass
@@ -69,7 +69,13 @@ case ${KDE_BUILD_TYPE} in
;;
*)
if [[ -z ${KDE_ORG_COMMIT} ]]; then
- _KDE_SRC_URI+="stable/frameworks/$(ver_cut 1-2)/"
+ case ${PV} in
+ 5.2[4-9]?.? )
+ _KDE_SRC_URI+="unstable/frameworks/$(ver_cut 1-3)/"
+ RESTRICT+=" mirror"
+ ;;
+ *) _KDE_SRC_URI+="stable/frameworks/$(ver_cut 1-2)/" ;;
+ esac
case ${KDE_ORG_NAME} in
kdelibs4support | \
kdesignerplugin | \