Skip to content

Commit

Permalink
Apply compilation fix on Proton Bleeding Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek authored Dec 1, 2023
1 parent 279caf1 commit 7f4b903
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 7f4b903

Please sign in to comment.