aboutsummaryrefslogtreecommitdiff
path: root/games/clksignal
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-14 01:04:00 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-21 10:22:08 +0700
commitb4deea37c8261d466d81621b463f8960816101e4 (patch)
treefdaee75de0c42f4bbcfd63f0162ce7e3ba17bf09 /games/clksignal
parent77306bef5df4974b51f2a46d6fefe44801e76038 (diff)
games/clksignal: Updated for version 20221125.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/clksignal')
-rw-r--r--games/clksignal/README3
-rw-r--r--games/clksignal/clksignal.SlackBuild17
-rw-r--r--games/clksignal/clksignal.info6
-rw-r--r--games/clksignal/slack-desc2
4 files changed, 19 insertions, 9 deletions
diff --git a/games/clksignal/README b/games/clksignal/README
index 8ad1d233f73cd..84f393a0fb588 100644
--- a/games/clksignal/README
+++ b/games/clksignal/README
@@ -4,7 +4,7 @@ CLK, also known as Clock Signal, is an emulator for tourists that
seeks to be invisible. Users directly launch classic software with no
emulator or per-emulated-machine learning curve.
-It currently emulates the Acorn Electron, Amstrad CPC, Apple
+It currently emulates the Acorn Electron, Amstrad CPC, Amiga, Apple
II/II+/IIe, Atari 2600, Atari ST, ColecoVision, Commodore VIC-20,
Enterprise 64/128, 512K Mac/Mac+, MSX-1, Oric/Atmos, Sega Master
System, Sinclair ZX81/81, and Sinclair ZX Spectrum.
@@ -21,6 +21,7 @@ it.
Notes:
- clksignal requires ROM images for most of the systems it emulates.
+ Install clksignal-roms to get a "starter" set of ROM images.
When an image is missing, it will tell you the name, size, and
CRC of the image, so you can go search for it on the web.
diff --git a/games/clksignal/clksignal.SlackBuild b/games/clksignal/clksignal.SlackBuild
index eb79e2a899ced..8195fade7014b 100644
--- a/games/clksignal/clksignal.SlackBuild
+++ b/games/clksignal/clksignal.SlackBuild
@@ -6,12 +6,19 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230114 bkw: updated for v20221125.
+# - fix my typo that prevented the qt5 UI from being built.
+# - rename ROM dir AppleIIGS => AppleIIgs (the latter is hardcoded
+# in the emulator binary).
+# - make PRINT_PACKAGE_NAME work.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=clksignal
-VERSION=${VERSION:-20211219}
+VERSION=${VERSION:-20221125}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=CLK
SRCVER="$( echo $VERSION | sed 's,^\(....\)\(..\)\(..\),\1\-\2-\3,' )"
@@ -62,7 +69,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
mkdir -p $PKG/usr/games $PKG/usr/man/man6 $PKG/usr/share/applications
# Qt5 user interface is optional.
-if [ "{QT:-yes}" = "yes" ]; then
+if [ "${QT:-yes}" = "yes" ]; then
cd OSBindings/Qt
qmake-qt5
make
@@ -83,8 +90,10 @@ THLINE=".TH $PRGNAM 6 \\\"$SRCVER\\\" \\\"$VERSION\\\" \\\"SlackBuilds.org\\\""
sed '/^\.TH/s,.*,'"$THLINE"',' Packaging/templates/$PRGNAM.1.j2 | \
gzip -9c > $PKG/usr/man/man6/$PRGNAM.6.gz
-# there actually are a few ROMs in here, plus lots of readme.txt
+# there actually are a few ROMs in here, plus lots of readme.txt.
+# one dir has the wrong capitalization.
mkdir -p $PKG/usr/share/$SRCNAM
+mv ROMImages/AppleIIGS ROMImages/AppleIIgs
cp -a ROMImages/* $PKG/usr/share/$SRCNAM
MACICONS="OSBindings/Mac/Clock Signal/Assets.xcassets/AppIcon.appiconset/"
@@ -120,4 +129,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/clksignal/clksignal.info b/games/clksignal/clksignal.info
index ac348f4e151e3..7a7599721add3 100644
--- a/games/clksignal/clksignal.info
+++ b/games/clksignal/clksignal.info
@@ -1,8 +1,8 @@
PRGNAM="clksignal"
-VERSION="20211219"
+VERSION="20221125"
HOMEPAGE="https://github.com/TomHarte/CLK"
-DOWNLOAD="https://github.com/TomHarte/CLK/archive/2021-12-19/CLK-2021-12-19.tar.gz"
-MD5SUM="76cc593607574ee77fda180ec3cbcd68"
+DOWNLOAD="https://github.com/TomHarte/CLK/archive/2022-11-25/CLK-2022-11-25.tar.gz"
+MD5SUM="ef3b7ac1672830d69bfb4286d476fd67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/clksignal/slack-desc b/games/clksignal/slack-desc
index a947ca41261b6..fdfcb73423797 100644
--- a/games/clksignal/slack-desc
+++ b/games/clksignal/slack-desc
@@ -12,7 +12,7 @@ clksignal: CLK, also known as Clock Signal, is an emulator for tourists that
clksignal: seeks to be invisible. Users directly launch classic software with no
clksignal: emulator or per-emulated-machine learning curve.
clksignal:
-clksignal: It currently emulates the Acorn Electron, Amstrad CPC, Apple
+clksignal: It currently emulates the Acorn Electron, Amstrad CPC, Amiga, Apple
clksignal: II/II+/IIe, Atari 2600, Atari ST, ColecoVision, Commodore VIC-20,
clksignal: Enterprise 64/128, 512K Mac/Mac+, MSX-1, Oric/Atmos, Sega Master
clksignal: System, Sinclair ZX81/81, and Sinclair ZX Spectrum.