diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-11-04 20:59:41 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:49 +0700 |
commit | 28dc28638bceffb1efd5c221abd5873011db7ab7 (patch) | |
tree | 64cb9d20cf52bc887a927c7e77f1ca924d3ff587 /games | |
parent | 7b3360d3b68bf5116c0f078a9f2fbf0733c7cc96 (diff) |
games/libretro-reicast: Updated for version 2018.11.03_01ab59e.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/libretro-reicast/README | 28 | ||||
-rw-r--r-- | games/libretro-reicast/libretro-reicast.SlackBuild | 35 | ||||
-rw-r--r-- | games/libretro-reicast/libretro-reicast.info | 6 | ||||
-rw-r--r-- | games/libretro-reicast/slack-desc | 2 |
4 files changed, 36 insertions, 35 deletions
diff --git a/games/libretro-reicast/README b/games/libretro-reicast/README index 37f5f482a8552..e14114404121a 100644 --- a/games/libretro-reicast/README +++ b/games/libretro-reicast/README @@ -1,19 +1,27 @@ -Reicast is an Sega Dreamcast video game system emulator that can be used as a -libretro core. +Reicast is an Sega Dreamcast and Sega Naomi video game system emulator +that can be used as a libretro core. The Dreamcast BIOS files are required to run Reicast. * dc/dc_boot.bin * dc/dc_flash.bin -Due to a bug in Reicast emulated memory cards will not save by default, to work -around this the following will need to be done: - 1. Start a game with libretro-reicast. - 2. Open the core options, they can be found in the RetroArch quick menu. - 3. Enable 'Boot to BIOS (restart)', then close and restart the emulator. - 4. In the Dreamcast bios menu select 'File' and reformat the memory card. - 5. Open the core options again and disable 'Boot to BIOS (restart)'. - 6. Now close and restart Reicast to enjoy a working memory card. +The Sega Naomi BIOS file is required to run Naomi games. + +* dc/naomi_boot.bin + +To build Reicast OIT with the newer OpenGL 4.3 renderer use: + OIT=1 ./libretro-reicast.SlackBuild + +When building the OpgnGL 3 Reicast core it can be built with an older +and more compatbile OpenGL 2 code path instead by using: + GL2=1 ./libretro-reicast.SlackBuild + +Building Reicast with OpenGL 2 support should only be done if required +by your video card. + +Reicast OIT will require an OpenGL compatibility profile to work +correctly. To build the debugging symbols use: DEBUG=1 ./libretro-reicast.SlackBuild diff --git a/games/libretro-reicast/libretro-reicast.SlackBuild b/games/libretro-reicast/libretro-reicast.SlackBuild index 79eb0dac326d4..63fa183231ee7 100644 --- a/games/libretro-reicast/libretro-reicast.SlackBuild +++ b/games/libretro-reicast/libretro-reicast.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libretro-reicast -# Copyright 2016-2017 Hunter Sezen +# Copyright 2016-2018 Hunter Sezen # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libretro-reicast -LIBNAM=reicast_libretro -VERSION=${VERSION:-2017.10.24_74c4ddf} +LIBNAM=${PRGNAM#*-}_libretro +VERSION=${VERSION:-2018.11.03_01ab59e} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,21 +41,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 @@ -73,11 +60,17 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; [ "${DEBUG:=0}" != 0 ] && DEBUG=1 +[ "${GL2:=0}" != 0 ] && GL2=1 +[ "${OIT:=0}" != 0 ] && OIT=1 -make DEBUG=$DEBUG +make \ + DEBUG=$DEBUG \ + HAVE_GL2=$GL2 \ + HAVE_OIT=$OIT install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so -install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info +install -Dm0644 $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 \ @@ -85,7 +78,7 @@ if [ $DEBUG = 0 ]; then fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.md *.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a -- LICENSE README.md *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/libretro-reicast/libretro-reicast.info b/games/libretro-reicast/libretro-reicast.info index 2f9a11d6d3c16..8d999d0e8c18d 100644 --- a/games/libretro-reicast/libretro-reicast.info +++ b/games/libretro-reicast/libretro-reicast.info @@ -1,8 +1,8 @@ PRGNAM="libretro-reicast" -VERSION="2017.10.24_74c4ddf" +VERSION="2018.11.03_01ab59e" HOMEPAGE="https://www.libretro.com/" -DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/libretro-reicast/libretro-reicast-2017.10.24_74c4ddf.tar.xz" -MD5SUM="50da1f011d424aa16ab5a4e5faf52218" +DOWNLOAD="http://slackless.raccoons.tech/src/libretro/libretro-reicast-2018.11.03_01ab59e.tar.xz" +MD5SUM="a4266655fb448c9acbe65f84d8d4db08" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="RetroArch" diff --git a/games/libretro-reicast/slack-desc b/games/libretro-reicast/slack-desc index fc83fbc77a9a3..61e86291f9da5 100644 --- a/games/libretro-reicast/slack-desc +++ b/games/libretro-reicast/slack-desc @@ -8,7 +8,7 @@ |-----handy-ruler------------------------------------------------------| libretro-reicast: libretro-reicast (Port of reicast to libretro) libretro-reicast: -libretro-reicast: reicast is a multi-platform Sega Dreamcast emulator. +libretro-reicast: reicast is a multi-platform Sega Dreamcast and Sega Naomi emulator. libretro-reicast: libretro-reicast: Homepage: https://www.libretro.com/ libretro-reicast: |