diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-06-03 16:04:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:32 -0500 |
commit | 1d1973a81fbb7276b8556abb10fa531ec7587b97 (patch) | |
tree | c2fddac867892f5b0ce966a8ce56b38a552f8e9b /games/bsnes | |
parent | 7f4cf98d3ff326335b9bdf5a52f2a6a567c4f465 (diff) | |
download | slackbuilds-1d1973a81fbb7276b8556abb10fa531ec7587b97.tar.gz |
games/bsnes: Removed (use games/higan instead)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/bsnes')
-rw-r--r-- | games/bsnes/README | 22 | ||||
-rw-r--r-- | games/bsnes/bsnes-v091.patch | 88 | ||||
-rw-r--r-- | games/bsnes/bsnes.SlackBuild | 105 | ||||
-rw-r--r-- | games/bsnes/bsnes.info | 10 | ||||
-rw-r--r-- | games/bsnes/doinst.sh | 4 | ||||
-rw-r--r-- | games/bsnes/slack-desc | 19 |
6 files changed, 0 insertions, 248 deletions
diff --git a/games/bsnes/README b/games/bsnes/README deleted file mode 100644 index 898af891d9..0000000000 --- a/games/bsnes/README +++ /dev/null @@ -1,22 +0,0 @@ -bsnes is an emulator that began development on 2004-10-14. The -purpose of this emulator is a bit different from others: it -focuses on accuracy, debugging functionality, and clean code. - -The emulator does not focus on things that would hinder accuracy. -This includes speed and game-specific hacks for compatibility. As -a result, the minimum system requirements for bsnes are very high. - -Options: -1) Bsnes now has 2 interfaces to choose from. The default is GTK -and the other is QT. If you'd like to choose the QT interface, -then pass INTERFACE=qt to the slackbuild. - -2) There are 3 modes that bsnes can be built. The 3 modes can no -longer be chosen from within the game. There can only be one mode -chosen at build time. The 3 modes are compatibility (default), -accuracy, and performance. To choose accuracy modes -pass PROFILE=accuracy to the slackbuild. For performance -mode pass PROFILE=performance to the slackbuild. - -Once installed, you will need to copy /usr/share/bsnes/profile/* -into ~/.config/bsnes/ before running. diff --git a/games/bsnes/bsnes-v091.patch b/games/bsnes/bsnes-v091.patch deleted file mode 100644 index 654fede15f..0000000000 --- a/games/bsnes/bsnes-v091.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff -crB bsnes_v091-source/bsnes/target-ethos/Makefile bsnes_v091-source-hh/bsnes/target-ethos/Makefile -*** bsnes_v091-source/bsnes/target-ethos/Makefile 2012-08-09 19:32:19.000000000 -0400 ---- bsnes_v091-source-hh/bsnes/target-ethos/Makefile 2012-11-01 22:06:29.000000000 -0400 -*************** -*** 16,22 **** - # platform - ifeq ($(platform),x) - ruby := video.glx video.xv video.sdl -! ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao - ruby += input.sdl input.x - else ifeq ($(platform),osx) - ruby := ---- 16,22 ---- - # platform - ifeq ($(platform),x) - ruby := video.glx video.xv video.sdl -! ruby += audio.alsa audio.openal audio.oss audio.ao - ruby += input.sdl input.x - else ifeq ($(platform),osx) - ruby := -*************** -*** 76,93 **** - sourcery $(ui)/resource/resource.xml $(ui)/resource/resource.cpp $(ui)/resource/resource.hpp - - install: -! ifeq ($(USER),root) -! @echo Please do not run make install as root. -! @echo The installer needs to know your home directory to install important files. -! else ifeq ($(platform),x) -! sudo install -D -m 755 out/$(name) $(DESTDIR)$(prefix)/bin/$(name) -! sudo install -D -m 644 data/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png -! sudo install -D -m 644 data/$(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop -! -! mkdir -p ~/.config/$(name) -! cp -R profile/* ~/.config/$(name) -! cp data/cheats.xml ~/.config/$(name)/cheats.xml -! chmod -R 777 ~/.config/$(name) - endif - - uninstall: ---- 76,102 ---- - sourcery $(ui)/resource/resource.xml $(ui)/resource/resource.cpp $(ui)/resource/resource.hpp - - install: -! # edit: hackedhead 2012-11-01: process installation as root for slackware, drop profile into /usr/share -! # we'll add a note in the readme about where to get the config files -! #ifeq ($(USER),root) -! # @echo Please do not run make install as root. -! # @echo The installer needs to know your home directory to install important files. -! #else ifeq ($(platform),x) -! ifeq ($(platform),x) -! install -D -m 755 out/$(name) $(DESTDIR)$(prefix)/bin/$(name) -! install -D -m 644 data/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png -! install -D -m 644 data/$(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop -! -! # mkdir -p ~/.config/$(name) -! # cp -R profile/* ~/.config/$(name) -! # cp data/cheats.xml ~/.config/$(name)/cheats.xml -! # chmod -R 777 ~/.config/$(name) -! -! install -d -m 755 $(DESTDIR)$(prefix)/share/$(name)/profile -! cp -R profile/* $(DESTDIR)$(prefix)/share/$(name)/profile -! install -m 644 data/cheats.xml $(DESTDIR)$(prefix)/share/$(name)/profile/cheats.xml -! chmod -R 644 $(DESTDIR)$(prefix)/share/$(name)/profile/*/* -! - endif - - uninstall: -diff -crB bsnes_v091-source/purify/Makefile bsnes_v091-source-hh/purify/Makefile -*** bsnes_v091-source/purify/Makefile 2012-08-06 17:54:40.000000000 -0400 ---- bsnes_v091-source-hh/purify/Makefile 2012-11-01 21:56:33.000000000 -0400 -*************** -*** 4,10 **** - application := purify - resource := - flags := -std=gnu++0x -I. -O3 -fomit-frame-pointer -! link := -s - - ifeq ($(platform),win) - resource := resource.o ---- 4,10 ---- - application := purify - resource := - flags := -std=gnu++0x -I. -O3 -fomit-frame-pointer -! link := -s -lX11 - - ifeq ($(platform),win) - resource := resource.o diff --git a/games/bsnes/bsnes.SlackBuild b/games/bsnes/bsnes.SlackBuild deleted file mode 100644 index a512246570..0000000000 --- a/games/bsnes/bsnes.SlackBuild +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh - -# Slackware build script for bsnes - -# Written by Larry Hajali <larryhaja[at]gmail[dot]com> -# Maintained by Erik Hanson <erik@slackbuilds.org> - -PRGNAM=bsnes -VERSION=${VERSION:-091} -BUILD=${BUILD:-3} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf ${PRGNAM}_v${VERSION}-source -tar xvf $CWD/${PRGNAM}_v${VERSION}-source.tar.xz -cd ${PRGNAM}_v${VERSION}-source -find . -type d -exec chmod -R 0755 {} \; -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# apply the patch to allow proper install on slackware as root (from hackedhead) -patch -p1 -i $CWD/bsnes-v091.patch - -cd $PRGNAM -moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp - -# Choose whether a qt or gtk interface is built. -PHOENIX=${PHOENIX:-gtk} - -# Determine which mode to build bsnes. -# Possible values for PROFILE: accuracy, compatibility, and performance. -PROFILE=${PROFILE:-compatibility} - -CXXFLAGS="$SLKCFLAGS" \ -make \ - platform=x \ - compiler=gcc \ - prefix=/usr \ - phoenix="$PHOENIX" \ - profile="$PROFILE" - -make install profile=$PROFILE DESTDIR=$PKG prefix=/usr -cd .. - -# Compile purify. It helps clean up ROMS for use with bsnes. -cd purify -# Fix building with QT >= 4.8.0. -moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp - -make \ - compiler=gcc \ - platform=x \ - phoenix="$PHOENIX" - -mkdir -p $PKG/usr/bin -install -m 0755 purify $PKG/usr/bin/$PRGNAM-purify -cd .. - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -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:-tgz} diff --git a/games/bsnes/bsnes.info b/games/bsnes/bsnes.info deleted file mode 100644 index 702cfd579a..0000000000 --- a/games/bsnes/bsnes.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="bsnes" -VERSION="091" -HOMEPAGE="http://byuu.org/bsnes/" -DOWNLOAD="http://bsnes.googlecode.com/files/bsnes_v091-source.tar.xz" -MD5SUM="ba53212c56990e83d7770393c4e2d173" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="OpenAL" -MAINTAINER="Erik Hanson" -EMAIL="erik@slackbuilds.org" diff --git a/games/bsnes/doinst.sh b/games/bsnes/doinst.sh deleted file mode 100644 index 4e8ba7071d..0000000000 --- a/games/bsnes/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/games/bsnes/slack-desc b/games/bsnes/slack-desc deleted file mode 100644 index 93af4388c3..0000000000 --- a/games/bsnes/slack-desc +++ /dev/null @@ -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------------------------------------------------------| -bsnes: bsnes (SNES Emulator) -bsnes: -bsnes: bsnes is an emulator that began development on 2004-10-14. The purpose -bsnes: of this emulator is a bit different from others: it focuses on -bsnes: accuracy, debugging functionality, and clean code. The emulator does -bsnes: not focus on things that would hinder accuracy. This includes speed -bsnes: and game-specific hacks for compatibility. As a result, the minimum -bsnes: system requirements for bsnes are very high. -bsnes: -bsnes: Homepage: http://byuu.org/bsnes/ -bsnes: |