mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
games/gzdoom-legacy: Fix window title.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
af6e84dac2
commit
0ce644acc4
1 changed files with 7 additions and 7 deletions
|
@ -6,6 +6,9 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20200426 bkw:
|
||||
# - Fix <unknown version> in window title for real this time, BUILD=2.
|
||||
|
||||
# 20170610 bkw:
|
||||
# - Renamed to gzdoom-legacy. Too much effort to keep testing old
|
||||
# gzdoom versions every time there's a new release, so the regular
|
||||
|
@ -33,7 +36,7 @@
|
|||
PRGNAM=gzdoom-legacy
|
||||
SRCNAM=gzdoom
|
||||
VERSION=${VERSION:-2.4.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -75,11 +78,8 @@ tar xvf $CWD/$SRCNAM-g$VERSION.tar.gz || \
|
|||
tar xvf $CWD/$VERSION.tar.gz
|
||||
cd $SRCNAM-g$VERSION || cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \+ -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \+
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
# fmodapi support tries to find its lib in the current dir, fix it:
|
||||
sed -i \
|
||||
|
@ -95,7 +95,7 @@ patch -p1 < $CWD/window_title_version.diff
|
|||
|
||||
# Sometimes upstream forgets to bump the version number, so the window
|
||||
# title will read 1.8.08 for version 1.8.09, eg.
|
||||
sed -i "/#define *VERSIONSTR/s,\"[^\"]*\",\"$VERSION\"," src/version.h
|
||||
sed -i "/#define *VERSIONSTR/s,[^ ]*$,\"$VERSION\"," src/version.h
|
||||
|
||||
# This isn't currently used, but was in the past, and will be again I'm sure.
|
||||
[ -e $CWD/compilefix.$VERSION.diff ] && \
|
||||
|
|
Loading…
Reference in a new issue