games/pcsx-rearmed: Updated for version 2017.01.29_731139f.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-02-04 23:46:05 +00:00 committed by Willy Sudiarto Raharjo
parent d16df59539
commit 48fc1b7c84
3 changed files with 16 additions and 9 deletions

View file

@ -20,3 +20,6 @@ In case it can find no BIOS files named like this inside the 'System
Directory', it will default to a High-Level Emulation BIOS. This decreases the
level of compatibility of the emulator, so it is recommended that you always
supply valid BIOS images inside the system directory.
To build the debugging symbols use:
DEBUG=1 ./pcsx-rearmed.SlackBuild

View file

@ -24,7 +24,7 @@
PRGNAM=pcsx-rearmed
LIBNAM=pcsx_rearmed_libretro
VERSION=${VERSION:-2016.07.30_2629ef2}
VERSION=${VERSION:-2017.01.29_731139f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -41,6 +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=""
@ -55,6 +57,8 @@ else
LIBDIRSUFFIX=""
fi
DEBUG=${DEBUG:-0}
set -e
rm -rf $PKG
@ -70,15 +74,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure
make -f Makefile.libretro
make -f Makefile.libretro DEBUG=$DEBUG
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
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 AUTHORS ChangeLog* NEWS README.md readme.txt $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="pcsx-rearmed"
VERSION="2016.07.30_2629ef2"
VERSION="2017.01.29_731139f"
HOMEPAGE="http://www.libretro.com/"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/pcsx-rearmed-2016.07.30_2629ef2.tar.xz"
MD5SUM="911df557efcedcb761d00bba86c27d05"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/pcsx-rearmed-2017.01.29_731139f.tar.xz"
MD5SUM="8e94fb6e6794d274dfe97d96f55259c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"