mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
630021fb05
commit
f76d32220a
7 changed files with 36 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
BIN
games/xroar/icons/22.png
Normal file
BIN
games/xroar/icons/22.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
games/xroar/icons/64.png
Normal file
BIN
games/xroar/icons/64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
|
@ -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@ |
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue