File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 7676 echo " Using existing ` pwd` /yasm-${YASM_VERSION} "
7777fi
7878
79- if [ ! -d " x264" ]; then
80- echo " Cloning x264"
81- git clone --depth=1 git://git.videolan.org/x264.git x264
79+
80+ LIBX264_VERSION=" snapshot-20171130-2245"
81+ if [ ! -d " x264-$LIBX264_VERSION " ]; then
82+ echo " Downloading x264-$LIBX264_VERSION "
83+ curl -O " ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-$LIBX264_VERSION .tar.bz2"
84+ tar -xf " x264-$LIBX264_VERSION .tar.bz2"
8285else
83- echo " Using existing ` pwd` /x264"
86+ echo " Using existing ` pwd` /x264- $LIBX264_VERSION "
8487fi
8588
8689OPUS_VERSION=" 1.1.5"
@@ -228,7 +231,7 @@ export STRIP=${CROSS_PREFIX}strip
228231export PATH=" $PATH :$PREFIX /bin/"
229232
230233if [ " $FLAVOR " = " full" ]; then
231- pushd x264
234+ pushd x264- $LIBX264_VERSION
232235 ./configure \
233236 --cross-prefix=$CROSS_PREFIX \
234237 --sysroot=$SYSROOT \
You can’t perform that action at this time.
0 commit comments