system/wine: Update to 3.0.3

This commit is contained in:
David Woodfall 2018-11-15 23:49:38 +00:00 committed by Willy Sudiarto Raharjo
parent cc6fd43f9c
commit 0936dfca5b
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 44 additions and 40 deletions

View file

@ -1,68 +1,71 @@
Wine is an Open Source implementation of the Windows API on top of X Wine is an Open Source implementation of the Windows API on
for Linux and Unix. top of X for Linux and Unix.
NOTE: This builds the stable version of wine. If you need NOTE: This builds the stable version of wine. If you need
cutting-edge then you may want to check out wine-staging. cutting-edge then you may want to check out wine-staging.
Options:
With no options this SlackBuild will build the 32bit wine package, OPTIONS
for which you need to have multilib installed (see below).
To build a package for both 64bit and 32bit Windows executable With no options this SlackBuild will build a 32 bit package,
support, use: for which you need to have multilib installed.
WIN64=yes ./wine.SlackBuild To enable 64 bit support use:
WIN64=yes ./wine.SlackBuild
To disable win32 support, use: To disable win32 support, use:
NOWIN32=yes ./wine.SlackBuild WIN32=no ./wine.SlackBuild
Or combine them both to build only a 64bit wine package.
To disable OpenGL support, use: To disable OpenGL support, use:
OPENGL=no ./wine.SlackBuild OPENGL=no ./wine.SlackBuild
The above options can be combined. The above options can be combined.
Optional dependencies:
OPTIONAL DEPENDENCIES
fontforge: fontforge:
(to build tahoma, tahomabd, and marlett fonts)
To build tahoma, tahomabd, and marlett fonts.
webcore-fonts: webcore-fonts:
(for tahoma, lucida console, MS fonts for the web and Win Vista)
==================================================================== For tahoma, lucida console, MS fonts for the web and Win
Vista.
============================================================
NOTES NOTES
With 64bit support you would use the wine64 binary. If you have a With 64 bit support you would use the wine64 binary. If you
combined 32 and 64bit package you need to set the environmental have a combined 32 and 64 bit package you need to set the
variable WINEPREFIX to point to the 64bit wine directory when running environmental variable WINEPREFIX to point to the 64 bit
wine64, which should be different to the 32bit directory (~/.wine by wine directory when running wine64, which should be
default). Example: different to the 32 bit directory (~/.wine by default).
Example:
WINEPREFIX=~/.wine64 wine64 notepad WINEPREFIX=~/.wine64 wine64 notepad
To build the 32bit wine on x86_64 you will need to have multilib To build the 32 bit wine on x86_64 you will need to have
packages installed, unless you want to build for Windows 64 bit multilib packages installed, unless you want to build for
applications only (using WIN64=yes NOWIN32=yes). Windows 64 bit applications only (using WIN64=yes WIN32=no.)
AlienBOB's multilib readme and repo: AlienBOB's multilib readme and repo:
https://docs.slackware.com/slackware:multilib https://docs.slackware.com/slackware:multilib
http://www.slackware.com/~alien/multilib/ http://www.slackware.com/~alien/multilib/
I have made a script that rsyncs with alienBOB's repo and installs I have a script that rsyncs with alienBOB's repo and
the multilib packages which can be found here: installs the multilib packages which can be found here:
http://dawoodfall.net/files/scripts/slackware/alien-multilib-rysnc.sh http://dawoodfall.net/files/scripts/slackware/alien-multilib-rysnc.sh
Be sure to read the short instructions at the top. If you use Be sure to read the short instructions at the top. If you
slackpkg then you will also want to blacklist his packages in use slackpkg then you will also want to blacklist his
/etc/slackpkg/blacklist: packages in /etc/slackpkg/blacklist:
[0-9]+alien [0-9]+alien
[0-9]+compat32 [0-9]+compat32

View file

@ -24,17 +24,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wine PRGNAM=wine
VERSION=${VERSION:-3.0.2} VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
WIN32=${WIN32:-yes}
WIN64=${WIN64:-no}
# If your video card does not support hardware accelerated OpenGL, # If your video card does not support hardware accelerated OpenGL,
# then run the script like: OPENGL=NO ./wine.SlackBuild # then run the script like: OPENGL=NO ./wine.SlackBuild
if [ "${OPENGL:-YES}" = "YES" ]; then if [ "${OPENGL:-yes}" = "yes" ]; then
do_opengl="with" do_opengl="with"
else else
do_opengl="without" do_opengl="without"
@ -48,7 +50,7 @@ if [ -z "$ARCH" ]; then
esac esac
fi fi
if [ -n "$NOWIN32" ] && [ -z "$WIN64" ]; then if [ "$WIN32" = "no" ] && [ "$WIN64" = "no" ]; then
echo "Both 64 and 32 bit builds disabled. Nothing to do." echo "Both 64 and 32 bit builds disabled. Nothing to do."
exit 1 exit 1
fi fi
@ -69,7 +71,6 @@ case "$ARCH" in
SLKCFLAGS="-Os -march=$ARCH -mtune=i686" SLKCFLAGS="-Os -march=$ARCH -mtune=i686"
;; ;;
x86_64) x86_64)
[ -n "$WIN64" ] && WIN64="--enable-win64"
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64" LIBDIRSUFFIX="64"
;; ;;
@ -98,7 +99,7 @@ if [ "$ARCH" == "i?86" ]; then
patch -p1 --verbose < $CWD/x86_remove_fpic.patch patch -p1 --verbose < $CWD/x86_remove_fpic.patch
fi fi
if [ -n "$WIN64" ]; then if [ "$WIN64" = "yes" ]; then
wine64="--with-wine64=../wine64" wine64="--with-wine64=../wine64"
mkdir wine64 mkdir wine64
cd wine64 cd wine64
@ -107,12 +108,12 @@ if [ -n "$WIN64" ]; then
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
../configure \ ../configure \
--enable-win64 \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib64 \ --libdir=/usr/lib64 \
--localstatedir=/var \ --localstatedir=/var \
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/man \ --mandir=/usr/man \
--enable-win64 \
--with-x \ --with-x \
--with-gnutls \ --with-gnutls \
--${do_opengl}-opengl \ --${do_opengl}-opengl \
@ -128,7 +129,7 @@ if [ -n "$WIN64" ]; then
fi fi
if [ -z "$NOWIN32" ]; then if [ "$WIN32" = "yes" ]; then
mkdir wine32 mkdir wine32
cd wine32 cd wine32

View file

@ -1,8 +1,8 @@
PRGNAM="wine" PRGNAM="wine"
VERSION="3.0.2" VERSION="3.0.3"
HOMEPAGE="http://www.winehq.com/" HOMEPAGE="http://www.winehq.com/"
DOWNLOAD="https://dl.winehq.org/wine/source/3.0/wine-3.0.2.tar.xz" DOWNLOAD="https://dl.winehq.org/wine/source/3.0/wine-3.0.3.tar.xz"
MD5SUM="d17925891ce5365b185dc82e6f23c75f" MD5SUM="dd46aa7d44bb975948f49bbb53f5521e"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""