mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-26 22:48:09 +00:00
* Revert "feat(ddprobe): allow to manually specify gpu preference (#3521)" This reverts commit6a233cbcbf. * Keep display revert delay input type change from6a233cbcb* Remove ddprobe * feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA
38 lines
813 B
Bash
38 lines
813 B
Bash
# install dependencies for C++ analysis
|
|
set -e
|
|
|
|
# update pacman
|
|
pacman --noconfirm -Syu
|
|
|
|
# install dependencies
|
|
dependencies=(
|
|
"git"
|
|
"mingw-w64-ucrt-x86_64-boost"
|
|
"mingw-w64-ucrt-x86_64-cmake"
|
|
"mingw-w64-ucrt-x86_64-cppwinrt"
|
|
"mingw-w64-ucrt-x86_64-curl-winssl"
|
|
"mingw-w64-ucrt-x86_64-MinHook"
|
|
"mingw-w64-ucrt-x86_64-miniupnpc"
|
|
"mingw-w64-ucrt-x86_64-nlohmann-json"
|
|
"mingw-w64-ucrt-x86_64-nodejs"
|
|
"mingw-w64-ucrt-x86_64-nsis"
|
|
"mingw-w64-ucrt-x86_64-onevpl"
|
|
"mingw-w64-ucrt-x86_64-openssl"
|
|
"mingw-w64-ucrt-x86_64-opus"
|
|
"mingw-w64-ucrt-x86_64-toolchain"
|
|
)
|
|
pacman -S --noconfirm "${dependencies[@]}"
|
|
|
|
# build
|
|
mkdir -p build
|
|
cmake \
|
|
-B build \
|
|
-G Ninja \
|
|
-S . \
|
|
-DBUILD_DOCS=OFF \
|
|
-DBUILD_WERROR=ON
|
|
ninja -C build
|
|
|
|
# skip autobuild
|
|
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|