summaryrefslogtreecommitdiffstats
path: root/games/SameBoy
diff options
context:
space:
mode:
Diffstat (limited to 'games/SameBoy')
-rw-r--r--games/SameBoy/README20
-rw-r--r--games/SameBoy/SameBoy.SlackBuild125
-rw-r--r--games/SameBoy/SameBoy.info12
-rw-r--r--games/SameBoy/sameboy_libretro-info21
-rw-r--r--games/SameBoy/slack-desc19
5 files changed, 0 insertions, 197 deletions
diff --git a/games/SameBoy/README b/games/SameBoy/README
deleted file mode 100644
index a98091bcb4..0000000000
--- a/games/SameBoy/README
+++ /dev/null
@@ -1,20 +0,0 @@
-SameBoy is an open source Game Boy (DMG) and Game Boy Color (CGB) video
-game system emulator that can be used with its own SDL frontend or as a
-libretro core.
-
-RetroArch is an optional dependency required to run the libretro core.
-SDL2 is an optional dependency required to build the SDL frontend.
-
-At least one optional dependency is required to use SameBoy.
-
-To disable the SDL2 build use:
-
- STANDALONE=no ./SameBoy.SlackBuild
-
-To disable the libretro build use:
-
- LIBRETRO=no ./SameBoy.SlackBuild
-
-To build the debugging symbols use:
-
- DEBUG=yes ./SameBoy.SlackBuild
diff --git a/games/SameBoy/SameBoy.SlackBuild b/games/SameBoy/SameBoy.SlackBuild
deleted file mode 100644
index 530652bf78..0000000000
--- a/games/SameBoy/SameBoy.SlackBuild
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SameBoy
-
-# Copyright 2017-2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=SameBoy
-LIBNAM=$(printf %s $PRGNAM | tr 'A-Z' 'a-z')_libretro
-SRCNAM=${LIBNAM%%_*}
-VERSION=${VERSION:-0.12.3}
-RGBVERS=${RGBVERS:-0.3.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-LIBDIRSUFFIX=
-[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64
-
-set -eu
-
-if pkg-config --exists sdl2; then
- STANDALONE="${STANDALONE:-yes}"
-else
- STANDALONE=no
-fi
-
-if [ "${LIBRETRO:=yes}" != yes ] && [ "$STANDALONE" != yes ]; then
- printf %s\\n 'ERROR: Both the SDL2 and Libretro builds are disabled.' >&2
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-tar xvf $CWD/rgbds-$RGBVERS.tar.gz
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-if [ "${DEBUG:=0}" != 0 ]; then
- CONF=debug
- DEBUG=1
-else
- CONF=release
-fi
-
-PATH="$TMP/$PRGNAM-$VERSION/rgbds-$RGBVERS/bin:$PATH"
-
-make -C rgbds-$RGBVERS Q=
-make -C rgbds-$RGBVERS install Q= \
- PREFIX=. \
- DESTDIR=./
-
-if [ "$STANDALONE" = yes ]; then
- make CONF=$CONF DATA_DIR=/usr/share/games/$SRCNAM/
- mkdir -p $PKG/usr/games $PKG/usr/share/games
- cp -av build/bin/SDL $PKG/usr/share/games/$SRCNAM
- rm -f $PKG/usr/share/games/$SRCNAM/LICENSE
- mv $PKG/usr/share/games/$SRCNAM/$SRCNAM $PKG/usr/games
-else
- make bootroms
-fi
-
-if [ "$LIBRETRO" = yes ]; then
- make -C libretro DEBUG=$DEBUG GIT_VERSION="${VERSION#*_}"
-
- install -Dm0644 build/bin/$LIBNAM.so \
- $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
-
- # sameboy_libretro.info from:
- # https://raw.githubusercontent.com/libretro/libretro-super/88176482b14e22b744b129bee84f27cb196936a9/dist/info/sameboy_libretro.info
- install -Dm0644 $CWD/$LIBNAM-info \
- $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
-fi
-
-if [ $DEBUG = 0 ]; then
- find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.md LICENSE README.md $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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/SameBoy/SameBoy.info b/games/SameBoy/SameBoy.info
deleted file mode 100644
index 16297251c7..0000000000
--- a/games/SameBoy/SameBoy.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="SameBoy"
-VERSION="0.12.3"
-HOMEPAGE="https://sameboy.github.io/"
-DOWNLOAD="https://github.com/LIJI32/SameBoy/archive/v0.12.3/SameBoy-0.12.3.tar.gz \
- https://github.com/rednex/rgbds/releases/download/v0.3.9/rgbds-0.3.9.tar.gz"
-MD5SUM="b3fc66405a40b508fd8e13ec0db9b860 \
- 95c71b623f465268cfbe36bef130ce17"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
diff --git a/games/SameBoy/sameboy_libretro-info b/games/SameBoy/sameboy_libretro-info
deleted file mode 100644
index e68c38fea4..0000000000
--- a/games/SameBoy/sameboy_libretro-info
+++ /dev/null
@@ -1,21 +0,0 @@
-display_name = "Nintendo - Game Boy / Color (SameBoy)"
-authors = "LIJI32"
-supported_extensions = "gb|gbc"
-corename = "SameBoy"
-manufacturer = "Nintendo"
-categories = "Emulator"
-systemname = "Game Boy/Game Boy Color"
-systemid = "game_boy"
-database = "Nintendo - Game Boy|Nintendo - Game Boy Color"
-license = "MIT"
-permissions = ""
-display_version = "v0.9.0"
-supports_no_game = "false"
-firmware_count = 2
-firmware0_desc = "dmg_boot.bin (Game Boy boot ROM)"
-firmware0_path = "dmg_boot.bin"
-firmware0_opt = "true"
-firmware1_desc = "cgb_boot.bin (Game Boy Color boot ROM)"
-firmware1_path = "cgb_boot.bin"
-firmware1_opt = "true"
-notes = "(!) dmg_boot.bin (md5): 32fbbd84168d3482956eb3c5051637f5|(!) cgb_boot.bin (md5): dbfce9db9deaa2567f6a84fde55f9680"
diff --git a/games/SameBoy/slack-desc b/games/SameBoy/slack-desc
deleted file mode 100644
index 502cc6e13d..0000000000
--- a/games/SameBoy/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 ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-SameBoy: SameBoy (Gameboy and Gameboy Color emulator)
-SameBoy:
-SameBoy: SameBoy is an open source Gameboy (DMG) and Gameboy Color (CGB)
-SameBoy: emulator, written in portable C.
-SameBoy:
-SameBoy: Homepage: https://sameboy.github.io/
-SameBoy:
-SameBoy:
-SameBoy:
-SameBoy:
-SameBoy: