diff options
author | Steven Voges | 2023-10-21 01:50:34 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2023-10-28 08:11:49 +0200 |
commit | 21e56c3d4db2f5859b090f04068a70665c7b0a05 (patch) | |
tree | 5dd254157f16ee0a93f0d7f9ad5aeae3ed09b9f8 /system/wine-staging/wine-staging.SlackBuild | |
parent | 2ab56cfd10ffc0d7045cadade1b95266bd539c89 (diff) | |
download | slackbuilds-21e56c3d4db2f5859b090f04068a70665c7b0a05.tar.gz |
system/wine-staging: Updated for version 8.18.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/wine-staging/wine-staging.SlackBuild')
-rw-r--r-- | system/wine-staging/wine-staging.SlackBuild | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/system/wine-staging/wine-staging.SlackBuild b/system/wine-staging/wine-staging.SlackBuild index 3c4e7b2e0b..c77e6fda48 100644 --- a/system/wine-staging/wine-staging.SlackBuild +++ b/system/wine-staging/wine-staging.SlackBuild @@ -2,7 +2,8 @@ # # Slackware build script for wine-staging. # -# Copyright 2016-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2023 Steven Voges <Oregon, USA> +# Copyright 2016-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil. # Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com> # # All rights reserved. @@ -29,13 +30,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Now maintained by Dave Woodfall <dave@slackbuilds.org> - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wine-staging -VERSION=${VERSION:-8.8} -# This ought to work (madcap laughter) +VERSION=${VERSION:-8.18} WINEVERSION=${WINEVERSION:-$VERSION} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,28 +51,18 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi -# If your video card does not support hardware accelerated OpenGL, -# run the script like: OPENGL=NO ./wine.SlackBuild - -# Make lowercase OPENGL=${OPENGL@L} - if [ "${OPENGL:-yes}" = "yes" ]; then do_opengl="with" else do_opengl="without" fi -# Find which ARCHs to build for -# Make lowercase WINE32=${WINE32@L} WINE64=${WINE64@L} WINETMP="$( mktemp -d $TMP/wine-test-XXXXXX )" @@ -88,10 +76,8 @@ if [ "${WINE32:-no}${WINE64:-no}" = "nono" ]; then exit 1 fi -# These should work for anything not specified below BUILD_ARCH="$ARCH-slackware-linux" SLKCFLAGS="-O2" - case "$ARCH" in arm) BUILD_ARCH="$ARCH-slackware-linux-gnueabi" @@ -128,7 +114,6 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cd $TMP/wine-$WINEVERSION -# the old patchinstall.sh has been replaced python3 $TMP/$PRGNAM-$VERSION/staging/patchinstall.py --all chown -R root:root . find -L . \ @@ -139,8 +124,7 @@ find -L . \ # Fix for flex. patch -p1 --verbose < $CWD/0001-winhlp32-Workaround-a-bug-in-Flex.patch - -# fix path of opencl headers. +# Fix path of opencl headers. sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i configure* if [ "$WINE64" = "yes" ]; then @@ -165,7 +149,6 @@ if [ "$WINE64" = "yes" ]; then --program-suffix= \ --disable-tests \ --build=$BUILD_ARCH - make depend make make install DESTDIR=$PKG @@ -195,7 +178,6 @@ if [ "$WINE32" = "yes" ]; then --program-suffix= \ --disable-tests \ --build=$BUILD_ARCH - make depend make make install DESTDIR=$PKG |