diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-01-08 12:11:15 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-26 00:33:24 +0100 |
commit | 3c980b4f715ca6f362e2e1c47f2c6cc26fe300f2 (patch) | |
tree | 0a14a662c5ca62c725876a3ea6501f80a6f8af21 /eclass/frameworks.kde.org.eclass | |
parent | ecm.eclass: Use _KFSLOT to aptly configure KF5/KF6 based packages (diff) | |
download | gentoo-3c980b4f715ca6f362e2e1c47f2c6cc26fe300f2.tar.gz gentoo-3c980b4f715ca6f362e2e1c47f2c6cc26fe300f2.tar.bz2 gentoo-3c980b4f715ca6f362e2e1c47f2c6cc26fe300f2.zip |
frameworks.kde.org.eclass: Switch 5.9999 to kf5 branch
See also:
https://mail.kde.org/pipermail/kde-frameworks-devel/2023-January/123124.html
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/frameworks.kde.org.eclass')
-rw-r--r-- | eclass/frameworks.kde.org.eclass | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/eclass/frameworks.kde.org.eclass b/eclass/frameworks.kde.org.eclass index 5201464a76c8..af8e7b86f5a2 100644 --- a/eclass/frameworks.kde.org.eclass +++ b/eclass/frameworks.kde.org.eclass @@ -50,23 +50,32 @@ KDE_ORG_SCHEDULE_URI+="/Frameworks" # Helper variable to construct release group specific SRC_URI. _KDE_SRC_URI="mirror://kde/" -if [[ ${KDE_BUILD_TYPE} != live && -z ${KDE_ORG_COMMIT} ]]; then - _KDE_SRC_URI+="stable/frameworks/$(ver_cut 1-2)/" - case ${KDE_ORG_NAME} in - kdelibs4support | \ - kdesignerplugin | \ - kdewebkit | \ - khtml | \ - kjs | \ - kjsembed | \ - kmediaplayer | \ - kross | \ - kxmlrpcclient) - _KDE_SRC_URI+="portingAids/" - ;; - esac +case ${KDE_BUILD_TYPE} in + live) + if [[ ${PV} == 5.9999 ]]; then + EGIT_BRANCH="kf5" + fi + ;; + *) + if [[ -z ${KDE_ORG_COMMIT} ]]; then + _KDE_SRC_URI+="stable/frameworks/$(ver_cut 1-2)/" + case ${KDE_ORG_NAME} in + kdelibs4support | \ + kdesignerplugin | \ + kdewebkit | \ + khtml | \ + kjs | \ + kjsembed | \ + kmediaplayer | \ + kross | \ + kxmlrpcclient) + _KDE_SRC_URI+="portingAids/" + ;; + esac - SRC_URI="${_KDE_SRC_URI}${KDE_ORG_NAME}-${PV}.tar.xz" -fi + SRC_URI="${_KDE_SRC_URI}${KDE_ORG_NAME}-${PV}.tar.xz" + fi + ;; +esac fi |