[build,mac] add faad2 to build

This commit is contained in:
Armin Novak 2023-12-13 20:34:30 +01:00 committed by akallabeth
parent b3858c9274
commit e355b64059
1 changed files with 6 additions and 1 deletions

View File

@ -90,6 +90,7 @@ then
git clone --depth 1 -b n6.0 https://github.com/FFmpeg/FFmpeg.git
git clone --depth 1 -b v2.4.0 https://github.com/cisco/openh264.git
git clone --depth 1 -b v1.4 https://gitlab.xiph.org/xiph/opus.git
git clone --depth 1 -b 2.11.1 https://github.com/knik0/faad2.git
fi
if [ -d $INSTALL ];
@ -121,6 +122,10 @@ cmake -GNinja -Bopus -S$SRC/opus $CMAKE_ARGS -DOPUS_BUILD_SHARED_LIBRARY=ON
cmake --build opus
cmake --install opus
cmake -GNinja -Bfaad2 -S$SRC/faad2 $CMAKE_ARGS
cmake --build faad2
cmake --install faad2
cmake -GNinja -BSDL -S$SRC/SDL $CMAKE_ARGS -DSDL_TEST=OFF -DSDL_TESTS=OFF -DSDL_STATIC_PIC=ON
cmake --build SDL
cmake --install SDL
@ -150,7 +155,7 @@ meson setup --prefix="$INSTALL" -Doptimization=3 -Db_lto=true -Db_pie=true -Dc_a
ninja -C openh264 install
cmake -GNinja -Bfreerdp -S"$SCRIPT_PATH/.." $CMAKE_ARGS -DWITH_PLATFORM_SERVER=OFF -DWITH_NEON=OFF -DWITH_SSE=OFF -DWITH_FFMPEG=OFF \
-DWITH_SWSCALE=OFF -DWITH_OPUS=ON -DWITH_WEBVIEW=OFF
-DWITH_SWSCALE=OFF -DWITH_OPUS=ON -DWITH_WEBVIEW=OFF -DWITH_FAAD2=ON
cmake --build freerdp
cmake --install freerdp