Build-script: retry download of external data
There are occasional build failures if the server providing 3rd party content cannot be reached. Notably x42-plugins.com is lately overloaded by LLM scrapers again.
This commit is contained in:
@@ -35,6 +35,7 @@ EXENAME=ardour
|
||||
BUILDTYPE=""
|
||||
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
|
||||
X42PLUGINS="x42-autotune x42-midifilter x42-stereoroute setBfree x42-avldrums x42-limiter x42-tuner"
|
||||
CURLOPT="-s -S --retry-connrefused --retry 3"
|
||||
|
||||
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
|
||||
: ${HARRISONLV2=harrison_lv2s-n}
|
||||
@@ -720,7 +721,7 @@ if test x$WITH_HARRISON_LV2 != x ; then
|
||||
echo "Adding Harrison LV2s"
|
||||
mkdir -p $APPLIB/LV2
|
||||
|
||||
curl -s -S --fail -# \
|
||||
curl ${CURLOPT} --fail -# \
|
||||
-z "${CACHEDIR}/${HARRISONLV2}.${HARCH}.zip" \
|
||||
-o "${CACHEDIR}/${HARRISONLV2}.${HARCH}.zip" \
|
||||
"${HARRISONDSPURL}/${HARRISONLV2}.${HARCH}.zip"
|
||||
@@ -731,7 +732,7 @@ if test x$WITH_HARRISON_VBM != x ; then
|
||||
echo "Including Harrison VBM Channelstrip LV2"
|
||||
mkdir -p $APPLIB/LV2
|
||||
|
||||
curl -s -S --fail -# \
|
||||
curl ${CURLOPT} --fail -# \
|
||||
-z "${CACHEDIR}/harrison_vbm.${HARCH}.zip" \
|
||||
-o "${CACHEDIR}/harrison_vbm.${HARCH}.zip" \
|
||||
"${HARRISONDSPURL}/harrison_vbm.${HARCH}.zip"
|
||||
@@ -742,7 +743,7 @@ if test -n "$MIXBUS"; then
|
||||
echo "Adding Mixbus Channelstrip"
|
||||
|
||||
mkdir -p $APPLIB/ladspa/strip/
|
||||
curl -s -S --fail -# \
|
||||
curl ${CURLOPT} --fail -# \
|
||||
-z "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
|
||||
-o "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
|
||||
"${HARRISONDSPURL}/${HARRISONCHANNELSTRIP}.${HARCH}.so"
|
||||
@@ -754,7 +755,7 @@ if test -n "$MIXBUS"; then
|
||||
echo "Adding Harrison Vamp Plugins"
|
||||
|
||||
VAMPARCH="${HARCH}gcc5"
|
||||
curl -s -S --fail -# \
|
||||
curl ${CURLOPT} --fail -# \
|
||||
-z "${CACHEDIR}/harrison_vamp.${VAMPARCH}.so" \
|
||||
-o "${CACHEDIR}/harrison_vamp.${VAMPARCH}.so" \
|
||||
"${HARRISONDSPURL}/harrison_vamp.${VAMPARCH}.so"
|
||||
@@ -764,7 +765,7 @@ if test -n "$MIXBUS"; then
|
||||
chmod +x $APPLIB/harrison_vamp.so
|
||||
|
||||
# Mixbus Bundled Media Content
|
||||
curl -s -S --fail -# \
|
||||
curl ${CURLOPT} --fail -# \
|
||||
-z "${CACHEDIR}/MixbusBundledMedia.zip" \
|
||||
-o "${CACHEDIR}/MixbusBundledMedia.zip" \
|
||||
"https://builder.harrisonconsoles.com/pub/share/MixbusBundledMedia.zip"
|
||||
@@ -777,7 +778,7 @@ if test -n "$MIXBUS"; then
|
||||
elif test -z "$LIVETRAX" -a -z "$VBM"; then
|
||||
echo "Fetching Ardour bundled content"
|
||||
|
||||
curl -s -S --fail -# \
|
||||
curl ${CURLOPT} --fail -# \
|
||||
-z "${CACHEDIR}/ArdourBundledMedia.zip" \
|
||||
-o "${CACHEDIR}/ArdourBundledMedia.zip" \
|
||||
"http://stuff.ardour.org/loops/ArdourBundledMedia.zip"
|
||||
@@ -798,7 +799,7 @@ if test x$WITH_GMSYNYTH != x ; then
|
||||
echo "Adding General MIDI Synth LV2"
|
||||
|
||||
for proj in x42-gmsynth ; do
|
||||
X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/${proj}.latest.txt)
|
||||
X42_VERSION=$(curl ${CURLOPT} http://x42-plugins.com/x42/linux/${proj}.latest.txt)
|
||||
rsync -a -q --partial \
|
||||
rsync://x42-plugins.com/x42/linux/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip \
|
||||
"${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip"
|
||||
@@ -813,7 +814,7 @@ if test x$WITH_COMMERCIAL_X42_LV2 != x ; then
|
||||
echo "Adding commercial x42 Plugins"
|
||||
|
||||
for proj in x42-meters x42-eq x42-whirl; do
|
||||
X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/${proj}.latest.txt)
|
||||
X42_VERSION=$(curl ${CURLOPT} http://x42-plugins.com/x42/linux/${proj}.latest.txt)
|
||||
rsync -a -q --partial \
|
||||
rsync://x42-plugins.com/x42/linux/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip \
|
||||
"${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip"
|
||||
@@ -837,7 +838,7 @@ if test x$WITH_GRATIS_X42_LV2 != x ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/${proj}.latest.txt)
|
||||
X42_VERSION=$(curl ${CURLOPT} http://x42-plugins.com/x42/linux/${proj}.latest.txt)
|
||||
rsync -a -q --partial \
|
||||
rsync://x42-plugins.com/x42/linux/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip \
|
||||
"${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip"
|
||||
@@ -849,7 +850,7 @@ fi
|
||||
|
||||
if test x$WITH_HARVID != x ; then
|
||||
cd $APPBIN
|
||||
HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
HARVID_VERSION=$(curl ${CURLOPT} http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz \
|
||||
@@ -863,7 +864,7 @@ fi
|
||||
|
||||
if test x$WITH_XJADEO != x ; then
|
||||
cd $APPBIN
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
XJADEO_VERSION=$(curl ${CURLOPT} http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz \
|
||||
@@ -880,9 +881,9 @@ fi
|
||||
|
||||
if test x$DEMO_SESSION_URL != x ; then
|
||||
mkdir -p $Shared/sessions
|
||||
DEMO_SESSIONS=$(curl -s -S --fail $DEMO_SESSION_URL/index.txt)
|
||||
DEMO_SESSIONS=$(curl ${CURLOPT} --fail $DEMO_SESSION_URL/index.txt)
|
||||
for demo in $DEMO_SESSIONS; do
|
||||
curl -s -S --fail -# -o $Shared/sessions/$demo $DEMO_SESSION_URL/$demo
|
||||
curl ${CURLOPT} --fail -# -o $Shared/sessions/$demo $DEMO_SESSION_URL/$demo
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user