mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
games/pcsx-rearmed: Updated for version 2017.01.29_731139f.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
d16df59539
commit
48fc1b7c84
3 changed files with 16 additions and 9 deletions
|
@ -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
|
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
|
level of compatibility of the emulator, so it is recommended that you always
|
||||||
supply valid BIOS images inside the system directory.
|
supply valid BIOS images inside the system directory.
|
||||||
|
|
||||||
|
To build the debugging symbols use:
|
||||||
|
DEBUG=1 ./pcsx-rearmed.SlackBuild
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=pcsx-rearmed
|
PRGNAM=pcsx-rearmed
|
||||||
LIBNAM=pcsx_rearmed_libretro
|
LIBNAM=pcsx_rearmed_libretro
|
||||||
VERSION=${VERSION:-2016.07.30_2629ef2}
|
VERSION=${VERSION:-2017.01.29_731139f}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -41,6 +41,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
# requires patching the Makefile to properly use
|
||||||
|
# the default CFLAGS and CXXFLAGS are probably fine
|
||||||
if [ "$ARCH" = "i586" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
|
@ -55,6 +57,8 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
DEBUG=${DEBUG:-0}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -70,15 +74,15 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
make -f Makefile.libretro DEBUG=$DEBUG
|
||||||
./configure
|
|
||||||
make -f Makefile.libretro
|
|
||||||
|
|
||||||
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
|
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
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
if [ "$DEBUG" = "0" ]; then
|
||||||
| 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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS ChangeLog* NEWS README.md readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a AUTHORS ChangeLog* NEWS README.md readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="pcsx-rearmed"
|
PRGNAM="pcsx-rearmed"
|
||||||
VERSION="2016.07.30_2629ef2"
|
VERSION="2017.01.29_731139f"
|
||||||
HOMEPAGE="http://www.libretro.com/"
|
HOMEPAGE="http://www.libretro.com/"
|
||||||
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/pcsx-rearmed-2016.07.30_2629ef2.tar.xz"
|
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/pcsx-rearmed-2017.01.29_731139f.tar.xz"
|
||||||
MD5SUM="911df557efcedcb761d00bba86c27d05"
|
MD5SUM="8e94fb6e6794d274dfe97d96f55259c7"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="RetroArch"
|
REQUIRES="RetroArch"
|
||||||
|
|
Loading…
Reference in a new issue