mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-07 15:08:07 +01:00
build_proton: Build Wine with MoltenVK
This commit is contained in:
parent
3769563d12
commit
98d4ab35f1
1 changed files with 14 additions and 0 deletions
|
|
@ -184,6 +184,18 @@ build_libSDL()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_moltenvk()
|
||||||
|
{
|
||||||
|
#requires Xcode >= 9
|
||||||
|
cd "$TOP"/MoltenVK/
|
||||||
|
./fetchDependencies
|
||||||
|
xcodebuild -scheme 'MoltenVK (Release)' build
|
||||||
|
|
||||||
|
cp -a Package/Release/MoltenVK/include/* "$TOOLS_DIR64"/include/
|
||||||
|
cp -a Package/Release/MoltenVK/macOS/libMoltenVK.dylib "$TOOLS_DIR64"/lib/
|
||||||
|
cp -a Package/Release/MoltenVK/macOS/libMoltenVK.dylib "$DST_DIR"/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
if [ "$PLATFORM" == "Darwin" ]; then
|
if [ "$PLATFORM" == "Darwin" ]; then
|
||||||
STRIP='strip -x'
|
STRIP='strip -x'
|
||||||
else
|
else
|
||||||
|
|
@ -288,6 +300,8 @@ if [ "$PLATFORM" == "Darwin" ]; then
|
||||||
build_openal
|
build_openal
|
||||||
|
|
||||||
build_libSDL
|
build_libSDL
|
||||||
|
|
||||||
|
build_moltenvk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function build_wine64
|
function build_wine64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue