Update build.sh

This commit is contained in:
Daniel Stankewitz 2021-05-26 09:04:51 +02:00 committed by GitHub
parent 861854a1b5
commit b079974229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,8 +82,8 @@ function build_svt {
# 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 /p:EB_DLL /property:TargetExt=.lib Source/Lib/Encoder/SvtAv1Enc.vcxproj
# sed -i 's/C:/\/c/g' 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
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
#
# VP9
#git clone https://github.com/OpenVisualCloud/SVT-VP9.git $SRC/svt-vp9
@ -255,7 +255,6 @@ git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
#build_amf
#build_mfx
build_svt
exit
#build_ogg
#build_vorbis
#build_snappy