games/z26v2: Removed (use stella instead).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-12-23 15:13:46 -05:00 committed by Willy Sudiarto Raharjo
parent 40a565e71b
commit 5fc9c49c5c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
7 changed files with 0 additions and 171 deletions

View File

@ -1,24 +0,0 @@
z26v3 (an Atari 2600 emulator)
Z26 is one of the best emulators for the Atari 2600. The author reports
that the graphics part of the emulator is nearing perfection to a point
that there's little more to fix.
This is z26 version 3.x, which may have some issues running on Linux
(depending on your hardware & config), and the authors aren't interested
in fixing them. If you have problems you can't solve, try the older 2.13
release, by installing games/z26 (which won't conflict with this build;
you can have both installed).
Specific Linux issues in this version:
- The config file (z26.gui) is always read & written in the directory
where the ROM image is located. If the file doesn't exist and z26 can't
write to the directory, it refuses to start. This means no root-owned,
system-wide /usr/share/games/roms/2600 directory (even if users can
write there, they'll overwrite each others' config files).
- The video timing relies on OpenGL VSync. If your card/driver combo is
incapable of this, the games will run insanely fast. Even with VSync
support, the games run at whatever your monitor refresh rate is set to
(for LCD panels this is usually 60Hz, which is correct for NTSC games).

View File

@ -1,7 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

Binary file not shown.

View File

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
z26v3: z26v3 (an Atari 2600 emulator)
z26v3:
z26v3: Z26 is one of the best emulators for the Atari 2600.
z26v3: The author reports that the graphics part of the emulator is nearing
z26v3: perfection to a point that there's little more to fix.
z26v3:
z26v3:
z26v3:
z26v3:
z26v3:
z26v3:

View File

@ -1,101 +0,0 @@
#!/bin/bash
# Slackware build script for z26v3
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# Possibly TODO: write a man page. Upstream didn't bother to document
# the command line options (even went so far as to remove the man page
# and usage message that used to be in z26 2.x). The options have changed
# since 2.x, so it would be a tedious process of reading the source code.
# Not in the mood right now, maybe later.
# Also possibly TODO: a patch to keep the config files (z26.gui and
# z26.cli) in the user's home directory instead of whatever dir the
# ROM file happens to live in. Leaving it as-is has its uses: different
# sets of ROMs might require different options, so you could separate
# them into dirs and each dir gets its own config file. Maybe the patch
# should leave the config file locations alone, but allow the emulator
# to start in the absence of a config file. Still thinking on this one.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=z26v3
VERSION=${VERSION:-3.02.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip $CWD/z26v${VERSION}s.zip
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Fix segfault on exit, when a ROM filename is passed on the command
# line. Please don't gunzip the patch: it has CRLF line endings, git
# will "helpfully" remove them, and the patch will fail.
zcat $CWD/fixsegfault.diff.gz | patch -p1
cd src
make linux CFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/games
install -s -m0755 -oroot -groot z26 $PKG/usr/games/$PRGNAM
# .desktop file written by SlackBuild author.
mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat z26_icon.png > $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for i in doc/*; do
sed 's,\r,,' $i > $PKG/usr/doc/$PRGNAM-$VERSION/$( basename $i )
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
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

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Name=Z26 v3.x
Comment=Atari 2600 emulator
Exec=z26v3 %f
Icon=z26v3
Terminal=false
Type=Application
StartupNotify=false
Categories=Emulator;Game;
MimeType=application/x-2600rom;

View File

@ -1,10 +0,0 @@
PRGNAM="z26v3"
VERSION="3.02.01"
HOMEPAGE="https://www.whimsey.com/z26/z26.html"
DOWNLOAD="https://www.whimsey.com/z26/z26v3.02.01s.zip"
MD5SUM="5c28a898a6a6145c222a8f0b5c8ce8d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"