mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 01:40:28 +00:00
GitHub CI [Win]: cineform build fix
Picked from master but genereator is selected explicitly - here perhaps cmake from MSYS is used which defaults to Ninja.
This commit is contained in:
14
.github/scripts/Windows/prepare_msys.sh
vendored
14
.github/scripts/Windows/prepare_msys.sh
vendored
@@ -65,6 +65,16 @@ if [ -n "$SDK_URL" ]; then
|
||||
rm -rf VideoMaster
|
||||
fi
|
||||
|
||||
build_cineform() {
|
||||
(
|
||||
git submodule update --init cineform-sdk
|
||||
cd cineform-sdk
|
||||
cmake -DBUILD_STATIC=false -DBUILD_TOOLS=false -A x64 -G 'Visual Studio 16 2019' .
|
||||
cmake --build . --config Release --parallel
|
||||
cp Release/CFHDCodec.dll /usr/local/bin && cp Release/CFHDCodec.lib /usr/local/lib && cp Common/* /usr/local/include && cp libcineformsdk.pc /usr/local/lib/pkgconfig
|
||||
)
|
||||
}
|
||||
|
||||
# Install SPOUT
|
||||
wget --no-verbose https://frakira.fi.muni.cz/~xpulec/SpoutSDK.zip # this is the SDK subdirectory installed by Spout installer
|
||||
unzip SpoutSDK.zip -d src
|
||||
@@ -77,6 +87,4 @@ wget --no-verbose https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.
|
||||
# Install GPUJPEG
|
||||
( wget --no-verbose https://github.com/CESNET/GPUJPEG/releases/download/continuous/GPUJPEG.zip && unzip GPUJPEG.zip && cp -r GPUJPEG/* /usr/local )
|
||||
|
||||
# Build CineForm
|
||||
( git submodule update --init cineform-sdk && cd cineform-sdk && cmake -DBUILD_STATIC=false -DBUILD_TOOLS=false -A x64 && MSBuild.exe CineFormSDK.sln -property:Configuration=Release && cp Release/CFHDCodec.dll /usr/local/bin && cp Release/CFHDCodec.lib /usr/local/lib && cp Common/* /usr/local/include && cp libcineformsdk.pc /usr/local/lib/pkgconfig )
|
||||
|
||||
build_cineform
|
||||
|
||||
Reference in New Issue
Block a user