Skip to content

Commit

Permalink
8.21 support + fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NelloKudo committed Nov 27, 2023
1 parent 555d6b9 commit e7adfff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions build_wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export WINE_BRANCH=""
# Custom path for Wine source
export CUSTOM_WINE_SOURCE=""

# Switch to also build only-x86 Wine (already bundled in 64-bit tho!)
# Switch to also package x86-Wine
export BUILD_X86="false"

# Available proton branches: proton_3.7, proton_3.16, proton_4.2, proton_4.11
Expand Down Expand Up @@ -398,13 +398,11 @@ export CXXFLAGS="${CFLAGS_X32}"
export CROSSCFLAGS="${CROSSCFLAGS_X32}"
export CROSSCXXFLAGS="${CROSSCFLAGS_X32}"

if [ ${BUILD_X86} == "true" ]; then
mkdir "${BUILD_DIR}"/build32-tools
cd "${BUILD_DIR}"/build32-tools
PKG_CONFIG_LIBDIR=/usr/lib/i386-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig ${BWRAP32} "${BUILD_DIR}"/wine/configure ${WINE_BUILD_OPTIONS} --prefix "${BUILD_DIR}"/wine-${BUILD_NAME}-x86
${BWRAP32} make -j$(nproc)
${BWRAP32} make install
fi
mkdir "${BUILD_DIR}"/build32-tools
cd "${BUILD_DIR}"/build32-tools
PKG_CONFIG_LIBDIR=/usr/lib/i386-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig ${BWRAP32} "${BUILD_DIR}"/wine/configure ${WINE_BUILD_OPTIONS} --prefix "${BUILD_DIR}"/wine-${BUILD_NAME}-x86
${BWRAP32} make -j$(nproc)
${BWRAP32} make install

export CFLAGS="${CFLAGS_X64}"
export CXXFLAGS="${CFLAGS_X64}"
Expand Down
Binary file modified osu-misc/audio-revert.tar
Binary file not shown.
Binary file added osu-misc/patchsets/8.21-patchset.tar
Binary file not shown.

0 comments on commit e7adfff

Please sign in to comment.