Skip to content

Commit

Permalink
frameworks.kde.org.eclass: Switch 5.9999 to kf5 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
a17r committed Nov 25, 2023
1 parent ca48f7c commit 3c980b4
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions eclass/frameworks.kde.org.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c980b4

Please sign in to comment.