Wine is a program which allows running Microsoft Windows programs
(including DOS, Windows 3.x, Win32, and Win64 executables) on Unix.
It consists of a program loader which loads and executes a Microsoft
Windows binary, and a library (called Winelib) that implements Windows
API calls using their Unix, X11 or Mac equivalents. The library may
also be used for porting Windows code into native Unix executables.
WARNING:
* Since multiple different wine versions can be installed at once only
use installpkg(8) and removepkg(8), do not use upgradepkg(8).
* Do not install when other wine packages created by other scripts are
installed.
To enable 32 or 64 bit support use:
WIN32=yes ./wine.SlackBuild
WIN64=yes ./wine.SlackBuild
To disable 32 or 64 bit support use:
WIN32=no ./wine.SlackBuild
WIN64=no ./wine.SlackBuild
On x86_64 platforms 64 bit support will be enabled and 32 bit support
will be disabled, if multilib is installed both 32 and 64 bit support
will be enabled and elsewhere only 32 bit support will be enabled.
All wine versions will be installed to /opt/ and will have distinct
package names and installation directories that do not conflict.
* 32 bit builds will be named 'wine32'.
* 64 bit builds will be named 'wine64'.
* Builds with both 32 and 64 bit support will be named 'wine'.
* Staging builds will append '-staging' to the name.
* Debug builds will append '-debug' to the name.
To select the default wine version as root use:
./wine_select.sh
Then type the number that corresponds to the desired wine install. This
will symlink all the files in the chosen wine install to the '/usr/'
directory and may take some time given the large number of library
files.
The full list of symlinks installed can be found at:
/var/lib/wine/default
Otherwise use full paths for the desired wine version.
To undo this process and remove all of the symlinks use:
./wine_select.sh --uninstall
OPTIONS:
To enable debugging symbols use:
DEBUG=yes ./wine.SlackBuild
To enable cups use:
CUPS=yes ./wine.SlackBuild
To enable dbus use:
DBUS=yes ./wine.SlackBuld
To enable gstreamer use:
GSTREAMER=yes ./wine.SlackBuild
To disable OpenGL use:
OPENGL=no ./wine.SlackBuild
To disable Vulkan use:
VULKAN=no ./wine.SlackBuild
To enable wine-staging use:
STAGING=yes ./wine.SlackBuild
To enable GTK+3 when wine-staging is enabled use:
GTK3=yes ./wine.SlackBuild