diff options
Diffstat (limited to 'system/wine/wine.SlackBuild')
-rw-r--r-- | system/wine/wine.SlackBuild | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/system/wine/wine.SlackBuild b/system/wine/wine.SlackBuild index ad0e3607745b4..13c6a76c1276f 100644 --- a/system/wine/wine.SlackBuild +++ b/system/wine/wine.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wine -# Copyright 2011 David Woodfall +# Copyright 2011- David Woodfall # All rights reserved. # Uses patches supplied by Robby Workman's previous slackbuild. @@ -24,10 +24,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wine -VERSION=${VERSION:-1.4.1} +VERSION=${VERSION:-1.5.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -50,8 +49,8 @@ IEFIX=${IEFIX:-NO} # the run the script like: OPENGL=NO ./wine.SlackBuild OPENGL=${OPENGL:-YES} -# Apply DIB patch. -DIB=${DIB:-NO} +# Apply LOTRO patch. +LOTRO=${LOTRO:-NO} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -61,7 +60,7 @@ elif [ "$ARCH" = "i686" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + LIBDIRSUFFIX="" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -94,16 +93,10 @@ if [ "$OPENGL" = "YES" ]; then do_opengl="without" fi -# If DIB=YES then apply DIB patches. -if [ "$DIB" = "YES" ]; then - mkdir dib - cd dib - unzip $CWD/dibeng-max-2010-11-12.zip - cd .. - for i in $(grep dib dib/series); do - patch -p1 < dib/$i - done - autoconf +# Thanks to Branden for supplying the patch +# If LOTRO = YES above, then apply the patch +if [ "$LOTRO" = "YES" ]; then + patch -p1 --verbose < $CWD/LOTRO.patch fi # All of the libraries produced are 32bit libs anyway |