mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/snes9x_gtk: Removed.
The GTK+ port code was folded into snes9x.
This commit is contained in:
parent
5700be7791
commit
df3bd326d7
8 changed files with 0 additions and 221 deletions
|
@ -1,11 +0,0 @@
|
|||
Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES)
|
||||
emulator. It basically allows you to play most games designed for the SNES
|
||||
and Super Famicom Nintendo game systems on your PC or Workstation. The
|
||||
games include some real gems that were only ever released in Japan.
|
||||
|
||||
Snes9x_Gtk is an unofficial port of Snes9x with a GTK+ graphical frontend.
|
||||
|
||||
This SlackBuild works on both 32-bit and 64-bit Slackware systems.
|
||||
|
||||
Note: the README in the source tarball is apparently outdated: it claims
|
||||
gtkglext and portaudio are required dependencies, but they aren't.
|
|
@ -1,4 +0,0 @@
|
|||
This directory contains the documentation for the original snes9x (the
|
||||
non-GTK+ version). Not all of the information here applies to snes9x_gtk,
|
||||
but some of it may still be useful... and the various licenses still
|
||||
apply.
|
|
@ -1,10 +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 [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
snes9x_gtk: snes9x_gtk (Super Nintendo Entertainment System emulator)
|
||||
snes9x_gtk:
|
||||
snes9x_gtk: Snes9x is a portable, freeware Super Nintendo Entertainment System
|
||||
snes9x_gtk: (SNES) emulator. It basically allows you to play most games designed
|
||||
snes9x_gtk: for the SNES and Super Famicom Nintendo game systems on your PC or
|
||||
snes9x_gtk: Workstation. The games include some real gems that were only ever
|
||||
snes9x_gtk: released in Japan.
|
||||
snes9x_gtk:
|
||||
snes9x_gtk: Snes9x_Gtk is an unofficial port of Snes9x with a GTK+ graphical
|
||||
snes9x_gtk: frontend.
|
||||
snes9x_gtk:
|
|
@ -1,70 +0,0 @@
|
|||
.TH SNES9X-GTK 6 "22 OCT 2009" "SlackBuilds.org Project" "Slackware Linux"
|
||||
.SH NAME
|
||||
snes9x-gtk \- Super Nintendo Entertainment System emulator
|
||||
.SH SYNOPSIS
|
||||
.B snes9x\-gtk
|
||||
[\-filter \fItype\fR]
|
||||
[\-mutesound]
|
||||
[\fIrom\-file]
|
||||
.SH DESCRIPTION
|
||||
Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES)
|
||||
emulator. It basically allows you to play most games designed for the SNES
|
||||
and Super Famicom Nintendo game systems on your PC or Workstation; they
|
||||
include some real gems that were only ever released in Japan.
|
||||
.PP
|
||||
.B snes9x\-gtk
|
||||
is an unofficial port of Snes9x with a GTK+ graphical frontend.
|
||||
.PP
|
||||
With no ROM file argument, snes9x\-gtk will start its graphical user interface.
|
||||
When a ROM file is named on the command line, snes9x\-gtk will start
|
||||
emulation immediately.
|
||||
.PP
|
||||
Unlike the original snes9x, snes9x\-gtk doesn't extensively use command\-line
|
||||
options to affect its behaviour. Instead, use the GUI and/or keyboard
|
||||
shortcuts from within the emulator.
|
||||
.SS OPTIONS
|
||||
.TP
|
||||
\fB\-filter\fR \fItype\fR
|
||||
Use a filter to scale the video. Filter types are:
|
||||
.br
|
||||
.nh
|
||||
.I none
|
||||
.I supereagle
|
||||
.I 2xsai
|
||||
.I super2xsai
|
||||
.I hq2x
|
||||
.I hq3x
|
||||
.I hq4x
|
||||
.I epx
|
||||
.I ntsc
|
||||
.hy
|
||||
.PP
|
||||
The \-filter option does the same thing as the GUI's "Apply Scaling Filter"
|
||||
selection (under Preferences / Display).
|
||||
.TP
|
||||
.B \-mutesound
|
||||
Disable audio output. The sound CPU is still emulated. Note that this
|
||||
option will enable the "mute sound?" checkbox in the Preferences user
|
||||
interface, whose value will be saved across sessions (you must use the GUI to
|
||||
unmute the audio).
|
||||
.SH FILES
|
||||
.B ~/.snes9x/snes9x.xml
|
||||
.br
|
||||
Configuration file. Not intended to be edited directly; stores the settings
|
||||
made in the GUI. To return all settings to their defaults, remove this file.
|
||||
.PP
|
||||
.B ~/.snes9x/snapshots/*
|
||||
.br
|
||||
Saved states, named after ROM filenames.
|
||||
.PP
|
||||
.B ~/.snes9x/*.png
|
||||
.br
|
||||
Screenshots, named after ROM filenames.
|
||||
.SH AUTHOR
|
||||
snes9x\-gtk was ported by Brandon Wright <bearoso@gmail.com>.
|
||||
.PP
|
||||
Snes9x was written by Gary Henderson and Jerremy Koot. It also includes code
|
||||
from Ivar (Ivar@snes9x.com), zsKnight and _Demo_ and many others.
|
||||
.PP
|
||||
This manual page was written by B. Watson
|
||||
for the SlackBuilds.org project (but may be used by others).
|
|
@ -1,88 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for snes9x_gtk
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
PRGNAM=snes9x_gtk
|
||||
VERSION=${VERSION:-1.51r78}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# The VERSION is a bit of a mess...
|
||||
SNES9XVER=${SNES9XVER:-1.51}
|
||||
GTKVER=${GTKVER:-78}
|
||||
SRCNAM=snes9x
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$SNES9XVER-src
|
||||
tar xvf $CWD/$SRCNAM-$SNES9XVER-src-gtk-$GTKVER.tar.bz2
|
||||
cd $SRCNAM-$SNES9XVER-src
|
||||
chown -R root:root .
|
||||
chmod -R a-s,u+w,go+r-w .
|
||||
|
||||
cd gtk
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--bindir=/usr/games \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/man/man6
|
||||
gzip -9c $CWD/snes9x-gtk.6 > $PKG/usr/man/man6/snes9x-gtk.6.gz
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/${SRCNAM}_original_docs
|
||||
cp doc/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp ../doc/* $CWD/README_docs.txt \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION/${SRCNAM}_original_docs
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
# For some reason this license is provided in Classic Mac format (\r's
|
||||
# but no \n's). We want people to actually be able to read it, so:
|
||||
sed -i 's/\r/\n/g' \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION/${SRCNAM}_original_docs/${SRCNAM}-license.txt
|
||||
|
||||
# We don't need 2 copies of the LGPL v2.1 (we already have the GPL,
|
||||
# LGPL v3, and proprietary snes9x licenses...)
|
||||
cd $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm -f snes_ntsc_license.txt
|
||||
ln -s ${SRCNAM}_original_docs/LGPL-2.1 snes_ntsc_license.txt
|
||||
cd -
|
||||
|
||||
# Don't use the shipped .desktop file: it fails desktop-file-validate
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
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:-tgz}
|
|
@ -1,9 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Snes9x-GTK
|
||||
Comment=Super NES Emulator
|
||||
Type=Application
|
||||
Categories=Game;Emulator;
|
||||
MimeType=application/x-snes-rom;
|
||||
Exec=snes9x-gtk %F
|
||||
TryExec=snes9x-gtk
|
||||
Icon=snes9x
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="snes9x_gtk"
|
||||
VERSION="1.51r78"
|
||||
HOMEPAGE="http://code.google.com/p/snes9x-gtk/"
|
||||
DOWNLOAD="http://snes9x-gtk.googlecode.com/files/snes9x-1.51-src-gtk-78.tar.bz2"
|
||||
MD5SUM="900abc119e874b59f364fc9f5187c724"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
||||
APPROVED="rworkman"
|
Loading…
Reference in a new issue