diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-12 16:55:47 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-15 17:30:14 +0700 |
commit | b6241c626e85eb34239ba0592132bfd66d272d70 (patch) | |
tree | 10c0ded62fe24a0b0dc414df0dde17a1e36ecc0a /games/xu4/xu4.SlackBuild | |
parent | 886084e3f79d96d38e553ccfff343553f40744bf (diff) |
games/xu4: Updated for version 1.3.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xu4/xu4.SlackBuild')
-rw-r--r-- | games/xu4/xu4.SlackBuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/games/xu4/xu4.SlackBuild b/games/xu4/xu4.SlackBuild index 97519e845b14d..d33624541932f 100644 --- a/games/xu4/xu4.SlackBuild +++ b/games/xu4/xu4.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230712 bkw: update for v1.3. + # 20230112 bkw: update for v1.2.1, after ~9 years there's a release! # - no more disable_alt_x.diff, it works properly now. # - always include the upgrade (u4upgrad.zip), since upstream does. @@ -27,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xu4 -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,16 +54,12 @@ OUTPUT=${OUTPUT:-/tmp} # LIBDIRSUFFIX isn't actually used for 1.2.1 if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -79,12 +77,6 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # If we didn't supply this file, 'make install' would try to download it. cat $CWD/u4upgrad.zip > u4upgrad.zip -# The xu4 source on the homepage (sourceforge) is missing a commit -# that's in the 1.2.1 tag on github, which makes it fail to compile. -# I could use the github source, but it doesn't include src/glv. -# Easier to just apply the github commit to the sf tarball. -patch -p1 < $CWD/really_1.2.1.diff - # Fix path to "profiles/" dir used by -p option. Patch makes it use # ~/.config/xu4/profiles/ rather than ./profiles off the current dir. patch -p1 < $CWD/profile_path.diff |