Use github mirror

This commit is contained in:
2024-10-06 04:37:21 +00:00
committed by GitHub
parent 0bae8f25f0
commit 51baa74036
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
export PREFIX=`pwd`/clib
mkdir -p cbuild && cd cbuild || exit 1
git clone --depth 1 'https://git.ffmpeg.org/ffmpeg.git' && cd ffmpeg || exit 1
git clone --depth 1 'https://github.com/FFmpeg/FFmpeg' && cd ffmpeg || exit 1
./configure "--prefix=${PREFIX}" --enable-shared --disable-static --enable-gpl --enable-version3 --disable-doc --enable-libx264 || exit 1
make -j8 && make install || exit 1

View File

@@ -5,7 +5,7 @@ export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export "LIB=$LIB;$PREFIX2/lib"
export "INCLUDE=$INCLUDE;$PREFIX2/include"
mkdir -p cbuild && cd cbuild || exit 1
git clone --depth 1 'https://git.ffmpeg.org/ffmpeg.git' && cd ffmpeg || exit 1
git clone --depth 1 'https://github.com/FFmpeg/FFmpeg' && cd ffmpeg || exit 1
./configure \
--enable-gpl \
--enable-shared \