Update build.sh

This commit is contained in:
Daniel Stankewitz 2021-02-22 09:28:36 +01:00 committed by GitHub
parent 3cff1b4e85
commit 628bf84e42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,8 +80,9 @@ function build_svt {
cd $SRC/svt-av1/Build
cmake .. -G"Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD -DCMAKE_CONFIGURATION_TYPES=$MSBUILD_CONFIG
MSBuild.exe /maxcpucount:$NUMBER_OF_PROCESSORS /property:Configuration=$MSBUILD_CONFIG /property:ConfigurationType=StaticLibrary /property:TargetExt=.lib Source/Lib/Encoder/SvtAv1Enc.vcxproj
sed -i 's/C:/\/c' SvtAv1Enc.pc
cp -r ../Source/API $BUILD/include/svt-av1 ; cp ../Bin/$MSBUILD_CONFIG/SvtAv1Enc.lib $BUILD/lib/ ; cp SvtAv1Enc.pc $BUILD/lib/pkgconfig/
#add_comp libsvtav1
add_comp libsvtav1
#
# VP9
#git clone https://github.com/OpenVisualCloud/SVT-VP9.git $SRC/svt-vp9
@ -252,7 +253,7 @@ git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
#build_nvenc
#build_amf
#build_mfx
#build_svt
build_svt
#build_ogg
#build_vorbis
#build_snappy
@ -260,7 +261,7 @@ git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
#build_libfdkaac
#build_lame
#build_zimg
build_x264
#build_x264
#build_opus
#build_x265
#build_aom