diff options
author | B. Watson <urchlay@slackware.uk> | 2023-09-07 16:29:14 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-09 10:14:22 +0700 |
commit | f76d32220a663c1655096a2f4dcadc1f6409e5d8 (patch) | |
tree | b0c66013910564cdfeadcb34fd94a6b4efed7996 /games/xroar/xroar.SlackBuild | |
parent | 630021fb05a23b80e53fcd8a37e5aa01c0325d43 (diff) |
games/xroar: Updated for version 1.4.2.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xroar/xroar.SlackBuild')
-rw-r--r-- | games/xroar/xroar.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild index f7b8494627..74ce14958b 100644 --- a/games/xroar/xroar.SlackBuild +++ b/games/xroar/xroar.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 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 @@ -26,8 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xroar -VERSION=${VERSION:-1.3.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.4.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -130,7 +134,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 @@ -157,6 +164,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} |