From 395aa1acac88954b8368b84da4bdab294ecc70ed Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 12 Jun 2007 19:39:24 +0000 Subject: Fixed an error and an annoyance --- ffmpeg/build/ffmpeg.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffmpeg') diff --git a/ffmpeg/build/ffmpeg.SlackBuild b/ffmpeg/build/ffmpeg.SlackBuild index 4b16eca6..3b2452da 100755 --- a/ffmpeg/build/ffmpeg.SlackBuild +++ b/ffmpeg/build/ffmpeg.SlackBuild @@ -117,7 +117,7 @@ SRCURL[5]="http://dl.sourceforge.net/faac/faad2-$FAAD2.tar.gz" SOURCE[6]="$SRCDIR/libswscale-$VERSION.tar.gz" SRCURL[6]="" get_6() { - mkdir libswscale-$VERSION && cd libswscale-$VERSION && svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/libswscale . && chown -R root:root . && cd .. && tar zcvf ${SOURCE[7]} libswscale-$VERSION && rm -rf libswscale-$VERSION + mkdir libswscale-$VERSION && cd libswscale-$VERSION && svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/libswscale . && chown -R root:root . && cd .. && tar zcvf ${SOURCE[6]} libswscale-$VERSION && rm -rf libswscale-$VERSION } # Lame is used for the audio in FLV videos; will statically link with ffmpeg @@ -205,7 +205,7 @@ for (( i = 0; i < ${#SOURCE[*]} - $SKIP; i++ )) ; do [ -w "$SRCDIR" ] || SOURCE[$i]="$OUTPUT/`basename ${SOURCE[$i]}`" echo "Source '`basename ${SOURCE[$i]}`' not available yet..." echo "Will download file to `dirname $SOURCE[$i]`" - wget -nv -O "${SOURCE[$i]}" "${SRCURL[$i]}" || true + wget -nv --connect-timeout=20 -O "${SOURCE[$i]}" "${SRCURL[$i]}" || true if [ $? -ne 0 ]; then echo "Downloading '`basename ${SOURCE[$i]}`' failed.. aborting the build." mv -f "${SOURCE[$i]}" "${SOURCE[$i]}".FAIL -- cgit v1.2.3-79-gdb01