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 76
76
echo " Using existing ` pwd` /yasm-${YASM_VERSION} "
77
77
fi
78
78
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"
82
85
else
83
- echo " Using existing ` pwd` /x264"
86
+ echo " Using existing ` pwd` /x264- $LIBX264_VERSION "
84
87
fi
85
88
86
89
OPUS_VERSION=" 1.1.5"
@@ -228,7 +231,7 @@ export STRIP=${CROSS_PREFIX}strip
228
231
export PATH=" $PATH :$PREFIX /bin/"
229
232
230
233
if [ " $FLAVOR " = " full" ]; then
231
- pushd x264
234
+ pushd x264- $LIBX264_VERSION
232
235
./configure \
233
236
--cross-prefix=$CROSS_PREFIX \
234
237
--sysroot=$SYSROOT \
You can’t perform that action at this time.
0 commit comments