summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Hunter Sezen2018-08-12 19:42:58 +0200
committer Willy Sudiarto Raharjo2018-08-18 03:39:44 +0200
commit5e66be64d4afc0b21cfdb7bb0379c96e18af9f5a (patch)
tree01cf0c558880fe912c942d283591aba676c11c49 /games
parent6a2c2356442ba5c4df6c0e9a74d1e981fc8d14ba (diff)
downloadslackbuilds-5e66be64d4afc0b21cfdb7bb0379c96e18af9f5a.tar.gz
games/SameBoy: Updated for version 0.11.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/SameBoy/SameBoy.SlackBuild32
-rw-r--r--games/SameBoy/SameBoy.info10
-rw-r--r--games/SameBoy/sameboy_libretro-info20
3 files changed, 37 insertions, 25 deletions
diff --git a/games/SameBoy/SameBoy.SlackBuild b/games/SameBoy/SameBoy.SlackBuild
index 7570350299..35d46e0c84 100644
--- a/games/SameBoy/SameBoy.SlackBuild
+++ b/games/SameBoy/SameBoy.SlackBuild
@@ -25,8 +25,8 @@
PRGNAM=SameBoy
LIBNAM=$(printf %s $PRGNAM | tr 'A-Z' 'a-z')_libretro
SRCNAM=${LIBNAM%%_*}
-VERSION=${VERSION:-2018.04.12_51e3cb7}
-RGBVERS=${RGBVERS:-0.3.6}
+VERSION=${VERSION:-0.11.1}
+RGBVERS=${RGBVERS:-0.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,21 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# requires patching the Makefile to properly use
-# the default CFLAGS and CXXFLAGS are probably fine
-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
+LIBDIRSUFFIX=
+[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64
set -eu
@@ -65,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
tar xvf $CWD/rgbds-$RGBVERS.tar.gz
chown -R root:root .
@@ -119,8 +106,13 @@ fi
make -C libretro DEBUG=$DEBUG GIT_VERSION="${VERSION#*_}"
-install -Dm0644 build/bin/$LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
-install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
+install -Dm0644 build/bin/$LIBNAM.so \
+ $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
+
+# sameboy_libretro.info from:
+# https://raw.githubusercontent.com/libretro/libretro-super/908c0384b9642bb013c9d282a3cde1911fd29aa7/dist/info/sameboy_libretro.info
+install -Dm0644 $CWD/$LIBNAM-info \
+ $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
if [ $DEBUG = 0 ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/games/SameBoy/SameBoy.info b/games/SameBoy/SameBoy.info
index f9b8ee93b9..aaddc6d12a 100644
--- a/games/SameBoy/SameBoy.info
+++ b/games/SameBoy/SameBoy.info
@@ -1,10 +1,10 @@
PRGNAM="SameBoy"
-VERSION="2018.04.12_51e3cb7"
+VERSION="0.11.1"
HOMEPAGE="https://sameboy.github.io/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/SameBoy-2018.04.12_51e3cb7.tar.xz \
- https://github.com/rednex/rgbds/releases/download/v0.3.6/rgbds-0.3.6.tar.gz"
-MD5SUM="c3e91ac04b282351b1355fec1401f554 \
- 04ef8d9670a1a4c12a510047fcb2750d"
+DOWNLOAD="https://github.com/LIJI32/SameBoy/archive/v0.11.1/SameBoy-0.11.1.tar.gz \
+ https://github.com/rednex/rgbds/releases/download/v0.3.7/rgbds-0.3.7.tar.gz"
+MD5SUM="fa3273894656d5ca8812e6007cf23b2f \
+ 2e11f14dfcedc0b5db6f8b2781efb9c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/SameBoy/sameboy_libretro-info b/games/SameBoy/sameboy_libretro-info
new file mode 100644
index 0000000000..ec60c3c2a4
--- /dev/null
+++ b/games/SameBoy/sameboy_libretro-info
@@ -0,0 +1,20 @@
+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"
+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"