Added libass
This commit is contained in:
parent
78d4b35ede
commit
0a5eb81720
8
build.sh
8
build.sh
@ -106,6 +106,13 @@ function build_ogg {
|
|||||||
build libogg "--disable-shared"
|
build libogg "--disable-shared"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function build_libass {
|
||||||
|
git clone https://github.com/libass/libass.git $SRC/libass
|
||||||
|
cd $SRC/libass
|
||||||
|
build libass "--disable-shared"
|
||||||
|
add_comp libass
|
||||||
|
}
|
||||||
|
|
||||||
function build_vorbis {
|
function build_vorbis {
|
||||||
git clone https://github.com/xiph/vorbis.git $SRC/libvorbis
|
git clone https://github.com/xiph/vorbis.git $SRC/libvorbis
|
||||||
cd $SRC/libvorbis
|
cd $SRC/libvorbis
|
||||||
@ -257,6 +264,7 @@ build_x264
|
|||||||
build_opus
|
build_opus
|
||||||
build_x265
|
build_x265
|
||||||
#build_aom
|
#build_aom
|
||||||
|
build_libass
|
||||||
|
|
||||||
cd $SRC/ffmpeg
|
cd $SRC/ffmpeg
|
||||||
PKG_CONFIG_PATH=$BUILD/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --toolchain=msvc --extra-cflags="$CFLAGS -I$BUILD/include" --extra-ldflags="-LIBPATH:$BUILD/lib" --prefix=$BUILD --pkg-config-flags="--static" --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl $COMPONENTS
|
PKG_CONFIG_PATH=$BUILD/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --toolchain=msvc --extra-cflags="$CFLAGS -I$BUILD/include" --extra-ldflags="-LIBPATH:$BUILD/lib" --prefix=$BUILD --pkg-config-flags="--static" --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl $COMPONENTS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user