recipes-kde: add mirrors

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-12-17 11:11:19 +01:00
parent 88b2bb8b39
commit 28f2f1d3bc
6 changed files with 20 additions and 6 deletions

View File

@@ -2,6 +2,6 @@ inherit kde-base
KDE_APP_VERSION = "15.08.3"
SRC_URI = "http://download.kde.org/stable/applications/${PV}/src/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/applications/${PV}/src/${BPN}-${PV}.tar.xz"
RRECOMMENDS_${PN} += "qtbase-plugins"

View File

@@ -1,6 +1,20 @@
DEPENDS += "qtbase extra-cmake-modules-native"
SRC_URI = "http://download.kde.org/stable/${BPN}/${PV}/src/${BPN}-${PV}.tar.xz"
KDE_MIRROR = "http://download.kde.org"
MIRRORS += "\
${KDE_MIRROR} http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde \n \
${KDE_MIRROR} http://mirrors.mit.edu/kde \n \
${KDE_MIRROR} http://mirror.cc.columbia.edu/pub/software/kde \n \
${KDE_MIRROR} http://ftp.is.co.za/mirror/ftp.kde.org \n \
${KDE_MIRROR} http://mirror.squ.edu.om/kde \n \
${KDE_MIRROR} http://ftp.fi.muni.cz/pub/kde \n \
${KDE_MIRROR} http://mirrors.fe.up.pt/pub/kde \n \
${KDE_MIRROR} http://mirror.its.dal.ca/kde \n \
${KDE_MIRROR} http://kde.c3sl.ufpr.br \n \
"
SRC_URI = "${KDE_MIRROR}/stable/${BPN}/${PV}/src/${BPN}-${PV}.tar.xz"
# extra-cmake-modules cause dependent to check for python
inherit cmake_qt5 cmake-extra-sanity pythonnative

View File

@@ -1,3 +1,3 @@
inherit kde-kf5
SRC_URI = "http://download.kde.org/stable/frameworks/5.17/portingAids/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/frameworks/5.17/portingAids/${BPN}-${PV}.tar.xz"

View File

@@ -2,4 +2,4 @@ inherit kde-base
KF5_VERSION = "5.17.0"
SRC_URI = "http://download.kde.org/stable/frameworks/5.17/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/frameworks/5.17/${BPN}-${PV}.tar.xz"

View File

@@ -2,4 +2,4 @@ inherit kde-base
PLASMA_VERSION = "5.5.1"
SRC_URI = "http://download.kde.org/stable/plasma/${PV}/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/plasma/${PV}/${BPN}-${PV}.tar.xz"

View File

@@ -6,7 +6,7 @@ inherit kde-base cmake-lib
DEPENDS += "polkit glib-2.0"
SRC_URI = "http://download.kde.org/stable/apps/KDE4.x/admin/${BPN}-${PV}.tar.bz2"
SRC_URI = "${KDE_MIRROR}/stable/apps/KDE4.x/admin/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "bee71b71c12797e6fc498540a06c829b"
SRC_URI[sha256sum] = "67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6"