mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-18 13:49:58 +01:00
30 lines
552 B
Bash
30 lines
552 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -d "ffmpeg" ]
|
|
then
|
|
echo "Trying to get FFmpeg from cvs"
|
|
if cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
|
|
then
|
|
echo "Grabbed ffmpeg from cvs"
|
|
cd ffmpeg
|
|
if [ -t "../ffmpeg.patch" ]
|
|
then
|
|
if( cp ../ffmpeg.patch . ; patch -p0 < ffmpeg.patch )
|
|
then
|
|
echo "Applied patch"
|
|
else
|
|
echo "Cannot apply patch"
|
|
fi
|
|
fi
|
|
if( ./configure && make )
|
|
then
|
|
echo "FFmpeg configured"
|
|
else
|
|
echo "Unable to configure ffmpeg"
|
|
fi
|
|
else
|
|
echo "Unable to grab FFmpeg from CVS!"
|
|
fi
|
|
fi
|
|
|