summaryrefslogtreecommitdiffstats
path: root/wine
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-09-24 18:56:28 +0000
committer Eric Hameleers <alien@slackware.com>2020-09-24 18:56:28 +0000
commita11bfe0aab55f37052100f6f2c0f00bfdc38f4d1 (patch)
tree8b87749ea1c32717e1f206005c7f8b98f0a095df /wine
parent20cd2eedba64f709af6b09e629a96d236f448f6b (diff)
downloadasb-a11bfe0aab55f37052100f6f2c0f00bfdc38f4d1.tar.gz
asb-a11bfe0aab55f37052100f6f2c0f00bfdc38f4d1.tar.xz
wine: update to 5.17.
Enable PE build using MinGW-w64.
Diffstat (limited to 'wine')
-rwxr-xr-xwine/build/wine.SlackBuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/wine/build/wine.SlackBuild b/wine/build/wine.SlackBuild
index 3081f359..9fb8d40f 100755
--- a/wine/build/wine.SlackBuild
+++ b/wine/build/wine.SlackBuild
@@ -28,8 +28,10 @@
# Descr: Wine Is Not an Emulator
# URL: http://winehq.com/
# http://wine-staging.com/
-# Needs: OpenAL
+# Buildneeds:MinGW-w64
# fontforge (builds better fonts when compiling wine)
+# Needs: (Slackware 14.2:) OpenAL
+# FAudio
# Changelog:
# 0.9.23-1: 24/Oct/2006 by Eric Hameleers <alien@slackware.com>
# * Initial build.
@@ -126,6 +128,8 @@
# * Update.
# 5.6-1 20/apr/2020 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 5.17-1 25/sep/2020 by Eric Hameleers <alien@slackware.com>
+# * Update. Add Windows PE binary support using mingw-w64.
#
# Run 'sh wine.SlackBuild' to build a Slackware package.
# The package (.txz) plus descriptive .txt file are created in /tmp .
@@ -135,7 +139,7 @@
PRGNAM=wine
-SRCVER=${SRCVER:-"5.6"}
+SRCVER=${SRCVER:-"5.17"}
VERSION=$(echo $SRCVER | tr '-' '.')
VERMAJ=$(echo $VERSION | cut -d. -f1)
BUILD=${BUILD:-1}
@@ -155,7 +159,7 @@ GECKO=${GECKO:-2.47.1}
# In a 64 bit wineprefix, substitute wine64 for wine in the above command.
# If you do not want to add mono, define MONO=NO instead of a number.
# See https://wiki.winehq.org/Mono
-MONO=${MONO:-5.0.0}
+MONO=${MONO:-5.1.0}
DOCS="ANNOUNCE AUTHORS COPYING.LIB ChangeLog LICENSE* README VERSION"
@@ -462,11 +466,12 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
# Add a package description:
mkdir -p $PKG/install
cat $SRCDIR/slack-desc > $PKG/install/slack-desc
-if [ -f $SRCDIR/doinst.sh ]; then
- cat $SRCDIR/doinst.sh >> $PKG/install/doinst.sh
-fi
-if [ -f $SRCDIR/slack-required ]; then
- cat $SRCDIR/slack-required > $PKG/install/slack-required
+cat $SRCDIR/slack-required > $PKG/install/slack-required
+# In Slackware 14.2+, openal-soft was added so OpenAL is no longer a dep:
+if [ -z "$(grep ^[^+]*$ /etc/slackware-version)" ] || [ $(cat /etc/slackware-version |cut -d' ' -f2 |cut -d. -f1) -gt 14 ];
+ then
+ sed -i $PKG/install/slack-required -e "/OpenAL/d"
+ fi
fi
# Build the package: