1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/emulators/i386-wine/files/binbounce
Alexander Vereeken 49245cca0f emulators/i386-wine: Update to 6.0.1
This release represents a year of development effort and over 8,300
individual changes. It contains a large number of improvements that
are listed in the release notes below. The areas of major changes are:

  - Core modules in PE format.
  - Vulkan backend for WineD3D.
  - DirectShow and Media Foundation support.
  - Text console redesign.

Changes from 6.0.1

  - Various bug fixes
  - Add support for wine64 on Apple M1
  - Translation updates
  - Documentation updates

Announce: https://www.winehq.org/announce/6.0.1

PR:		257252
2021-07-19 12:10:20 -07:00

27 lines
745 B
Bash

#!/bin/sh
# Workaround for https://bugs.winehq.org/show_bug.cgi?id=50257
export LD_32_BIND_NOW=1
TARGET="`realpath $0`"
LOCALBASE=${TARGET%/*}/..
BINNAME=${TARGET##*/}
if [ -z "$__BINBOUNCE_BOOTSTRAP" ]
then
export LIBGL_DRIVERS_PATH=$LOCALBASE/lib32/dri
if [ `uname -p` = i386 ]
then
export LD_LIBRARY_PATH="$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD_LIBRARY_PATH":"$LOCALBASE/lib32/.libGL"
export LD_LIBRARY_PATH_RPATH=y
else
export LD_32_LIBRARY_PATH="$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD_32_LIBRARY_PATH":"$LOCALBASE/lib32/.libGL":/usr/lib32
export LD_32_LIBRARY_PATH_RPATH=y
fi
export PATH="$LOCALBASE/bin32":"$PATH"
export __BINBOUNCE_BOOTSTRAP="1"
fi
exec "$LOCALBASE/bin32/$BINNAME" "$@"