From 7f4b903f48c69f856f0b81569196e5d4686da500 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Fri, 1 Dec 2023 11:13:02 +0300 Subject: [PATCH] Apply compilation fix on Proton Bleeding Edge --- build_wine.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_wine.sh b/build_wine.sh index 2518311..778387a 100755 --- a/build_wine.sh +++ b/build_wine.sh @@ -35,7 +35,7 @@ export WINE_BRANCH="${WINE_BRANCH:-staging}" # Available proton branches: proton_3.7, proton_3.16, proton_4.2, proton_4.11 # proton_5.0, proton_5.13, experimental_5.13, proton_6.3, experimental_6.3 -# proton_7.0, experimental_7.0, proton_8.0, experimental_8.0 +# proton_7.0, experimental_7.0, proton_8.0, experimental_8.0, bleeding-edge # Leave empty to use the default branch. export PROTON_BRANCH="${PROTON_BRANCH:-proton_8.0}" @@ -231,12 +231,12 @@ elif [ "$WINE_BRANCH" = "proton" ]; then git clone https://github.com/ValveSoftware/wine -b "${PROTON_BRANCH}" fi - if [ "${PROTON_BRANCH}" = "experimental_8.0" ]; then + if [ "${PROTON_BRANCH}" = "experimental_8.0" ] || [ "${PROTON_BRANCH}" = "bleeding-edge" ]; then patch -d wine -Np1 < "${scriptdir}"/proton-exp-8.0.patch fi WINE_VERSION="$(cat wine/VERSION | tail -c +14)-$(git -C wine rev-parse --short HEAD)" - if [[ "${PROTON_BRANCH}" == "experimental_"* ]]; then + if [[ "${PROTON_BRANCH}" == "experimental_"* ]] || [ "${PROTON_BRANCH}" = "bleeding-edge" ]; then BUILD_NAME=proton-exp-"${WINE_VERSION}" else BUILD_NAME=proton-"${WINE_VERSION}"