From 74817ac6ae18ad339b3a9876a0d7d6a85cc90219 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 31 Dec 2020 13:11:03 +0000 Subject: [PATCH] Provide alternative download url for sip --- bootstrap-carla.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap-carla.sh b/bootstrap-carla.sh index f4e44b2..ba131ce 100755 --- a/bootstrap-carla.sh +++ b/bootstrap-carla.sh @@ -134,10 +134,13 @@ build_conf_python Python "${PYTHON_VERSION}" "--prefix=${PAWPAW_PREFIX} --enable # sip if [ "${SIP_VERSION}" = "4.19.19" ]; then - SIP_EXTRAFLAGS = "--sip-module PyQt5.sip" + SIP_DOWNLOAD_URL="https://files.kde.org/krita/build/dependencies" + SIP_EXTRAFLAGS="--sip-module PyQt5.sip" +else + SIP_DOWNLOAD_URL="http://sourceforge.net/projects/pyqt/files/sip/sip-${SIP_VERSION}" fi -download sip "${SIP_VERSION}" "https://files.kde.org/krita/build/dependencies" +download sip "${SIP_VERSION}" "${SIP_DOWNLOAD_URL}" build_pyqt sip "${SIP_VERSION}" "${SIP_EXTRAFLAGS}" # ---------------------------------------------------------------------------------------------------------------------