summaryrefslogtreecommitdiffstats
path: root/system/wine/wine.SlackBuild
diff options
context:
space:
mode:
author David Woodfall2018-11-16 00:49:38 +0100
committer Willy Sudiarto Raharjo2018-11-17 12:42:59 +0100
commit0936dfca5bfa9ee9f9636197df23f31386e3e41f (patch)
treefce3bdc777a4c06212e79685009effb98d872710 /system/wine/wine.SlackBuild
parentcc6fd43f9c99c7c96bf6af68c74bca4252d09968 (diff)
downloadslackbuilds-0936dfca5bfa9ee9f9636197df23f31386e3e41f.tar.gz
system/wine: Update to 3.0.3
Diffstat (limited to 'system/wine/wine.SlackBuild')
-rw-r--r--system/wine/wine.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/system/wine/wine.SlackBuild b/system/wine/wine.SlackBuild
index 8967927c72..03ccb9bacc 100644
--- a/system/wine/wine.SlackBuild
+++ b/system/wine/wine.SlackBuild
@@ -24,17 +24,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wine
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+WIN32=${WIN32:-yes}
+WIN64=${WIN64:-no}
# If your video card does not support hardware accelerated OpenGL,
# then run the script like: OPENGL=NO ./wine.SlackBuild
-if [ "${OPENGL:-YES}" = "YES" ]; then
+if [ "${OPENGL:-yes}" = "yes" ]; then
do_opengl="with"
else
do_opengl="without"
@@ -48,7 +50,7 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ -n "$NOWIN32" ] && [ -z "$WIN64" ]; then
+if [ "$WIN32" = "no" ] && [ "$WIN64" = "no" ]; then
echo "Both 64 and 32 bit builds disabled. Nothing to do."
exit 1
fi
@@ -69,7 +71,6 @@ case "$ARCH" in
SLKCFLAGS="-Os -march=$ARCH -mtune=i686"
;;
x86_64)
- [ -n "$WIN64" ] && WIN64="--enable-win64"
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
;;
@@ -98,7 +99,7 @@ if [ "$ARCH" == "i?86" ]; then
patch -p1 --verbose < $CWD/x86_remove_fpic.patch
fi
-if [ -n "$WIN64" ]; then
+if [ "$WIN64" = "yes" ]; then
wine64="--with-wine64=../wine64"
mkdir wine64
cd wine64
@@ -107,12 +108,12 @@ if [ -n "$WIN64" ]; then
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure \
- --enable-win64 \
--prefix=/usr \
--libdir=/usr/lib64 \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
+ --enable-win64 \
--with-x \
--with-gnutls \
--${do_opengl}-opengl \
@@ -128,7 +129,7 @@ if [ -n "$WIN64" ]; then
fi
-if [ -z "$NOWIN32" ]; then
+if [ "$WIN32" = "yes" ]; then
mkdir wine32
cd wine32