diff options
Diffstat (limited to 'games/xroar/xroar.SlackBuild')
-rw-r--r-- | games/xroar/xroar.SlackBuild | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild index f4bd852f12..422b078b3d 100644 --- a/games/xroar/xroar.SlackBuild +++ b/games/xroar/xroar.SlackBuild @@ -2,10 +2,20 @@ # Slackware build script for xroar -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240314 bkw: update for 1.5.4 +# 20240216 bkw: update for 1.5.3 +# 20230907 bkw: update for 1.4.2 +# - add 22x22 and 64x64 icons. +# - reword README and slack-desc (use text from the man page). + +# 20230308 bkw: BUILD=2, de-uglify douninst.sh. +# 20230214 bkw: update for 1.3.1 +# 20230109 bkw: update for 1.3 + # 20211015 bkw: # - update for 0.37.1 # - new-style icons @@ -22,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xroar -VERSION=${VERSION:-0.37.1} +VERSION=${VERSION:-1.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -126,7 +136,10 @@ strip $PKG/usr/games/$PRGNAM # reset these for use in the slack-desc SDL2=no; JACK=no; GTKGLEXT=no; PULSE=no; OSS=no -# actually examine the binary to figure out build options. +# actually examine the binary to figure out build options. this may +# seem like overkill, but it's very handy when updating to new xroar +# versions (if the slack-desc doesn't match the environment, something +# has changed in xroar and this script needs fixing). ldd $PKG/usr/games/$PRGNAM > ldd.tmp grep -q libSDL2 ldd.tmp && SDL2=yes grep -q libjack ldd.tmp && JACK=yes @@ -153,6 +166,7 @@ mkdir -p $PKG/usr/share/xroar/roms # as a 32x32 PNG, which is smaller than a postage stamp on most # modern displays and doesn't scale up nicely. Besides which, these # are upstream's official icons. +# 20230907 bkw: added 22x22 and 64x64 icons. for i in $CWD/icons/*.png; do px=$( basename $i | cut -d. -f1 ) size=${px}x${px} |