summaryrefslogtreecommitdiff
path: root/games/picodrive
diff options
context:
space:
mode:
authorHunter Sezen <jisa0224@gmail.com>2019-01-25 20:35:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-25 20:35:17 +0700
commit1b635f07bcf9f81d36161c8a3415ddbbc1b79b0f (patch)
tree66fb81087a19500fa7a92b5604f62f008ac23b35 /games/picodrive
parent4d2defde014c1baf44ab61693bb897bab271f009 (diff)
downloadslackbuilds-1b635f07bcf9f81d36161c8a3415ddbbc1b79b0f.tar.gz
games/picodrive: Updated for version 1.93.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/picodrive')
-rw-r--r--games/picodrive/README2
-rw-r--r--games/picodrive/picodrive.SlackBuild36
-rw-r--r--games/picodrive/picodrive.info8
-rw-r--r--games/picodrive/picodrive_libretro-info24
4 files changed, 41 insertions, 29 deletions
diff --git a/games/picodrive/README b/games/picodrive/README
index 54574e1859..14c1724151 100644
--- a/games/picodrive/README
+++ b/games/picodrive/README
@@ -1,5 +1,5 @@
PicoDrive is a Sega 8/16 bit video game system emulator that can be
-used as a libretro core or with the stand alone sdl frontend.
+used as a libretro core or with the standalone sdl frontend.
This is yet another Megadrive / Genesis / Sega CD / Mega CD / 32X / SMS
emulator, which was written having ARM-based handheld devices in mind
diff --git a/games/picodrive/picodrive.SlackBuild b/games/picodrive/picodrive.SlackBuild
index 31fccf607b..f695da7c02 100644
--- a/games/picodrive/picodrive.SlackBuild
+++ b/games/picodrive/picodrive.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for picodrive
-# Copyright 2016-2018 Hunter Sezen California, USA
+# Copyright 2016-2019 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=picodrive
+SRCNAM=PicoDrive
LIBNAM=${PRGNAM}_libretro
-VERSION=${VERSION:-2018.04.05_6ee3a0f}
+VERSION=${VERSION:-1.93}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,30 +42,17 @@ 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
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/${SRCNAM}_$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -86,12 +74,14 @@ make -f Makefile.libretro \
install -Dm0644 $LIBNAM.so \
$PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
-install -Dm0644 $CWD/$LIBNAM.info \
+
+# https://raw.githubusercontent.com/libretro/libretro-super/92a64459d6e63eed7d79775f65242c5d47807e44/dist/info/picodrive_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 \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ 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
diff --git a/games/picodrive/picodrive.info b/games/picodrive/picodrive.info
index a365550c65..02696d332a 100644
--- a/games/picodrive/picodrive.info
+++ b/games/picodrive/picodrive.info
@@ -1,10 +1,8 @@
PRGNAM="picodrive"
-VERSION="2018.04.05_6ee3a0f"
+VERSION="1.93"
HOMEPAGE="https://github.com/notaz/picodrive"
-DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/picodrive/picodrive-2018.04.05_6ee3a0f.tar.xz \
- https://raw.githubusercontent.com/libretro/libretro-super/392247c/dist/info/picodrive_libretro.info"
-MD5SUM="f380b15a1c9621eb22f0b1bd88de3735 \
- a6a7d84ef72e14c5b81ae777bd55999c"
+DOWNLOAD="https://github.com/notaz/picodrive/releases/download/v1.93/PicoDrive_1.93.tar.gz"
+MD5SUM="c867f2003e3d4a580d5b0e0fe86d0b7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/picodrive/picodrive_libretro-info b/games/picodrive/picodrive_libretro-info
new file mode 100644
index 0000000000..507e6a3205
--- /dev/null
+++ b/games/picodrive/picodrive_libretro-info
@@ -0,0 +1,24 @@
+display_name = "Sega - MS/MD/CD/32X (PicoDrive)"
+authors = "notaz|fdave"
+supported_extensions = "bin|gen|smd|md|32x|cue|iso|sms|68k"
+corename = "PicoDrive"
+manufacturer = "Sega"
+categories = "Emulator"
+systemname = "Sega 8/16-bit + 32X (Various)"
+systemid = "mega_drive"
+database = "Sega - Master System - Mark III|Sega - Mega-CD - Sega CD|Sega - Mega Drive - Genesis|Sega - PICO|Sega - 32X"
+license = "MAME"
+permissions = "dynarec_optional"
+display_version = "1.91"
+supports_no_game = "false"
+firmware_count = 3
+firmware0_desc = "bios_CD_E.bin (MegaCD EU BIOS)"
+firmware0_path = "bios_CD_E.bin"
+firmware0_opt = "false"
+firmware1_desc = "bios_CD_U.bin (SegaCD US BIOS)"
+firmware1_path = "bios_CD_U.bin"
+firmware1_opt = "false"
+firmware2_desc = "bios_CD_J.bin (MegaCD JP BIOS)"
+firmware2_path = "bios_CD_J.bin"
+firmware2_opt = "false"
+notes = "(!) bios_CD_U.bin (md5): 2efd74e3232ff260e371b99f84024f7f|(!) bios_CD_E.bin (md5): e66fa1dc5820d254611fdcdba0662372|(!) bios_CD_J.bin (md5): 278a9397d192149e84e820ac621a8edd"