mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 23:28:16 +03:00
dxvk: Give up building on debian
This commit is contained in:
parent
26b3dfa09a
commit
ecc023db90
@ -18,11 +18,17 @@ meson --prefix="$TOP"/dxvk/dist.$TYPE --cross-file build-$TYPE.txt build.$TYPE
|
||||
|
||||
cd build.$TYPE
|
||||
|
||||
meson configure -Dprefix="$TOP"/dxvk/dist.$TYPE
|
||||
meson configure -Dbuildtype=release
|
||||
meson configure -Dprefix="$TOP"/dxvk -Dbuildtype=release
|
||||
|
||||
ninja
|
||||
ninja install
|
||||
|
||||
#build on Arch Linux and deploy into git, see build_proton.sh
|
||||
mkdir -p "$TOP"/dxvk.$TYPE
|
||||
cp src/dxgi/dxgi.dll "$TOP"/dxvk.$TYPE/
|
||||
strip "$TOP"/dxvk.$TYPE/dxgi.dll
|
||||
cp src/d3d11/d3d11.dll "$TOP"/dxvk.$TYPE/
|
||||
strip "$TOP"/dxvk.$TYPE/d3d11.dll
|
||||
echo "build_dxvk: $TYPE build done"
|
||||
|
||||
#mark as built
|
||||
touch "$TOP"/dxvk/proton.$TYPE.built
|
||||
#touch "$TOP"/dxvk/proton.$TYPE.built
|
||||
|
@ -148,6 +148,14 @@ cp -a vrclient.dll.fake "$DST_DIR"/lib/wine/fakedlls/vrclient.dll
|
||||
|
||||
#build dxvk
|
||||
|
||||
#Debian 9 is too old to build dxvk, so I gave up and I'm building it on my Arch
|
||||
#Linux box and checking the binaries into Git instead. Blech. --aeikum
|
||||
cd "$TOP"
|
||||
cp "dxvk.win64/dxgi.dll" "$DST_DIR"/lib64/wine/dxvk/
|
||||
cp "dxvk.win64/d3d11.dll" "$DST_DIR"/lib64/wine/dxvk/
|
||||
cp "dxvk.win32/dxgi.dll" "$DST_DIR"/lib/wine/dxvk/
|
||||
cp "dxvk.win32/d3d11.dll" "$DST_DIR"/lib/wine/dxvk/
|
||||
|
||||
#unfortunately the Steam runtime chroot is too old to build dxvk, so
|
||||
#we have to build it in the host system
|
||||
|
||||
@ -156,21 +164,21 @@ cp -a vrclient.dll.fake "$DST_DIR"/lib/wine/fakedlls/vrclient.dll
|
||||
# update-alternatives --config i686-w64-mingw32-gcc
|
||||
# update-alternatives --config x86_64-w64-mingw32-g++
|
||||
# update-alternatives --config x86_64-w64-mingw32-gcc
|
||||
cd "$TOP"
|
||||
if [ ! -e dxvk/proton.win64.built ]; then
|
||||
PATH="$TOP"/glslang/bin/:"$PATH" bash ./build_dxvk.sh win64
|
||||
fi
|
||||
if [ ! -e dxvk/proton.win32.built ]; then
|
||||
PATH="$TOP"/glslang/bin/:"$PATH" bash ./build_dxvk.sh win32
|
||||
fi
|
||||
|
||||
mkdir -p "$DST_DIR"/lib/wine/dxvk
|
||||
cp -a dxvk/dist.win32/bin/dxgi.dll "$DST_DIR"/lib/wine/dxvk/
|
||||
cp -a dxvk/dist.win32/bin/d3d11.dll "$DST_DIR"/lib/wine/dxvk/
|
||||
|
||||
mkdir -p "$DST_DIR"/lib64/wine/dxvk
|
||||
cp -a dxvk/dist.win64/bin/dxgi.dll "$DST_DIR"/lib64/wine/dxvk/
|
||||
cp -a dxvk/dist.win64/bin/d3d11.dll "$DST_DIR"/lib64/wine/dxvk/
|
||||
#cd "$TOP"
|
||||
#if [ ! -e dxvk/proton.win64.built ]; then
|
||||
# PATH="$TOP"/glslang/bin/:"$PATH" bash ./build_dxvk.sh win64
|
||||
#fi
|
||||
#if [ ! -e dxvk/proton.win32.built ]; then
|
||||
# PATH="$TOP"/glslang/bin/:"$PATH" bash ./build_dxvk.sh win32
|
||||
#fi
|
||||
#
|
||||
#mkdir -p "$DST_DIR"/lib/wine/dxvk
|
||||
#cp -a dxvk/dist.win32/bin/dxgi.dll "$DST_DIR"/lib/wine/dxvk/
|
||||
#cp -a dxvk/dist.win32/bin/d3d11.dll "$DST_DIR"/lib/wine/dxvk/
|
||||
#
|
||||
#mkdir -p "$DST_DIR"/lib64/wine/dxvk
|
||||
#cp -a dxvk/dist.win64/bin/dxgi.dll "$DST_DIR"/lib64/wine/dxvk/
|
||||
#cp -a dxvk/dist.win64/bin/d3d11.dll "$DST_DIR"/lib64/wine/dxvk/
|
||||
|
||||
echo "Packaging..."
|
||||
cd "$TOP"
|
||||
|
Loading…
x
Reference in New Issue
Block a user