summaryrefslogtreecommitdiffstats
path: root/games/xroar
diff options
context:
space:
mode:
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
commitf76d32220a663c1655096a2f4dcadc1f6409e5d8 (patch)
treeb0c66013910564cdfeadcb34fd94a6b4efed7996 /games/xroar
parent630021fb05a23b80e53fcd8a37e5aa01c0325d43 (diff)
downloadslackbuilds-f76d32220a663c1655096a2f4dcadc1f6409e5d8.tar.gz
slackbuilds-f76d32220a663c1655096a2f4dcadc1f6409e5d8.tar.xz
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')
-rw-r--r--games/xroar/README8
-rw-r--r--games/xroar/README_SBo.txt19
-rw-r--r--games/xroar/icons/22.pngbin0 -> 1534 bytes
-rw-r--r--games/xroar/icons/64.pngbin0 -> 3866 bytes
-rw-r--r--games/xroar/slack-desc6
-rw-r--r--games/xroar/xroar.SlackBuild14
-rw-r--r--games/xroar/xroar.info6
7 files changed, 36 insertions, 17 deletions
diff --git a/games/xroar/README b/games/xroar/README
index 984eac16fd..35880e4f6a 100644
--- a/games/xroar/README
+++ b/games/xroar/README
@@ -1,9 +1,9 @@
xroar (emulator for 6809-based systems)
-XRoar is a Dragon emulator for Linux, Unix, Mac OS X, GP32, Nintendo
-DS and Windows. Due to hardware similarities, XRoar also emulates the
-Tandy Colour Computer (CoCo) models 1 & 2. For more information on the
-Dragon and CoCo computers, see:
+XRoar emulates the Dragon 32/64; Tandy Colour Computers 1, 2 and 3;
+the Tandy MC-10; and some other similar machines or clones. It runs
+on a wide variety of platforms. For more information on the Dragon and
+CoCo computers, see:
http://en.wikipedia.org/wiki/TRS-80_Color_Computer
http://archive.worldofdragon.org/index.php?title=Main_Page
diff --git a/games/xroar/README_SBo.txt b/games/xroar/README_SBo.txt
index ec19bf5505..0f685f6196 100644
--- a/games/xroar/README_SBo.txt
+++ b/games/xroar/README_SBo.txt
@@ -1,20 +1,31 @@
+xroar supports multiple audio systems and has two user interfaces,
+gtk2 (using gtkglext) and sdl2 (very bare-bones; no menus). By
+default, both UIs are built, as is support for PulseAudio and plain
+ALSA audio. For most users, these defaults are just fine. If you have
+different needs, read on.
+
Optional Dependencies
=====================
-jack - if you want to use JACK for audio output, install jack and set
+jack - If you want to use JACK for audio output, install jack and set
JACK=yes in the environment before building xroar. If JACK audio has
x-runs, try 'setcap cap_ipc_lock,cap_sys_nice=ep /usr/games/xroar'.
+ If you don't know what jack is, or why you might want to use it, then
+ you don't want it.
Environment Variables
=====================
+JACK - see above. Default: no.
+
GTKGLEXT - If you have gtkglext installed, but don't want to build
- xroar with it, export GTKGLEXT=no [1] [2].
+ xroar with it, export GTKGLEXT=no [1] [2]. Default: yes.
SDL2 - If you don't want to build xroar with SDL2, export SDL2=no [2].
- This will remove the "-ui sdl" option, which is probably of no
- consequence since the SDL user interface isn't very featureful.
+ This will remove the "-ui sdl" option, which is probably
+ of no consequence since the SDL user interface isn't very
+ featureful. Default: yes.
OSS - use OSS for audio? Default is "no", export OSS="yes" to enable.
Most users won't need this.
diff --git a/games/xroar/icons/22.png b/games/xroar/icons/22.png
new file mode 100644
index 0000000000..051b55aa8e
--- /dev/null
+++ b/games/xroar/icons/22.png
Binary files differ
diff --git a/games/xroar/icons/64.png b/games/xroar/icons/64.png
new file mode 100644
index 0000000000..fae6a8aecd
--- /dev/null
+++ b/games/xroar/icons/64.png
Binary files differ
diff --git a/games/xroar/slack-desc b/games/xroar/slack-desc
index 4a27a9c5ab..4b844ed3a6 100644
--- a/games/xroar/slack-desc
+++ b/games/xroar/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
xroar: xroar (emulator for 6809-based systems)
xroar:
-xroar: XRoar is a Dragon emulator for Linux, Unix, Mac OS X, GP32, Nintendo
-xroar: DS and Windows. Due to hardware similarities, XRoar also emulates
-xroar: the Tandy Colour Computer (CoCo) models 1 & 2.
+xroar: XRoar emulates the Dragon 32/64; Tandy Colour Computers 1, 2 and 3;
+xroar: the Tandy MC-10; and some other similar machines or clones. It runs
+xroar: on a wide variety of platforms.
xroar:
xroar: This package is built with:
xroar: GtkGLExt: @GTKGLEXT@ | SDL2: @SDL2@ |
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}
diff --git a/games/xroar/xroar.info b/games/xroar/xroar.info
index b8f605180b..3bd8c3c1b7 100644
--- a/games/xroar/xroar.info
+++ b/games/xroar/xroar.info
@@ -1,8 +1,8 @@
PRGNAM="xroar"
-VERSION="1.3.1"
+VERSION="1.4.2"
HOMEPAGE="https://www.6809.org.uk/dragon/xroar.shtml"
-DOWNLOAD="https://www.6809.org.uk/xroar/dl/xroar-1.3.1.tar.gz"
-MD5SUM="f63b6dbe67ad71644561d474889c7741"
+DOWNLOAD="https://www.6809.org.uk/xroar/dl/xroar-1.4.2.tar.gz"
+MD5SUM="f9a52d80e1bd7264e9cfaa1891a05b2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtkglext xroar-roms"